annishjk01 commited on
Commit
2fb4316
·
0 Parent(s):

Fresh start - removed Git history

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +35 -0
  2. .github/workflows/deploy.yml +46 -0
  3. README.md +10 -0
  4. api/__pycache__/app.cpython-310.pyc +0 -0
  5. api/app.py +29 -0
  6. api/requirement.txt +3 -0
  7. mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/MLmodel +30 -0
  8. mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/conda.yaml +16 -0
  9. mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/input_example.json +1 -0
  10. mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/model.pkl +3 -0
  11. mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/python_env.yaml +7 -0
  12. mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/requirements.txt +9 -0
  13. mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/serving_input_example.json +10 -0
  14. mlruns/0/149d830f04264620bf6f2616798037ed/meta.yaml +15 -0
  15. mlruns/0/149d830f04264620bf6f2616798037ed/metrics/accuracy +1 -0
  16. mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.log-model.history +1 -0
  17. mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.runName +1 -0
  18. mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.source.git.commit +1 -0
  19. mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.source.name +1 -0
  20. mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.source.type +1 -0
  21. mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.user +1 -0
  22. mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/MLmodel +20 -0
  23. mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/conda.yaml +16 -0
  24. mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/model.pkl +3 -0
  25. mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/python_env.yaml +7 -0
  26. mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/requirements.txt +9 -0
  27. mlruns/0/24c681814a5546c9889f73990b06eea6/meta.yaml +15 -0
  28. mlruns/0/24c681814a5546c9889f73990b06eea6/metrics/accuracy +1 -0
  29. mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.log-model.history +1 -0
  30. mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.runName +1 -0
  31. mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.source.git.commit +1 -0
  32. mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.source.name +1 -0
  33. mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.source.type +1 -0
  34. mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.user +1 -0
  35. mlruns/0/5f9014db532e46d8807022080d626f26/meta.yaml +15 -0
  36. mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.runName +1 -0
  37. mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.source.git.commit +1 -0
  38. mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.source.name +1 -0
  39. mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.source.type +1 -0
  40. mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.user +1 -0
  41. mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/MLmodel +30 -0
  42. mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/conda.yaml +16 -0
  43. mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/input_example.json +1 -0
  44. mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/model.pkl +3 -0
  45. mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/python_env.yaml +7 -0
  46. mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/requirements.txt +9 -0
  47. mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/serving_input_example.json +10 -0
  48. mlruns/0/be9c34aa8e2246f0839998181f359b4d/meta.yaml +15 -0
  49. mlruns/0/be9c34aa8e2246f0839998181f359b4d/metrics/accuracy +1 -0
  50. mlruns/0/be9c34aa8e2246f0839998181f359b4d/tags/mlflow.log-model.history +1 -0
.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
.github/workflows/deploy.yml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: MLaaS CI/CD Pipeline
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main # Runs this workflow when changes are pushed to the main branch
7
+
8
+ jobs:
9
+ build-and-test:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout Repo
13
+ uses: actions/checkout@v3
14
+ with:
15
+ fetch-depth: 0
16
+
17
+ - name: Set Up Python
18
+ uses: actions/setup-python@v4
19
+ with:
20
+ python-version: "3.9"
21
+
22
+ - name: Install Dependencies
23
+ run: pip install -r api/requirement.txt
24
+
25
+ - name: Run Tests
26
+ run: pytest tests/ || echo "No tests found, skipping..."
27
+
28
+ deploy:
29
+ needs: build-and-test
30
+ runs-on: ubuntu-latest
31
+ steps:
32
+ - name: Checkout Repo
33
+ uses: actions/checkout@v3
34
+
35
+ - name: Configure Git for Hugging Face
36
+ run: |
37
+ git config --global user.email "[email protected]"
38
+ git config --global user.name "annishjk01"
39
+
40
+ - name: Deploy to Hugging Face Spaces
41
+ env:
42
+ HF_TOKEN: ${{ secrets.HF_TOKEN }} # Use secure Hugging Face token
43
+ run: |
44
+ git remote add huggingface https://user:[email protected]/spaces/annishjk01/firstSpace || true
45
+ git fetch huggingface main || true # Fetch latest changes from HF (ignore errors)
46
+ git push --force huggingface main
README.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: TestModel
3
+ emoji: 🏃
4
+ colorFrom: blue
5
+ colorTo: blue
6
+ sdk: docker
7
+ pinned: false
8
+ ---
9
+
10
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
api/__pycache__/app.cpython-310.pyc ADDED
Binary file (789 Bytes). View file
 
