修改--修改模型管理方法的返回参数

This commit is contained in:
haotian 2025-02-19 17:42:14 +08:00
parent d867a3004d
commit 44b6b665b5
480 changed files with 1606 additions and 12 deletions

View File

@ -395,6 +395,32 @@ Response:
}
```
### 2.5 获取MLFlow中保存的实验
```http
GET /api/experiments
Response:
{
"status": "success",
"experiments": [
{
"experiment_id": "656341556838275234",
"name": "breast_cancer_classification_2",
"artifact_location": "mlruns/656341556838275234",
"lifecycle_stage": "active",
"creation_time": "2025-02-19T08:43:02",
"last_update_time": "2025-02-19T14:30:00",
"tags": {
"mlflow.note.content": "乳腺癌分类实验",
"mlflow.user": "admin"
},
"runs_count": 5
}
],
"total_count": 1,
"page": 1,
"page_size": 10
}
```
### 2.6 获取已经训练好的模型列表
```http

View File

@ -31,6 +31,9 @@ if result['status'] == 'success':
print(f"训练开始时间: {model['training_start_time']}")
print(f"训练结束时间: {model['training_end_time']}")
print("模型参数:")
for k, v in model['parameters'].items():
print(f" {k}: {v}")
print("评估指标:")
for metric_name, metric_value in model['metrics'].items():
print(f" {metric_name}: {metric_value:.4f}")

View File

