Skip to content

Commit

Permalink
return correct population table name
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-meyer-1986 committed Nov 25, 2024
1 parent 4797edc commit c891cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlflow/getml/autologging.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _log_pretraining_metadata(autologging_client: MlflowAutologgingQueueingClien
if log_datasets:
try:
datasets = []
population_dataset: PandasDataset = mlflow.data.from_pandas(args[0].population.to_pandas(), name = args[0].population.name) #args[0].population.name returns the wrong name
population_dataset: PandasDataset = mlflow.data.from_pandas(args[0].population.to_pandas(), name = args[0].population.base.name)

Check failure on line 226 in mlflow/getml/autologging.py

View workflow job for this annotation

GitHub Actions / lint

Line too long (144 > 100). See https://docs.astral.sh/ruff/rules/E501 for how to fix this error.
tags = [InputTag(key=MLFLOW_DATASET_CONTEXT, value='Population')]
datasets.append(DatasetInput(dataset=population_dataset._to_mlflow_entity(), tags=tags))

Check failure on line 228 in mlflow/getml/autologging.py

View workflow job for this annotation

GitHub Actions / lint

Line too long (104 > 100). See https://docs.astral.sh/ruff/rules/E501 for how to fix this error.

Expand Down

0 comments on commit c891cc6

Please sign in to comment.