api/app.py ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # from fastapi import FastAPI
2
+ # import joblib
3
+ # import numpy as np
4
+
5
+ # app = FastAPI()
6
+ # model = joblib.load("model/model.pkl")
7
+
8
+ # @app.post("/predict/")
9
+ # def predict(features: list):
10
+ # prediction = model.predict([np.array(features)])
11
+ # return {"prediction": prediction.tolist()}
12
+
13
+ from fastapi import FastAPI
14
+ from pydantic import BaseModel
15
+ import joblib
16
+ import numpy as np
17
+
18
+ app = FastAPI()
19
+ model = joblib.load("model/model.pkl")
20
+ print("Classes:", model.classes_)
21
+
22
+ # ✅ Define Request Body Schema using Pydantic
23
+ class InputData(BaseModel):
24
+ features: list[float] # Ensures 'features' is a required list of floats
25
+
26
+ @app.post("/predict/")
27
+ def predict(data: InputData):
28
+ prediction = model.predict([np.array(data.features)])
29
+ return {"prediction": prediction.tolist()}
api/requirement.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ fastapi
2
+ uvicorn[standard]
3
+ pytest
mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/MLmodel ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ artifact_path: model
2
+ flavors:
3
+ python_function:
4
+ env:
5
+ conda: conda.yaml
6
+ virtualenv: python_env.yaml
7
+ loader_module: mlflow.sklearn
8
+ model_path: model.pkl
9
+ predict_fn: predict
10
+ python_version: 3.10.9
11
+ sklearn:
12
+ code: null
13
+ pickled_model: model.pkl
14
+ serialization_format: cloudpickle
15
+ sklearn_version: 1.5.2
16
+ is_signature_from_type_hint: false
17
+ mlflow_version: 2.20.3
18
+ model_size_bytes: 172210
19
+ model_uuid: 07c9da0b09de466fbf54ca9753f0b8d7
20
+ run_id: 149d830f04264620bf6f2616798037ed
21
+ saved_input_example_info:
22
+ artifact_path: input_example.json
23
+ serving_input_path: serving_input_example.json
24
+ type: ndarray
25
+ signature:
26
+ inputs: '[{"type": "tensor", "tensor-spec": {"dtype": "float64", "shape": [-1, 4]}}]'
27
+ outputs: '[{"type": "tensor", "tensor-spec": {"dtype": "int32", "shape": [-1]}}]'
28
+ params: null
29
+ type_hint_from_example: false
30
+ utc_time_created: '2025-03-07 17:45:36.126489'
mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/conda.yaml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ channels:
2
+ - conda-forge
3
+ dependencies:
4
+ - python=3.10.9
5
+ - pip<=22.3.1
6
+ - pip:
7
+ - mlflow==2.20.3
8
+ - cloudpickle==2.0.0
9
+ - lz4==3.1.3
10
+ - numpy==1.26.4
11
+ - pandas==1.5.3
12
+ - pathlib==1.0.1
13
+ - psutil==5.9.0
14
+ - scikit-learn==1.5.2
15
+ - scipy==1.14.1
16
+ name: mlflow-env
mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/input_example.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [[6.1, 2.8, 4.7, 1.2]]
mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c08b235d633c20ba78ea08c14fe1d94bc5f0b01cfd4233dcf8eb4caecbd80be
3
+ size 172103
mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/python_env.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ python: 3.10.9
2
+ build_dependencies:
3
+ - pip==22.3.1
4
+ - setuptools==65.6.3
5
+ - wheel==0.38.4
6
+ dependencies:
7
+ - -r requirements.txt
mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/requirements.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ mlflow==2.20.3
2
+ cloudpickle==2.0.0
3
+ lz4==3.1.3
4
+ numpy==1.26.4
5
+ pandas==1.5.3
6
+ pathlib==1.0.1
7
+ psutil==5.9.0
8
+ scikit-learn==1.5.2
9
+ scipy==1.14.1
mlruns/0/149d830f04264620bf6f2616798037ed/artifacts/model/serving_input_example.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "inputs": [
3
+ [
4
+ 6.1,
5
+ 2.8,
6
+ 4.7,
7
+ 1.2
8
+ ]
9
+ ]
10
+ }
mlruns/0/149d830f04264620bf6f2616798037ed/meta.yaml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ artifact_uri: file:///C:/Users/Annish/Documents/Mlaas/mlruns/0/149d830f04264620bf6f2616798037ed/artifacts
2
+ end_time: 1741369540135
3
+ entry_point_name: ''
4
+ experiment_id: '0'
5
+ lifecycle_stage: active
6
+ run_id: 149d830f04264620bf6f2616798037ed
7
+ run_name: mercurial-jay-523
8
+ run_uuid: 149d830f04264620bf6f2616798037ed
9
+ source_name: ''
10
+ source_type: 4
11
+ source_version: ''
12
+ start_time: 1741369536110
13
+ status: 3
14
+ tags: []
15
+ user_id: Annish
mlruns/0/149d830f04264620bf6f2616798037ed/metrics/accuracy ADDED
@@ -0,0 +1 @@
 
 
1
+ 1741369536126 1.0 0
mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.log-model.history ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"run_id": "149d830f04264620bf6f2616798037ed", "artifact_path": "model", "utc_time_created": "2025-03-07 17:45:36.126489", "model_uuid": "07c9da0b09de466fbf54ca9753f0b8d7", "flavors": {"python_function": {"model_path": "model.pkl", "predict_fn": "predict", "loader_module": "mlflow.sklearn", "python_version": "3.10.9", "env": {"conda": "conda.yaml", "virtualenv": "python_env.yaml"}}, "sklearn": {"pickled_model": "model.pkl", "sklearn_version": "1.5.2", "serialization_format": "cloudpickle", "code": null}}}]
mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.runName ADDED
@@ -0,0 +1 @@
 
 
1
+ mercurial-jay-523
mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.source.git.commit ADDED
@@ -0,0 +1 @@
 
 
1
+ f3cc11642dba9f5288b3fd0c447a031a5e80d786
mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.source.name ADDED
@@ -0,0 +1 @@
 
 
1
+ model/train.py
mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.source.type ADDED
@@ -0,0 +1 @@
 
 
1
+ LOCAL
mlruns/0/149d830f04264620bf6f2616798037ed/tags/mlflow.user ADDED
@@ -0,0 +1 @@
 
 
1
+ Annish
mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/MLmodel ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ artifact_path: model
2
+ flavors:
3
+ python_function:
4
+ env:
5
+ conda: conda.yaml
6
+ virtualenv: python_env.yaml
7
+ loader_module: mlflow.sklearn
8
+ model_path: model.pkl
9
+ predict_fn: predict
10
+ python_version: 3.10.9
11
+ sklearn:
12
+ code: null
13
+ pickled_model: model.pkl
14
+ serialization_format: cloudpickle
15
+ sklearn_version: 1.5.2
16
+ mlflow_version: 2.20.3
17
+ model_size_bytes: 175629
18
+ model_uuid: 6577a639374b4bae8dbc2d985c3154aa
19
+ run_id: 24c681814a5546c9889f73990b06eea6
20
+ utc_time_created: '2025-03-07 17:43:50.283416'
mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/conda.yaml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ channels:
2
+ - conda-forge
3
+ dependencies:
4
+ - python=3.10.9
5
+ - pip<=22.3.1
6
+ - pip:
7
+ - mlflow==2.20.3
8
+ - cloudpickle==2.0.0
9
+ - lz4==3.1.3
10
+ - numpy==1.26.4
11
+ - pandas==1.5.3
12
+ - pathlib==1.0.1
13
+ - psutil==5.9.0
14
+ - scikit-learn==1.5.2
15
+ - scipy==1.14.1
16
+ name: mlflow-env
mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:691bb44de4051daad447f180baa6e6e85b6db45c251c4139ccf6a641f56ac6d0
3
+ size 175629
mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/python_env.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ python: 3.10.9
2
+ build_dependencies:
3
+ - pip==22.3.1
4
+ - setuptools==65.6.3
5
+ - wheel==0.38.4
6
+ dependencies:
7
+ - -r requirements.txt
mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts/model/requirements.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ mlflow==2.20.3
2
+ cloudpickle==2.0.0
3
+ lz4==3.1.3
4
+ numpy==1.26.4
5
+ pandas==1.5.3
6
+ pathlib==1.0.1
7
+ psutil==5.9.0
8
+ scikit-learn==1.5.2
9
+ scipy==1.14.1
mlruns/0/24c681814a5546c9889f73990b06eea6/meta.yaml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ artifact_uri: file:///C:/Users/Annish/Documents/Mlaas/mlruns/0/24c681814a5546c9889f73990b06eea6/artifacts
2
+ end_time: 1741369434436
3
+ entry_point_name: ''
4
+ experiment_id: '0'
5
+ lifecycle_stage: active
6
+ run_id: 24c681814a5546c9889f73990b06eea6
7
+ run_name: agreeable-wolf-200
8
+ run_uuid: 24c681814a5546c9889f73990b06eea6
9
+ source_name: ''
10
+ source_type: 4
11
+ source_version: ''
12
+ start_time: 1741369430251
13
+ status: 3
14
+ tags: []
15
+ user_id: Annish
mlruns/0/24c681814a5546c9889f73990b06eea6/metrics/accuracy ADDED
@@ -0,0 +1 @@
 
 
1
+ 1741369430277 1.0 0
mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.log-model.history ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"run_id": "24c681814a5546c9889f73990b06eea6", "artifact_path": "model", "utc_time_created": "2025-03-07 17:43:50.283416", "model_uuid": "6577a639374b4bae8dbc2d985c3154aa", "flavors": {"python_function": {"model_path": "model.pkl", "predict_fn": "predict", "loader_module": "mlflow.sklearn", "python_version": "3.10.9", "env": {"conda": "conda.yaml", "virtualenv": "python_env.yaml"}}, "sklearn": {"pickled_model": "model.pkl", "sklearn_version": "1.5.2", "serialization_format": "cloudpickle", "code": null}}}]
mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.runName ADDED
@@ -0,0 +1 @@
 
 
1
+ agreeable-wolf-200
mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.source.git.commit ADDED
@@ -0,0 +1 @@
 
 
1
+ f3cc11642dba9f5288b3fd0c447a031a5e80d786
mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.source.name ADDED
@@ -0,0 +1 @@
 
 
1
+ model/train.py
mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.source.type ADDED
@@ -0,0 +1 @@
 
 
1
+ LOCAL
mlruns/0/24c681814a5546c9889f73990b06eea6/tags/mlflow.user ADDED
@@ -0,0 +1 @@
 
 
1
+ Annish
mlruns/0/5f9014db532e46d8807022080d626f26/meta.yaml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ artifact_uri: file:///C:/Users/Annish/Documents/Mlaas/mlruns/0/5f9014db532e46d8807022080d626f26/artifacts
2
+ end_time: 1741369300203
3
+ entry_point_name: ''
4
+ experiment_id: '0'
5
+ lifecycle_stage: active
6
+ run_id: 5f9014db532e46d8807022080d626f26
7
+ run_name: adventurous-rat-262
8
+ run_uuid: 5f9014db532e46d8807022080d626f26
9
+ source_name: ''
10
+ source_type: 4
11
+ source_version: ''
12
+ start_time: 1741369300198
13
+ status: 3
14
+ tags: []
15
+ user_id: Annish
mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.runName ADDED
@@ -0,0 +1 @@
 
 
1
+ adventurous-rat-262
mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.source.git.commit ADDED
@@ -0,0 +1 @@
 
 
1
+ f3cc11642dba9f5288b3fd0c447a031a5e80d786
mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.source.name ADDED
@@ -0,0 +1 @@
 
 
1
+ model/train.py
mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.source.type ADDED
@@ -0,0 +1 @@
 
 
1
+ LOCAL
mlruns/0/5f9014db532e46d8807022080d626f26/tags/mlflow.user ADDED
@@ -0,0 +1 @@
 
 
1
+ Annish
mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/MLmodel ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ artifact_path: model
2
+ flavors:
3
+ python_function:
4
+ env:
5
+ conda: conda.yaml
6
+ virtualenv: python_env.yaml
7
+ loader_module: mlflow.sklearn
8
+ model_path: model.pkl
9
+ predict_fn: predict
10
+ python_version: 3.10.9
11
+ sklearn:
12
+ code: null
13
+ pickled_model: model.pkl
14
+ serialization_format: cloudpickle
15
+ sklearn_version: 1.5.2
16
+ is_signature_from_type_hint: false
17
+ mlflow_version: 2.20.3
18
+ model_size_bytes: 172741
19
+ model_uuid: f03866081fda48f991bc9b2c9103fd77
20
+ run_id: be9c34aa8e2246f0839998181f359b4d
21
+ saved_input_example_info:
22
+ artifact_path: input_example.json
23
+ serving_input_path: serving_input_example.json
24
+ type: ndarray
25
+ signature:
26
+ inputs: '[{"type": "tensor", "tensor-spec": {"dtype": "float64", "shape": [-1, 4]}}]'
27
+ outputs: '[{"type": "tensor", "tensor-spec": {"dtype": "int32", "shape": [-1]}}]'
28
+ params: null
29
+ type_hint_from_example: false
30
+ utc_time_created: '2025-03-07 17:45:07.365170'
mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/conda.yaml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ channels:
2
+ - conda-forge
3
+ dependencies:
4
+ - python=3.10.9
5
+ - pip<=22.3.1
6
+ - pip:
7
+ - mlflow==2.20.3
8
+ - cloudpickle==2.0.0
9
+ - lz4==3.1.3
10
+ - numpy==1.26.4
11
+ - pandas==1.5.3
12
+ - pathlib==1.0.1
13
+ - psutil==5.9.0
14
+ - scikit-learn==1.5.2
15
+ - scipy==1.14.1
16
+ name: mlflow-env
mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/input_example.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [[6.1, 2.8, 4.7, 1.2]]
mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f35da069d5039ea2e169da5591b9351bd23fa7c0b0f1bbdb0b7f421c57c773be
3
+ size 172634
mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/python_env.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ python: 3.10.9
2
+ build_dependencies:
3
+ - pip==22.3.1
4
+ - setuptools==65.6.3
5
+ - wheel==0.38.4
6
+ dependencies:
7
+ - -r requirements.txt
mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/requirements.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ mlflow==2.20.3
2
+ cloudpickle==2.0.0
3
+ lz4==3.1.3
4
+ numpy==1.26.4
5
+ pandas==1.5.3
6
+ pathlib==1.0.1
7
+ psutil==5.9.0
8
+ scikit-learn==1.5.2
9
+ scipy==1.14.1
mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts/model/serving_input_example.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "inputs": [
3
+ [
4
+ 6.1,
5
+ 2.8,
6
+ 4.7,
7
+ 1.2
8
+ ]
9
+ ]
10
+ }
mlruns/0/be9c34aa8e2246f0839998181f359b4d/meta.yaml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ artifact_uri: file:///C:/Users/Annish/Documents/Mlaas/mlruns/0/be9c34aa8e2246f0839998181f359b4d/artifacts
2
+ end_time: 1741369511518
3
+ entry_point_name: ''
4
+ experiment_id: '0'
5
+ lifecycle_stage: active
6
+ run_id: be9c34aa8e2246f0839998181f359b4d
7
+ run_name: sneaky-skink-760
8
+ run_uuid: be9c34aa8e2246f0839998181f359b4d
9
+ source_name: ''
10
+ source_type: 4
11
+ source_version: ''
12
+ start_time: 1741369507349
13
+ status: 3
14
+ tags: []
15
+ user_id: Annish
mlruns/0/be9c34aa8e2246f0839998181f359b4d/metrics/accuracy ADDED
@@ -0,0 +1 @@
 
 
1
+ 1741369507365 1.0 0
mlruns/0/be9c34aa8e2246f0839998181f359b4d/tags/mlflow.log-model.history ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"run_id": "be9c34aa8e2246f0839998181f359b4d", "artifact_path": "model", "utc_time_created": "2025-03-07 17:45:07.365170", "model_uuid": "f03866081fda48f991bc9b2c9103fd77", "flavors": {"python_function": {"model_path": "model.pkl", "predict_fn": "predict", "loader_module": "mlflow.sklearn", "python_version": "3.10.9", "env": {"conda": "conda.yaml", "virtualenv": "python_env.yaml"}}, "sklearn": {"pickled_model": "model.pkl", "sklearn_version": "1.5.2", "serialization_format": "cloudpickle", "code": null}}}]