MuhammadSaad1234 commited on
Commit
edfec38
·
verified ·
1 Parent(s): 5bd4deb

Auto-deploy: accuracy=1.0

Browse files
Files changed (6) hide show
  1. MLmodel +21 -0
  2. README.md +22 -0
  3. conda.yaml +14 -0
  4. model.pkl +3 -0
  5. python_env.yaml +7 -0
  6. requirements.txt +7 -0
MLmodel ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ flavors:
2
+ python_function:
3
+ env:
4
+ conda: conda.yaml
5
+ virtualenv: python_env.yaml
6
+ loader_module: mlflow.sklearn
7
+ model_path: model.pkl
8
+ predict_fn: predict
9
+ python_version: 3.11.15
10
+ sklearn:
11
+ code: null
12
+ pickled_model: model.pkl
13
+ serialization_format: cloudpickle
14
+ sklearn_version: 1.8.0
15
+ skops_trusted_types: null
16
+ mlflow_version: 3.10.1
17
+ model_id: null
18
+ model_size_bytes: 196605
19
+ model_uuid: 9d0f3566feef4e00881fd23dab663a91
20
+ prompts: null
21
+ utc_time_created: '2026-04-06 15:01:48.813192'
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sklearn
4
+ - classification
5
+ - wine
6
+ ---
7
+ # Wine Classifier
8
+
9
+ Trained with MLflow + scikit-learn as part of MLOps Assignment 2.
10
+
11
+ | Metric | Value |
12
+ |--------|-------|
13
+ | Accuracy | 1.0 |
14
+ | Dataset | Wine (sklearn) |
15
+ | Classes | 3 (class_0, class_1, class_2) |
16
+
17
+ ## Usage
18
+ ```python
19
+ import mlflow.sklearn
20
+ model = mlflow.sklearn.load_model(".")
21
+ predictions = model.predict(X)
22
+ ```
conda.yaml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ channels:
2
+ - conda-forge
3
+ dependencies:
4
+ - python=3.11.15
5
+ - pip<=26.0.1
6
+ - pip:
7
+ - mlflow==3.10.1
8
+ - cloudpickle==3.1.2
9
+ - numpy==2.4.4
10
+ - pandas==2.3.3
11
+ - pyarrow==23.0.1
12
+ - scikit-learn==1.8.0
13
+ - scipy==1.17.1
14
+ name: mlflow-env
model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb838e27a369a0d58a0b9daf0385b0d6881f590cc154e0ff1f6846342e7e0088
3
+ size 196605
python_env.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ python: 3.11.15
2
+ build_dependencies:
3
+ - pip==26.0.1
4
+ - setuptools==79.0.1
5
+ - wheel
6
+ dependencies:
7
+ - -r requirements.txt
requirements.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ mlflow==3.10.1
2
+ cloudpickle==3.1.2
3
+ numpy==2.4.4
4
+ pandas==2.3.3
5
+ pyarrow==23.0.1
6
+ scikit-learn==1.8.0
7
+ scipy==1.17.1