Python Copie import mlflow.sklearn import numpy as np from sklearn.linear_model import LogisticRegression from mlflow.models.signature import infer_signature with mlflow.start_run() as run: lr = LogisticRegression() X = np.array([-2, -1, 0, 1, 2, 1]).reshape(-1, 1) y = np....
Python Copier import mlflow.sklearn import numpy as np from sklearn.linear_model import LogisticRegression from mlflow.models.signature import infer_signature with mlflow.start_run() as run: lr = LogisticRegression() X = np.array([-2, -1, 0, 1, 2, 1]).reshape(-1, 1) y = np....
Python Copier import mlflow.sklearn import numpy as np from sklearn.linear_model import LogisticRegression from mlflow.models.signature import infer_signature with mlflow.start_run() as run: lr = LogisticRegression() X = np.array([-2, -1, 0, 1, 2, 1]).reshape(-1, 1) y = np....