我通過工作基本熟悉磚automl的例子。當我運行分類,點擊一個mlflow錯誤。我怎麼能避免這個錯誤呢?
我的代碼:
摘要= databricks.automl。分類(train_df target_col = new_cases, data_dir = dbfs: / automl / india_covid_automl, timeout_minutes = 30)
由此產生的錯誤:
CellExecutionError:發生錯誤而執行以下單元:- - - - - - - - - - - - - - - - - -進口mlflow進口os mlflow.mlflow.set_tracking_uri(“磚”)操作係統。環境(“DATABRICKS_HOST”) = " https://oregon.cloud.m.eheci.com "操作係統。環境(“DATABRICKS_TOKEN”) = "[編輯]“% matplotlib內聯- - - - - - - - - - - - - - - - - - [0;31 m - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [0 m [0; 31 mattributeerror [0 m回溯(最近調用最後)[0;32 m [0 m[0; 36米(0;34米()[0 m [1; 32 m 2 [0 m [0; 32 mimport [0 m [0 mos [0 m [0; 34 m [0 m [0; 34 m [0 m [0 m [1; 32 m 3 [0 m [0; 34 m [0 m [0 m [0; 32 m - - - - - > 4 [0; 31 m [0 mmlflow [0 m[0; 34米。[0 m [0 mmlflow [0 m[0; 34米。[0 m [0 mset_tracking_uri [0 m[0; 34米([0 m[0; 34米“磚”[0 m[0; 34米)[0 m [0; 34 m [0 m [0; 34 m [0 m [0 m [0 m [1; 32 m 5 [0 m [0 mos [0 m[0; 34米。[0 m [0 menviron [0 m[0; 34米[[0 m[0; 34米“DATABRICKS_HOST”[0 m[0; 34米][0 m [34 m = 0; [0 m [0; 34 m“https://oregon.cloud.m.eheci.com”[0 m [0; 34 m [0 m [0; 34 m [0 m [0 m [1; 32 m 6 [0 m [0 mos [0 m[0; 34米。[0 m [0 menviron [0 m[0; 34米[[0 m[0; 34米“DATABRICKS_TOKEN”[0 m[0; 34米][0 m [34 m = 0; [0 m [0; 34 m”[編輯][0 m [0; 34 m [0 m [0; 34 m [0 m [0 m [0; 31 mattributeerror [0 m:模塊“mlflow”沒有屬性的mlflow AttributeError:模塊“mlflow”沒有屬性“mlflow”- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CellExecutionError回溯(最近調用最後)<命令- 3357122079230110 > <細胞係:2 > ()1 mlflow.set_tracking_uri(“磚”)- - - - - > 2總結= databricks.automl。分類(train_df target_col = new_cases, data_dir = dbfs: / automl / india_covid_automl, timeout_minutes = 30) / local_disk0 .ephemeral_nfs / env / pythonEnv-fad1e6db-7cab-40e9-b890-7eb4c6767ee5 / lib / python3.9 /網站/磚/ automl / __init__。py分類(數據集,target_col、data_dir timeout_minutes, max_trials) 28:返回:結構化對象信息總結試驗。29“30”- - - >返回分類器(context_type = ContextType.DATABRICKS)。fit(31個數據集,target_col、data_dir timeout_minutes = timeout_minutes max_trials = max_trials) / local_disk0 / .ephemeral_nfs / env / pythonEnv-fad1e6db-7cab-40e9-b890-7eb4c6767ee5 / lib / python3.9 /網站/磚/ automl /分類器。py適合(自我、數據集、target_col data_dir, max_trials,並行性,timeout_minutes,實驗)124 125試題:- - > 126年回歸自我。_fit_impl(數據集,target_col data_dir max_trials、並行性、超時、127實驗)128最後:
我有(不小心)手動安裝了早期版本的磚automl。一旦我升級解決的錯誤。
它是運行在一個筆記本上。我決定通過升級automl版本。看來是因為我有早期automl版本安裝(0.1.dev0)