07-12-2022 11:08 AM
Hi! I was just wondering what are the parameters For MLflow Project file?
I'm following this tutorial to create my own MLflow Project: https://docs.databricks.com/applications/mlflow/projects.html
and within this tutorial, the MLproject file looks like this:
name: My Project
conda_env: my_env.yaml
entry_points:
main:
parameters:
data_file: path
regularization: {type: float, default: 0.1}
command: "python train.py -r {regularization} {data_file}"
validate:
parameters:
data_file: path
command: "python validate.py {data_file}"
How did they determine what the parameters are? What exactly are parameters? Are they the parameters from when you do log_param in Mlflow in the notebook?
Please help! Many thanks!
07-24-2022 02:04 PM
You can refer to MLflow doc for more details.
09-03-2022 10:28 PM
Hi there @Margie Kale
Does @Prabakar Ammeappin response answer your question? If yes, would you be happy to mark it as best so that other members can find the solution more quickly?
We'd love to hear from you.
Thanks!
09-04-2022 10:13 PM
I am also encountering this issue. Don't know why its happening.
09-19-2022 03:32 PM
These parameters are parameters that you will specify when you run the MLflow Project with the mlflow CLI. It lets you parameterize your code, and then pass different parameters to it. How you use them is up to your code. These are not model hyperparameters, of the type you might log with a model.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group