Automated machine learning (AutoML) is a fully-automated model development solution. AutoML technologies usually automate the ML process from data to model selection.
from databricks import automl
summary = automl.regress(train_pdf, target_col="price", timeout_minutes=10)
model_uri = summary.best_trial.model_path
# run inference using the best model
model = mlflow.pyfunc.load_model(model_uri)
predictions = model.predict(X_test)
test_pdf["MedHouseVal_predicted"] = predictions
# create udf
predict_udf = mlflow.pyfunc.spark_udf(spark, model_uri)
test_df.withColumn("price", predict_udf())