Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalakkotwani committed Jun 27, 2024
1 parent 3abbf78 commit 0cf33cc
Show file tree
Hide file tree
Showing 19 changed files with 195,538 additions and 193,382 deletions.
Binary file modified artifacts/model.pkl
Binary file not shown.
Binary file modified artifacts/preprocessor.pkl
Binary file not shown.
96,534 changes: 48,267 additions & 48,267 deletions artifacts/test.csv

Large diffs are not rendered by default.

289,854 changes: 144,927 additions & 144,927 deletions artifacts/train.csv

Large diffs are not rendered by default.

2,493 changes: 2,313 additions & 180 deletions experiment/experiments.ipynb

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions init_setup.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
echo [$(date)]: "START"
#echo [$(date)]: "START"


echo [$(date)]: "creating env with python 3.8 version"
#echo [$(date)]: "creating env with python 3.8 version"


conda create --prefix ./env python=3.8 -y


echo [$(date)]: "activating the environment"
#echo [$(date)]: "activating the environment"

source activate ./env

echo [$(date)]: "installing the dev requirements"
#echo [$(date)]: "installing the dev requirements"

pip install -r requirements_dev.txt

echo [$(date)]: "END"
#echo [$(date)]: "END"
15 changes: 15 additions & 0 deletions mlruns/0/dbce305edaf24714b6be41d4a63a07cf/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
artifact_uri: file:///config/workspace/mlruns/0/dbce305edaf24714b6be41d4a63a07cf/artifacts
end_time: 1719372982167
entry_point_name: ''
experiment_id: '0'
lifecycle_stage: active
run_id: dbce305edaf24714b6be41d4a63a07cf
run_name: suave-croc-325
run_uuid: dbce305edaf24714b6be41d4a63a07cf
source_name: ''
source_type: 4
source_version: ''
start_time: 1719372971672
status: 3
tags: []
user_id: jhala
1 change: 1 addition & 0 deletions mlruns/0/dbce305edaf24714b6be41d4a63a07cf/metrics/mae
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1719372971787 675.4148422059939 0
1 change: 1 addition & 0 deletions mlruns/0/dbce305edaf24714b6be41d4a63a07cf/metrics/r2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1719372971783 0.9378141234726479 0
1 change: 1 addition & 0 deletions mlruns/0/dbce305edaf24714b6be41d4a63a07cf/metrics/rmse
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1719372971780 1012.6821933164849 0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"run_id": "dbce305edaf24714b6be41d4a63a07cf", "artifact_path": "model", "utc_time_created": "2024-06-26 03:36:11.790713", "flavors": {"python_function": {"model_path": "model.pkl", "predict_fn": "predict", "loader_module": "mlflow.sklearn", "python_version": "3.11.5", "env": {"conda": "conda.yaml", "virtualenv": "python_env.yaml"}}, "sklearn": {"pickled_model": "model.pkl", "sklearn_version": "1.5.0", "serialization_format": "cloudpickle", "code": null}}, "model_uuid": "db261afaf0fd4ba3867341d03277bc31", "mlflow_version": "2.2.2"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
suave-croc-325
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3abbf78cce475cde022c1e63848473e834de6209
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src\pipeline\training_pipeline.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LOCAL
1 change: 1 addition & 0 deletions mlruns/0/dbce305edaf24714b6be41d4a63a07cf/tags/mlflow.user
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jhala
2 changes: 1 addition & 1 deletion src/components/data_ingestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self):
def initiate_data_ingestion(self):
logging.info("data ingestion started")
try:
data=pd.read_csv("https://raw.githubusercontent.com/sunnysavita10/fsdsmendtoend/main/notebooks/data/gemstone.csv")
data=pd.read_csv("https://raw.githubusercontent.com/sunnysavita10/Gemstone-Price-Prediction-End-to-End-Pipeline/main/artifacts/raw.csv")
logging.info(" reading a df")

os.makedirs(os.path.dirname(os.path.join(self.ingestion_config.raw_data_path)),exist_ok=True)
Expand Down
1 change: 0 additions & 1 deletion src/components/data_transformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from dataclasses import dataclass
from pathlib import Path


from sklearn.compose import ColumnTransformer
from sklearn.impute import SimpleImputer
from sklearn.pipeline import Pipeline
Expand Down
2 changes: 1 addition & 1 deletion src/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def save_object(file_path, obj):
try:
dir_path = os.path.dirname(file_path)

os.makedirs(dir_path, exist_ok=True)
os.makedirs(dir_path, exist_ok=True)

with open(file_path, "wb") as file_obj:
pickle.dump(obj, file_obj)
Expand Down

0 comments on commit 0cf33cc

Please sign in to comment.