@ -30,18 +30,19 @@ model_config = {
# 训练模型, 删除训练实验时要删除 mlruns/.trash/ 回收站里的文件
# 模型文件 直接在 mlruns/文件夹下
result = trainer.train_model(
{
'features': X_train,
'labels': y_train
},
{
'features': X_val,
'labels': y_val
},
model_config,
'breast_cancer_classification_2'
)
for i in range(8, 20):
result = trainer.train_model(
{
'features': X_train,
'labels': y_train
},
{
'features': X_val,
'labels': y_val
},
model_config,
f'breast_cancer_classification_{i}'
)
# 打印结果
print("\n训练结果:")

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 3145221114ff4b51abdaf0ae7c28dd36
run_id: 569fccd21c0e4c429752a87e0b6d725b
utc_time_created: '2025-02-19 09:08:51.667593'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: ddfeb220cad04f56bc973e63c1681050
run_id: 435ab004649d42ef8fa67b6f9b2a1263
utc_time_created: '2025-02-19 09:10:38.183644'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 34a25f14ca4a460a8c60c307dd39a7f6
run_id: 7283286bf5464a298c33888867e2d576
utc_time_created: '2025-02-19 09:10:27.607253'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 77d5512c01184da8b52766ed8dc916b3
run_id: bd3697dc238c4d1587e0f4f319d04448
utc_time_created: '2025-02-19 09:10:22.302072'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 778ac1ede03746c8a746af7a8ae3426a
run_id: 27ca4b5f64ab4809b82724be5e020e0e
utc_time_created: '2025-02-19 09:10:30.262090'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 4c07de21f54a4115ade4e4f9e18d900c
run_id: c56783cefbc94584885b3001dae9629e
utc_time_created: '2025-02-19 09:10:17.082104'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 6140bfbc853747dc9c2ba4ff689ef943
run_id: 334a8f38e6c34b7cb67c74c9ca87a93d
utc_time_created: '2025-02-19 09:10:11.226764'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: d7d38c744f724e748079a5c2213de58e
run_id: 5d0fcd8c75854d5a8119c0a308434db3
utc_time_created: '2025-02-19 09:10:14.532512'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 9623688d7e2849f7b9e885534acb08f8
run_id: 33939ea6d8ce4d43a268f23f7361651e
utc_time_created: '2025-02-19 09:07:33.554658'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 4d6b92a80d324a87bf7f0e5a3b4ea261
run_id: a2172f74c8e54ab0a1ba1db0e5eebb19
utc_time_created: '2025-02-19 09:09:21.309954'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: be412346f964446c8238892ef4696476
run_id: 200298eb4a894ee6854bd5a352507f28
utc_time_created: '2025-02-19 09:10:40.841683'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: b4783ef88e2c4730aee55417310352ce
run_id: 39345d9a2ac548a49bd1351298aa2459
utc_time_created: '2025-02-19 09:10:35.509692'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 3b52e5ecd6e54549b35549b6acbd49d7
run_id: be0e38b483c948b58623721a15092ad5
utc_time_created: '2025-02-19 09:10:32.896671'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 75f7b7ad71e844bcabe04b57992ebd5b
run_id: e8decd3a66854531b1e89793bfb4d899
utc_time_created: '2025-02-19 09:09:00.023774'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: 369b53824dbc4f458a5c56e34d68773b
run_id: 4a3473bc628549a7a161104cb07df275
utc_time_created: '2025-02-19 09:09:09.972218'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: db21c78e8e6f49dabc25e04239d131cc
run_id: 8118c69d9254458f92f8e4e713df1061
utc_time_created: '2025-02-19 09:10:19.655008'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,20 @@
artifact_path: model
flavors:
python_function:
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: mlflow.sklearn
model_path: model.pkl
predict_fn: predict
python_version: 3.9.19
sklearn:
code: null
pickled_model: model.pkl
serialization_format: cloudpickle
sklearn_version: 1.5.2
mlflow_version: 2.20.1
model_size_bytes: 96534
model_uuid: b3aebe3ce03f49fea287e25c5b00d420
run_id: 4ea822563a474d50a8b1123a3bf101a3
utc_time_created: '2025-02-19 09:10:24.938680'

View File

@ -0,0 +1,15 @@
channels:
- conda-forge
dependencies:
- python=3.9.19
- pip<=24.0
- pip:
- mlflow==2.20.1
- cloudpickle==3.1.0
- numpy==1.26.4
- pandas==2.2.2
- psutil==6.0.0
- scikit-learn==1.5.2
- scipy==1.13.1
- xgboost==2.1.4
name: mlflow-env

View File

@ -0,0 +1,7 @@
python: 3.9.19
build_dependencies:
- pip==24.0
- setuptools==60.2.0
- wheel==0.43.0
dependencies:
- -r requirements.txt

View File

@ -0,0 +1,8 @@
mlflow==2.20.1
cloudpickle==3.1.0
numpy==1.26.4
pandas==2.2.2
psutil==6.0.0
scikit-learn==1.5.2
scipy==1.13.1
xgboost==2.1.4

View File

@ -0,0 +1,15 @@
artifact_uri: mlflow-artifacts:/111298548125054288/569fccd21c0e4c429752a87e0b6d725b/artifacts
end_time: 1739956135031
entry_point_name: ''
experiment_id: '111298548125054288'
lifecycle_stage: active
run_id: 569fccd21c0e4c429752a87e0b6d725b
run_name: mysterious-mouse-428
run_uuid: 569fccd21c0e4c429752a87e0b6d725b
source_name: ''
source_type: 4
source_version: ''
start_time: 1739956131322
status: 3
tags: []
user_id: admin-root

View File

@ -0,0 +1 @@
1739956131646 0.961038961038961 0

View File

@ -0,0 +1 @@
1739956131657 0.9612318007520749 0

View File

@ -0,0 +1 @@
1739956131649 0.9617833147244911 0

View File

@ -0,0 +1 @@
1739956131653 0.961038961038961 0

View File

@ -0,0 +1 @@
1739956131661 0.9607692307692308 0

View File

@ -0,0 +1 @@
['计算效率高,支持并行计算。', '具有内置的缺失值处理能力。']

View File

@ -0,0 +1 @@
XGBClassifier

View File

@ -0,0 +1 @@
/home/admin-root/haotian/MLPlatform/dataset/dataset_processed/breast_cancer_20250219_144629

View File

@ -0,0 +1 @@
['参数较多,调优较复杂。']

Some files were not shown because too many files have changed in this diff Show More