Forum Discussion
LogisticRegression pipeline does not go through
- 3 months ago
Hi thiamhuat2026,
Thank you for reaching out to the Microsoft community Forum.
The issue is not caused by the LogisticRegression pipeline itself. Based on the error message , the failure occurs because the notebook environment automatically tries to create an MLflow experiment during "pipeline.fit(train_df)", but the generated experiment name does not satisfy MLflow experiment naming rules. Because of this, the pipeline execution fails before the model training starts.
To resolve the issue, manually set a valid MLflow experiment name before training the pipeline:import mlflow mlflow.set_experiment("logistic_regression_experiment")Then run your existing pipeline code again.
For More Details :
Machine learning experiment - Microsoft Fabric | Microsoft Learn.
I hope this helps. Please feel free to reach out for further queries.
Thank you.
Hi thiamhuat2026,
Thank you for reaching out to the Microsoft community Forum.
The issue is not caused by the LogisticRegression pipeline itself. Based on the error message , the failure occurs because the notebook environment automatically tries to create an MLflow experiment during "pipeline.fit(train_df)", but the generated experiment name does not satisfy MLflow experiment naming rules. Because of this, the pipeline execution fails before the model training starts.
To resolve the issue, manually set a valid MLflow experiment name before training the pipeline:
import mlflow
mlflow.set_experiment("logistic_regression_experiment")
Then run your existing pipeline code again.
For More Details :
Machine learning experiment - Microsoft Fabric | Microsoft Learn.
I hope this helps. Please feel free to reach out for further queries.
Thank you.