We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7861026 commit 392a38bCopy full SHA for 392a38b
1 file changed
bats_ai/core/management/commands/examplelog.py
@@ -0,0 +1,13 @@
1
+from django.conf import settings
2
+import djclick as click
3
+from mlflow import MlflowClient
4
+from sklearn.datasets import load_diabetes
5
+from sklearn.ensemble import RandomForestRegressor
6
+from sklearn.model_selection import train_test_split
7
+
8
9
+@click.command()
10
+def command():
11
+ click.echo("Running Mlflow experiment")
12
13
+ client = MlflowClient(tracking_uri=settings.MLFLOW_ENDPOINT)
0 commit comments