Spaces:
Configuration error
Configuration error
Commit
•
7b39dbf
1
Parent(s):
ab8cdf3
Upload 144 files
Browse filesAdding required files
This view is limited to 50 files because it contains too many changes.
See raw diff
- .github/workflows/.gitkeep +0 -0
- .github/workflows/main.yaml +98 -0
- .gitignore +164 -0
- Dockerfile +5 -11
- LICENSE +21 -0
- Notes.txt +30 -0
- README.md +2 -3
- app.py +49 -133
- config/config.yaml +42 -0
- logs/running_logs.log +1281 -0
- main.py +63 -0
- mlruns/0/37c830c8fb26436b9a3a4468b51580ab/meta.yaml +15 -0
- mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.runName +1 -0
- mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.source.git.commit +1 -0
- mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.source.name +1 -0
- mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.source.type +1 -0
- mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.user +1 -0
- mlruns/0/780535f3b02c4ac4b3a041b6084116df/meta.yaml +15 -0
- mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.runName +1 -0
- mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.source.git.commit +1 -0
- mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.source.name +1 -0
- mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.source.type +1 -0
- mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.user +1 -0
- mlruns/0/7be3446b294a4572925fb108301f070a/meta.yaml +15 -0
- mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.runName +1 -0
- mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.source.git.commit +1 -0
- mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.source.name +1 -0
- mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.source.type +1 -0
- mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.user +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/MLmodel +19 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/conda.yaml +13 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/model.pkl +3 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/python_env.yaml +7 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/requirements.txt +6 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/meta.yaml +15 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/metrics/accuracy +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/metrics/precision +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/metrics/recall +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/params/learning_rate +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/params/max_depth +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.log-model.history +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.runName +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.source.git.commit +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.source.name +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.source.type +1 -0
- mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.user +1 -0
- mlruns/0/a6eb0854a3324076b49f132bb166b06c/artifacts/mymodel/MLmodel +19 -0
- mlruns/0/a6eb0854a3324076b49f132bb166b06c/artifacts/mymodel/conda.yaml +13 -0
- mlruns/0/a6eb0854a3324076b49f132bb166b06c/artifacts/mymodel/model.pkl +3 -0
- mlruns/0/a6eb0854a3324076b49f132bb166b06c/artifacts/mymodel/python_env.yaml +7 -0
.github/workflows/.gitkeep
ADDED
File without changes
|
.github/workflows/main.yaml
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: workflow
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
- main
|
7 |
+
paths-ignore:
|
8 |
+
- 'README.md'
|
9 |
+
|
10 |
+
permissions:
|
11 |
+
id-token: write
|
12 |
+
contents: read
|
13 |
+
|
14 |
+
jobs:
|
15 |
+
integration:
|
16 |
+
name: Continuous Integration
|
17 |
+
runs-on: ubuntu-latest
|
18 |
+
steps:
|
19 |
+
- name: Checkout Code
|
20 |
+
uses: actions/checkout@v3
|
21 |
+
|
22 |
+
- name: Lint code
|
23 |
+
run: echo "Linting repository"
|
24 |
+
|
25 |
+
- name: Run unit tests
|
26 |
+
run: echo "Running unit tests"
|
27 |
+
|
28 |
+
build-and-push-ecr-image:
|
29 |
+
name: Continuous Delivery
|
30 |
+
needs: integration
|
31 |
+
runs-on: ubuntu-latest
|
32 |
+
steps:
|
33 |
+
- name: Checkout Code
|
34 |
+
uses: actions/checkout@v3
|
35 |
+
|
36 |
+
- name: Install Utilities
|
37 |
+
run: |
|
38 |
+
sudo apt-get update
|
39 |
+
sudo apt-get install -y jq unzip
|
40 |
+
- name: Configure AWS credentials
|
41 |
+
uses: aws-actions/configure-aws-credentials@v1
|
42 |
+
with:
|
43 |
+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
44 |
+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
45 |
+
aws-region: ${{ secrets.AWS_REGION }}
|
46 |
+
|
47 |
+
- name: Login to Amazon ECR
|
48 |
+
id: login-ecr
|
49 |
+
uses: aws-actions/amazon-ecr-login@v1
|
50 |
+
|
51 |
+
- name: Build, tag, and push image to Amazon ECR
|
52 |
+
id: build-image
|
53 |
+
env:
|
54 |
+
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
|
55 |
+
ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY_NAME }}
|
56 |
+
IMAGE_TAG: latest
|
57 |
+
run: |
|
58 |
+
# Build a docker container and
|
59 |
+
# push it to ECR so that it can
|
60 |
+
# be deployed to ECS.
|
61 |
+
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
|
62 |
+
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
63 |
+
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
|
64 |
+
|
65 |
+
|
66 |
+
Continuous-Deployment:
|
67 |
+
needs: build-and-push-ecr-image
|
68 |
+
runs-on: self-hosted
|
69 |
+
steps:
|
70 |
+
- name: Checkout
|
71 |
+
uses: actions/checkout@v3
|
72 |
+
|
73 |
+
- name: Configure AWS credentials
|
74 |
+
uses: aws-actions/configure-aws-credentials@v1
|
75 |
+
with:
|
76 |
+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
77 |
+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
78 |
+
aws-region: ${{ secrets.AWS_REGION }}
|
79 |
+
|
80 |
+
- name: Login to Amazon ECR
|
81 |
+
id: login-ecr
|
82 |
+
uses: aws-actions/amazon-ecr-login@v1
|
83 |
+
|
84 |
+
|
85 |
+
- name: Pull latest images
|
86 |
+
run: |
|
87 |
+
docker pull ${{secrets.AWS_ECR_LOGIN_URI}}/${{ secrets.ECR_REPOSITORY_NAME }}:latest
|
88 |
+
|
89 |
+
# - name: Stop and remove container if running
|
90 |
+
# run: |
|
91 |
+
# docker ps -q --filter "name=mlproj" | grep -q . && docker stop mlproj && docker rm -fv mlproj
|
92 |
+
|
93 |
+
- name: Run Docker Image to serve users
|
94 |
+
run: |
|
95 |
+
docker run -d -p 8080:8080 --name=mlproj -e 'AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }}' -e 'AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }}' -e 'AWS_REGION=${{ secrets.AWS_REGION }}' ${{secrets.AWS_ECR_LOGIN_URI}}/${{ secrets.ECR_REPOSITORY_NAME }}:latest
|
96 |
+
- name: Clean previous images and containers
|
97 |
+
run: |
|
98 |
+
docker system prune -f
|
.gitignore
ADDED
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Byte-compiled / optimized / DLL files
|
2 |
+
__pycache__/
|
3 |
+
*.py[cod]
|
4 |
+
*$py.class
|
5 |
+
|
6 |
+
# C extensions
|
7 |
+
*.so
|
8 |
+
|
9 |
+
# Distribution / packaging
|
10 |
+
.Python
|
11 |
+
build/
|
12 |
+
develop-eggs/
|
13 |
+
dist/
|
14 |
+
downloads/
|
15 |
+
eggs/
|
16 |
+
.eggs/
|
17 |
+
lib/
|
18 |
+
lib64/
|
19 |
+
parts/
|
20 |
+
sdist/
|
21 |
+
var/
|
22 |
+
wheels/
|
23 |
+
share/python-wheels/
|
24 |
+
*.egg-info/
|
25 |
+
.installed.cfg
|
26 |
+
*.egg
|
27 |
+
MANIFEST
|
28 |
+
|
29 |
+
# PyInstaller
|
30 |
+
# Usually these files are written by a python script from a template
|
31 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
32 |
+
*.manifest
|
33 |
+
*.spec
|
34 |
+
|
35 |
+
# Installer logs
|
36 |
+
pip-log.txt
|
37 |
+
pip-delete-this-directory.txt
|
38 |
+
|
39 |
+
# Unit test / coverage reports
|
40 |
+
htmlcov/
|
41 |
+
.tox/
|
42 |
+
.nox/
|
43 |
+
.coverage
|
44 |
+
.coverage.*
|
45 |
+
.cache
|
46 |
+
nosetests.xml
|
47 |
+
coverage.xml
|
48 |
+
*.cover
|
49 |
+
*.py,cover
|
50 |
+
.hypothesis/
|
51 |
+
.pytest_cache/
|
52 |
+
cover/
|
53 |
+
|
54 |
+
# Translations
|
55 |
+
*.mo
|
56 |
+
*.pot
|
57 |
+
|
58 |
+
# Django stuff:
|
59 |
+
*.log
|
60 |
+
local_settings.py
|
61 |
+
db.sqlite3
|
62 |
+
db.sqlite3-journal
|
63 |
+
|
64 |
+
# Flask stuff:
|
65 |
+
instance/
|
66 |
+
.webassets-cache
|
67 |
+
|
68 |
+
# Scrapy stuff:
|
69 |
+
.scrapy
|
70 |
+
|
71 |
+
# Sphinx documentation
|
72 |
+
docs/_build/
|
73 |
+
|
74 |
+
# PyBuilder
|
75 |
+
.pybuilder/
|
76 |
+
target/
|
77 |
+
|
78 |
+
# Jupyter Notebook
|
79 |
+
.ipynb_checkpoints
|
80 |
+
|
81 |
+
# IPython
|
82 |
+
profile_default/
|
83 |
+
ipython_config.py
|
84 |
+
|
85 |
+
# pyenv
|
86 |
+
# For a library or package, you might want to ignore these files since the code is
|
87 |
+
# intended to run in multiple environments; otherwise, check them in:
|
88 |
+
# .python-version
|
89 |
+
|
90 |
+
# pipenv
|
91 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
92 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
93 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
94 |
+
# install all needed dependencies.
|
95 |
+
#Pipfile.lock
|
96 |
+
|
97 |
+
# poetry
|
98 |
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
99 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
100 |
+
# commonly ignored for libraries.
|
101 |
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
102 |
+
#poetry.lock
|
103 |
+
|
104 |
+
# pdm
|
105 |
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
106 |
+
#pdm.lock
|
107 |
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
108 |
+
# in version control.
|
109 |
+
# https://pdm.fming.dev/#use-with-ide
|
110 |
+
.pdm.toml
|
111 |
+
|
112 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
113 |
+
__pypackages__/
|
114 |
+
|
115 |
+
# Celery stuff
|
116 |
+
celerybeat-schedule
|
117 |
+
celerybeat.pid
|
118 |
+
|
119 |
+
# SageMath parsed files
|
120 |
+
*.sage.py
|
121 |
+
|
122 |
+
# Environments
|
123 |
+
.env
|
124 |
+
.venv
|
125 |
+
env/
|
126 |
+
venv/
|
127 |
+
ENV/
|
128 |
+
env.bak/
|
129 |
+
venv.bak/
|
130 |
+
|
131 |
+
# Spyder project settings
|
132 |
+
.spyderproject
|
133 |
+
.spyproject
|
134 |
+
|
135 |
+
# Rope project settings
|
136 |
+
.ropeproject
|
137 |
+
|
138 |
+
# mkdocs documentation
|
139 |
+
/site
|
140 |
+
|
141 |
+
# mypy
|
142 |
+
.mypy_cache/
|
143 |
+
.dmypy.json
|
144 |
+
dmypy.json
|
145 |
+
|
146 |
+
# Pyre type checker
|
147 |
+
.pyre/
|
148 |
+
|
149 |
+
# pytype static type analyzer
|
150 |
+
.pytype/
|
151 |
+
|
152 |
+
# Cython debug symbols
|
153 |
+
cython_debug/
|
154 |
+
|
155 |
+
artifacts/*
|
156 |
+
|
157 |
+
testing/
|
158 |
+
|
159 |
+
# PyCharm
|
160 |
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
161 |
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
162 |
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
163 |
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
164 |
+
#.idea/
|
Dockerfile
CHANGED
@@ -1,16 +1,10 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
-
WORKDIR /
|
4 |
|
5 |
-
COPY ./requirements.txt
|
6 |
-
RUN
|
7 |
-
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
CMD ["panel", "serve", "/
|
12 |
-
|
13 |
-
RUN mkdir /.cache
|
14 |
-
RUN chmod 777 /.cache
|
15 |
-
RUN mkdir .chroma
|
16 |
-
RUN chmod 777 .chroma
|
|
|
1 |
+
FROM python:3.8-slim-buster
|
2 |
|
3 |
+
WORKDIR /app
|
4 |
|
5 |
+
COPY ./requirements.txt /app/requirements.txt
|
6 |
+
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
|
|
7 |
|
8 |
COPY . .
|
9 |
|
10 |
+
CMD ["panel", "serve", "/app/app.py", "--address", "0.0.0.0", "--port" , "7860", "--allow-websocket-origin", "avimittal30-BankChurn.hf.space"]
|
|
|
|
|
|
|
|
|
|
LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2024 avimittal30
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
Notes.txt
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Entity file is used to create custom return types
|
2 |
+
|
3 |
+
from mlProject.utils.common import read_yaml, create_directories
|
4 |
+
read_yaml is written in such a way that key value pairs can be accessed using a '.'
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
d={'a':'value1', 'b':'value2'}
|
9 |
+
|
10 |
+
d['a']
|
11 |
+
|
12 |
+
d.a
|
13 |
+
|
14 |
+
# helps us access value using '.' instead of d['a']
|
15 |
+
from box import ConfigBox
|
16 |
+
d=ConfigBox({'a':'value1', 'b':'value2'})
|
17 |
+
d.a
|
18 |
+
|
19 |
+
from ensure import ensure_annotations
|
20 |
+
|
21 |
+
@ensure_annotations
|
22 |
+
def get_product(x:int, y:int)->int:
|
23 |
+
return x*y
|
24 |
+
# Without ensure_annotations, this will not through any error and will give wierd output
|
25 |
+
get_product(2,"3")
|
26 |
+
|
27 |
+
|
28 |
+
from mlProject.utils.common import read_yaml
|
29 |
+
from mlProject.constants import *
|
30 |
+
read_yaml(CONFIG_FILE_PATH)
|
README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
-
---
|
2 |
title: Panel Template
|
3 |
emoji: 📈
|
4 |
colorFrom: gray
|
5 |
colorTo: green
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
-
---
|
9 |
|
10 |
-
|
|
|
|
|
|
1 |
title: Panel Template
|
2 |
emoji: 📈
|
3 |
colorFrom: gray
|
4 |
colorTo: green
|
5 |
sdk: docker
|
6 |
pinned: false
|
|
|
7 |
|
8 |
+
|
9 |
+
|
app.py
CHANGED
@@ -1,147 +1,63 @@
|
|
1 |
-
import
|
2 |
-
import random
|
3 |
-
from typing import List, Tuple
|
4 |
|
5 |
-
import
|
6 |
-
import panel as pn
|
7 |
-
from PIL import Image
|
8 |
-
from transformers import CLIPModel, CLIPProcessor
|
9 |
|
10 |
-
|
|
|
|
|
11 |
|
12 |
-
|
13 |
-
"brand-github": "https://github.com/holoviz/panel",
|
14 |
-
"brand-twitter": "https://twitter.com/Panel_Org",
|
15 |
-
"brand-linkedin": "https://www.linkedin.com/company/panel-org",
|
16 |
-
"message-circle": "https://discourse.holoviz.org/",
|
17 |
-
"brand-discord": "https://discord.gg/AXRHnJU6sP",
|
18 |
-
}
|
19 |
|
|
|
|
|
|
|
20 |
|
21 |
-
async def random_url(_):
|
22 |
-
pet = random.choice(["cat", "dog"])
|
23 |
-
api_url = f"https://api.the{pet}api.com/v1/images/search"
|
24 |
-
async with aiohttp.ClientSession() as session:
|
25 |
-
async with session.get(api_url) as resp:
|
26 |
-
return (await resp.json())[0]["url"]
|
27 |
|
|
|
|
|
|
|
|
|
28 |
|
29 |
-
@pn.cache
|
30 |
-
def load_processor_model(
|
31 |
-
processor_name: str, model_name: str
|
32 |
-
) -> Tuple[CLIPProcessor, CLIPModel]:
|
33 |
-
processor = CLIPProcessor.from_pretrained(processor_name)
|
34 |
-
model = CLIPModel.from_pretrained(model_name)
|
35 |
-
return processor, model
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
async with session.get(image_url) as resp:
|
41 |
-
return Image.open(io.BytesIO(await resp.read()))
|
42 |
-
|
43 |
-
|
44 |
-
def get_similarity_scores(class_items: List[str], image: Image) -> List[float]:
|
45 |
-
processor, model = load_processor_model(
|
46 |
-
"openai/clip-vit-base-patch32", "openai/clip-vit-base-patch32"
|
47 |
-
)
|
48 |
-
inputs = processor(
|
49 |
-
text=class_items,
|
50 |
-
images=[image],
|
51 |
-
return_tensors="pt", # pytorch tensors
|
52 |
-
)
|
53 |
-
outputs = model(**inputs)
|
54 |
-
logits_per_image = outputs.logits_per_image
|
55 |
-
class_likelihoods = logits_per_image.softmax(dim=1).detach().numpy()
|
56 |
-
return class_likelihoods[0]
|
57 |
-
|
58 |
-
|
59 |
-
async def process_inputs(class_names: List[str], image_url: str):
|
60 |
-
"""
|
61 |
-
High level function that takes in the user inputs and returns the
|
62 |
-
classification results as panel objects.
|
63 |
-
"""
|
64 |
-
try:
|
65 |
-
main.disabled = True
|
66 |
-
if not image_url:
|
67 |
-
yield "##### ⚠️ Provide an image URL"
|
68 |
-
return
|
69 |
-
|
70 |
-
yield "##### ⚙ Fetching image and running model..."
|
71 |
try:
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
yield results
|
97 |
-
finally:
|
98 |
-
main.disabled = False
|
99 |
-
|
100 |
-
|
101 |
-
# create widgets
|
102 |
-
randomize_url = pn.widgets.Button(name="Randomize URL", align="end")
|
103 |
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
)
|
108 |
-
class_names = pn.widgets.TextInput(
|
109 |
-
name="Comma separated class names",
|
110 |
-
placeholder="Enter possible class names, e.g. cat, dog",
|
111 |
-
value="cat, dog, parrot",
|
112 |
-
)
|
113 |
-
|
114 |
-
input_widgets = pn.Column(
|
115 |
-
"##### 😊 Click randomize or paste a URL to start classifying!",
|
116 |
-
pn.Row(image_url, randomize_url),
|
117 |
-
class_names,
|
118 |
-
)
|
119 |
|
120 |
-
|
121 |
-
|
122 |
-
pn.bind(process_inputs, image_url=image_url, class_names=class_names),
|
123 |
-
height=600,
|
124 |
-
)
|
125 |
|
126 |
-
# add footer
|
127 |
-
footer_row = pn.Row(pn.Spacer(), align="center")
|
128 |
-
for icon, url in ICON_URLS.items():
|
129 |
-
href_button = pn.widgets.Button(icon=icon, width=35, height=35)
|
130 |
-
href_button.js_on_click(code=f"window.open('{url}')")
|
131 |
-
footer_row.append(href_button)
|
132 |
-
footer_row.append(pn.Spacer())
|
133 |
|
134 |
-
#
|
135 |
-
main = pn.WidgetBox(
|
136 |
-
input_widgets,
|
137 |
-
interactive_result,
|
138 |
-
footer_row,
|
139 |
-
)
|
140 |
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
main=main,
|
145 |
-
main_max_width="min(50%, 698px)",
|
146 |
-
header_background="#F08080",
|
147 |
-
).servable(title=title)
|
|
|
1 |
+
from flask import Flask, render_template, request
|
|
|
|
|
2 |
|
3 |
+
import os
|
|
|
|
|
|
|
4 |
|
5 |
+
import numpy as np
|
6 |
+
import pandas as pd
|
7 |
+
from mlProject.pipeline.stage06_prediction import PredictionPipeline
|
8 |
|
9 |
+
app=Flask(__name__)
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
+
@app.route('/',methods=['GET'])
|
12 |
+
def homepage():
|
13 |
+
return render_template("index.html")
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
+
@app.route('/train',methods=['GET'])
|
17 |
+
def training():
|
18 |
+
os.system("python main.py")
|
19 |
+
return "Training Successful"
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
+
@app.route('/predict',methods=['POST','GET']) # route to show the predictions in a web UI
|
23 |
+
def index():
|
24 |
+
if request.method == 'POST':
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
try:
|
26 |
+
# reading the inputs given by the user
|
27 |
+
CustomerId =int(request.form['CustomerId'])
|
28 |
+
CreditScore =int(request.form['CreditScore'])
|
29 |
+
Gender =int(request.form['Gender'])
|
30 |
+
Age =int(request.form['Age'])
|
31 |
+
Tenure =int(request.form['Tenure'])
|
32 |
+
Balance =float(request.form['Balance'])
|
33 |
+
NumOfProducts =int(request.form['NumOfProducts'])
|
34 |
+
HasCrCard =int(request.form['HasCrCard'])
|
35 |
+
IsActiveMember=int(request.form['IsActiveMember'])
|
36 |
+
EstimatedSalary =float(request.form['EstimatedSalary'])
|
37 |
+
Geography_Germany =int(request.form['Geography_Germany'])
|
38 |
+
Geography_Spain =int(request.form['Geography_Spain'])
|
39 |
+
|
40 |
+
|
41 |
+
data = [CustomerId,CreditScore,Gender,Age,Tenure,Balance,NumOfProducts,HasCrCard,IsActiveMember,EstimatedSalary,Geography_Germany,Geography_Spain]
|
42 |
+
data = np.array(data).reshape(1, 12)
|
43 |
+
|
44 |
+
obj = PredictionPipeline()
|
45 |
+
predict = obj.predict(data)
|
46 |
+
|
47 |
+
result = "Likely to Churn" if predict == 1 else "Unlikely to Churn"
|
48 |
+
|
49 |
+
return result
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
+
except Exception as e:
|
52 |
+
print('The Exception message is: ',e)
|
53 |
+
return 'something is wrong'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
+
else:
|
56 |
+
return render_template('index.html')
|
|
|
|
|
|
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
+
# Another trial
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
+
if __name__=="__main__":
|
62 |
+
# app.run(host="0.0.0.0", port=8080, debug=True)
|
63 |
+
app.run(host="0.0.0.0", port=8080)
|
|
|
|
|
|
|
|
config/config.yaml
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
artifacts_root: artifacts
|
2 |
+
|
3 |
+
|
4 |
+
data_ingestion:
|
5 |
+
root_dir: artifacts/data_ingestion
|
6 |
+
source_URL: https://github.com/avimittal30/datasets/raw/main/bankchurn.zip
|
7 |
+
local_data_file: artifacts/data_ingestion/data.zip
|
8 |
+
unzip_dir: artifacts/data_ingestion
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
data_validation:
|
13 |
+
root_dir: artifacts/data_validation
|
14 |
+
unzip_data_dir: artifacts/data_ingestion/bankchurn.csv
|
15 |
+
STATUS_FILE: artifacts/data_validation/status.txt
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
+
data_transformation:
|
20 |
+
root_dir: artifacts/data_transformation
|
21 |
+
data_path: artifacts/data_ingestion/bankchurn.csv
|
22 |
+
|
23 |
+
|
24 |
+
model_trainer:
|
25 |
+
root_dir: artifacts/model_trainer
|
26 |
+
train_data_path: artifacts/data_transformation/train.csv
|
27 |
+
test_data_path: artifacts/data_transformation/test.csv
|
28 |
+
model_name: model.joblib
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
model_evaluation:
|
33 |
+
root_dir: artifacts/model_evaluation
|
34 |
+
test_data_path: artifacts/data_transformation/test.csv
|
35 |
+
model_path: artifacts/model_trainer/model.joblib
|
36 |
+
metric_file_name: artifacts/model_evaluation/metrics.json
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
logs/running_logs.log
ADDED
@@ -0,0 +1,1281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2024-03-06 23:33:52,488:INFO:main: welcome to our customer login]
|
2 |
+
[2024-03-09 21:43:22,701:INFO:common: yaml file: config\config.yaml loaded successfully]
|
3 |
+
[2024-03-09 22:18:47,428:INFO:common: yaml file: config\config.yaml loaded successfully]
|
4 |
+
[2024-03-09 22:18:47,430:INFO:common: yaml file: params.yaml loaded successfully]
|
5 |
+
[2024-03-09 22:22:34,682:INFO:common: yaml file: config\config.yaml loaded successfully]
|
6 |
+
[2024-03-09 22:22:34,684:INFO:common: yaml file: params.yaml loaded successfully]
|
7 |
+
[2024-03-09 22:23:30,010:INFO:common: yaml file: config\config.yaml loaded successfully]
|
8 |
+
[2024-03-09 22:23:30,013:INFO:common: created directory at: artifacts]
|
9 |
+
[2024-03-09 22:23:30,015:INFO:common: created directory at: artifacts/data_ingestion]
|
10 |
+
[2024-03-09 22:23:31,519:INFO:911900430: artifacts/data_ingestion/data.zip download! with following info
|
11 |
+
Connection: close
|
12 |
+
Content-Length: 234325
|
13 |
+
Cache-Control: max-age=300
|
14 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
15 |
+
Content-Type: application/zip
|
16 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
17 |
+
Strict-Transport-Security: max-age=31536000
|
18 |
+
X-Content-Type-Options: nosniff
|
19 |
+
X-Frame-Options: deny
|
20 |
+
X-XSS-Protection: 1; mode=block
|
21 |
+
X-GitHub-Request-Id: A45E:3E5A:860AC2:A0192B:65EC9409
|
22 |
+
Accept-Ranges: bytes
|
23 |
+
Date: Sat, 09 Mar 2024 16:53:31 GMT
|
24 |
+
Via: 1.1 varnish
|
25 |
+
X-Served-By: cache-fjr990032-FJR
|
26 |
+
X-Cache: MISS
|
27 |
+
X-Cache-Hits: 0
|
28 |
+
X-Timer: S1710003211.024593,VS0,VE389
|
29 |
+
Vary: Authorization,Accept-Encoding,Origin
|
30 |
+
Access-Control-Allow-Origin: *
|
31 |
+
Cross-Origin-Resource-Policy: cross-origin
|
32 |
+
X-Fastly-Request-ID: 15f35a00139e942f41d2ad9fc7909352a202d339
|
33 |
+
Expires: Sat, 09 Mar 2024 16:58:31 GMT
|
34 |
+
Source-Age: 0
|
35 |
+
|
36 |
+
]
|
37 |
+
[2024-03-09 23:13:03,179:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
38 |
+
[2024-03-09 23:13:03,181:INFO:common: yaml file: config\config.yaml loaded successfully]
|
39 |
+
[2024-03-09 23:13:03,182:INFO:common: created directory at: artifacts]
|
40 |
+
[2024-03-09 23:13:03,182:INFO:common: created directory at: artifacts/data_ingestion]
|
41 |
+
[2024-03-09 23:13:03,183:INFO:main: >>> Stage Data Ingestion Stage completed <<<<<<]
|
42 |
+
[2024-03-09 23:13:57,057:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
43 |
+
[2024-03-09 23:13:57,060:INFO:common: yaml file: config\config.yaml loaded successfully]
|
44 |
+
[2024-03-09 23:13:57,061:INFO:common: created directory at: artifacts]
|
45 |
+
[2024-03-09 23:13:57,061:INFO:common: created directory at: artifacts/data_ingestion]
|
46 |
+
[2024-03-09 23:13:58,447:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
47 |
+
Connection: close
|
48 |
+
Content-Length: 234325
|
49 |
+
Cache-Control: max-age=300
|
50 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
51 |
+
Content-Type: application/zip
|
52 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
53 |
+
Strict-Transport-Security: max-age=31536000
|
54 |
+
X-Content-Type-Options: nosniff
|
55 |
+
X-Frame-Options: deny
|
56 |
+
X-XSS-Protection: 1; mode=block
|
57 |
+
X-GitHub-Request-Id: 9A46:9512:6FEBA6:85CD96:65EC9FDD
|
58 |
+
Accept-Ranges: bytes
|
59 |
+
Date: Sat, 09 Mar 2024 17:43:58 GMT
|
60 |
+
Via: 1.1 varnish
|
61 |
+
X-Served-By: cache-fjr990031-FJR
|
62 |
+
X-Cache: MISS
|
63 |
+
X-Cache-Hits: 0
|
64 |
+
X-Timer: S1710006238.980032,VS0,VE366
|
65 |
+
Vary: Authorization,Accept-Encoding,Origin
|
66 |
+
Access-Control-Allow-Origin: *
|
67 |
+
Cross-Origin-Resource-Policy: cross-origin
|
68 |
+
X-Fastly-Request-ID: a3e1cca9429ca0b00515aea58f10d88091dae3e7
|
69 |
+
Expires: Sat, 09 Mar 2024 17:48:58 GMT
|
70 |
+
Source-Age: 0
|
71 |
+
|
72 |
+
]
|
73 |
+
[2024-03-09 23:13:58,465:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
74 |
+
[2024-03-10 11:59:31,874:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
75 |
+
[2024-03-10 11:59:31,882:INFO:common: yaml file: config\config.yaml loaded successfully]
|
76 |
+
[2024-03-10 11:59:31,885:INFO:common: created directory at: artifacts]
|
77 |
+
[2024-03-10 11:59:31,885:INFO:common: created directory at: artifacts/data_ingestion]
|
78 |
+
[2024-03-10 11:59:34,183:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
79 |
+
Connection: close
|
80 |
+
Content-Length: 234325
|
81 |
+
Cache-Control: max-age=300
|
82 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
83 |
+
Content-Type: application/zip
|
84 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
85 |
+
Strict-Transport-Security: max-age=31536000
|
86 |
+
X-Content-Type-Options: nosniff
|
87 |
+
X-Frame-Options: deny
|
88 |
+
X-XSS-Protection: 1; mode=block
|
89 |
+
X-GitHub-Request-Id: 1D6C:2D51:5BBB15:6ED439:65ED534C
|
90 |
+
Accept-Ranges: bytes
|
91 |
+
Date: Sun, 10 Mar 2024 06:29:33 GMT
|
92 |
+
Via: 1.1 varnish
|
93 |
+
X-Served-By: cache-fjr990030-FJR
|
94 |
+
X-Cache: MISS
|
95 |
+
X-Cache-Hits: 0
|
96 |
+
X-Timer: S1710052173.942381,VS0,VE1045
|
97 |
+
Vary: Authorization,Accept-Encoding,Origin
|
98 |
+
Access-Control-Allow-Origin: *
|
99 |
+
Cross-Origin-Resource-Policy: cross-origin
|
100 |
+
X-Fastly-Request-ID: 4155d7406fb624190f97cd55b4103751704d60f2
|
101 |
+
Expires: Sun, 10 Mar 2024 06:34:33 GMT
|
102 |
+
Source-Age: 0
|
103 |
+
|
104 |
+
]
|
105 |
+
[2024-03-10 11:59:34,208:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
106 |
+
[2024-03-10 12:57:01,683:INFO:common: yaml file: config\config.yaml loaded successfully]
|
107 |
+
[2024-03-10 13:01:00,474:INFO:common: yaml file: config\config.yaml loaded successfully]
|
108 |
+
[2024-03-10 13:10:57,251:INFO:common: yaml file: schema.yaml loaded successfully]
|
109 |
+
[2024-03-10 13:11:14,487:INFO:common: yaml file: config\config.yaml loaded successfully]
|
110 |
+
[2024-03-10 13:11:14,495:INFO:common: yaml file: schema.yaml loaded successfully]
|
111 |
+
[2024-03-10 13:11:14,495:INFO:common: created directory at: artifacts]
|
112 |
+
[2024-03-10 13:14:41,187:INFO:common: yaml file: config\config.yaml loaded successfully]
|
113 |
+
[2024-03-10 13:14:41,195:INFO:common: yaml file: schema.yaml loaded successfully]
|
114 |
+
[2024-03-10 13:14:41,195:INFO:common: created directory at: artifacts]
|
115 |
+
[2024-03-10 13:16:04,930:INFO:common: yaml file: config\config.yaml loaded successfully]
|
116 |
+
[2024-03-10 13:16:04,937:INFO:common: yaml file: schema.yaml loaded successfully]
|
117 |
+
[2024-03-10 13:16:04,937:INFO:common: created directory at: artifacts]
|
118 |
+
[2024-03-10 13:16:04,945:INFO:common: created directory at: artifacts/data_validation]
|
119 |
+
[2024-03-10 13:24:28,625:INFO:common: yaml file: config\config.yaml loaded successfully]
|
120 |
+
[2024-03-10 13:24:28,633:INFO:common: yaml file: schema.yaml loaded successfully]
|
121 |
+
[2024-03-10 13:24:28,633:INFO:common: created directory at: artifacts]
|
122 |
+
[2024-03-10 13:24:28,633:INFO:common: created directory at: artifacts/data_validation]
|
123 |
+
[2024-03-10 13:26:37,036:INFO:common: yaml file: schema.yaml loaded successfully]
|
124 |
+
[2024-03-10 13:37:51,556:INFO:common: yaml file: schema.yaml loaded successfully]
|
125 |
+
[2024-03-10 13:39:52,009:INFO:common: yaml file: schema.yaml loaded successfully]
|
126 |
+
[2024-03-10 13:46:14,633:INFO:common: yaml file: schema.yaml loaded successfully]
|
127 |
+
[2024-03-10 13:47:57,206:INFO:common: yaml file: config\config.yaml loaded successfully]
|
128 |
+
[2024-03-10 13:47:57,213:INFO:common: yaml file: schema.yaml loaded successfully]
|
129 |
+
[2024-03-10 13:47:57,213:INFO:common: created directory at: artifacts]
|
130 |
+
[2024-03-10 13:47:57,221:INFO:common: created directory at: artifacts/data_validation]
|
131 |
+
[2024-03-10 13:48:18,164:INFO:common: yaml file: config\config.yaml loaded successfully]
|
132 |
+
[2024-03-10 13:48:18,172:INFO:common: yaml file: schema.yaml loaded successfully]
|
133 |
+
[2024-03-10 13:48:18,172:INFO:common: created directory at: artifacts]
|
134 |
+
[2024-03-10 13:48:18,180:INFO:common: created directory at: artifacts/data_validation]
|
135 |
+
[2024-03-10 14:18:44,767:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
136 |
+
[2024-03-10 14:18:44,770:INFO:common: yaml file: config\config.yaml loaded successfully]
|
137 |
+
[2024-03-10 14:18:44,771:INFO:common: created directory at: artifacts]
|
138 |
+
[2024-03-10 14:18:44,772:INFO:common: created directory at: artifacts/data_ingestion]
|
139 |
+
[2024-03-10 14:18:44,772:INFO:data_injestion: File already exists of size: ~ 229 KB]
|
140 |
+
[2024-03-10 14:18:44,774:INFO:main: >>> Stage Data Ingestion Stage completed <<<<<<]
|
141 |
+
[2024-03-10 14:18:44,775:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
142 |
+
[2024-03-10 14:18:44,777:INFO:common: yaml file: config\config.yaml loaded successfully]
|
143 |
+
[2024-03-10 14:18:44,778:INFO:common: created directory at: artifacts]
|
144 |
+
[2024-03-10 14:18:44,778:ERROR:main: 'ConfigurationManager' object has no attribute 'schema']
|
145 |
+
Traceback (most recent call last):
|
146 |
+
File "main.py", line 20, in <module>
|
147 |
+
data_ingestion.main()
|
148 |
+
File "c:\mlops\cicd\end-to-end-ml\src\mlProject\pipeline\stage02_data_validation.py", line 13, in main
|
149 |
+
data_validation_config=config.get_data_validation_config()
|
150 |
+
File "c:\mlops\cicd\end-to-end-ml\src\mlProject\config\configuration.py", line 33, in get_data_validation_config
|
151 |
+
schema=self.schema.COLUMNS
|
152 |
+
AttributeError: 'ConfigurationManager' object has no attribute 'schema'
|
153 |
+
[2024-03-10 14:19:57,595:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
154 |
+
[2024-03-10 14:19:57,598:INFO:common: yaml file: config\config.yaml loaded successfully]
|
155 |
+
[2024-03-10 14:19:57,602:INFO:common: yaml file: schema.yaml loaded successfully]
|
156 |
+
[2024-03-10 14:19:57,603:INFO:common: created directory at: artifacts]
|
157 |
+
[2024-03-10 14:19:57,603:INFO:common: created directory at: artifacts/data_ingestion]
|
158 |
+
[2024-03-10 14:19:57,603:INFO:data_injestion: File already exists of size: ~ 229 KB]
|
159 |
+
[2024-03-10 14:19:57,605:INFO:main: >>> Stage Data Ingestion Stage completed <<<<<<]
|
160 |
+
[2024-03-10 14:19:57,605:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
161 |
+
[2024-03-10 14:19:57,609:INFO:common: yaml file: config\config.yaml loaded successfully]
|
162 |
+
[2024-03-10 14:19:57,612:INFO:common: yaml file: schema.yaml loaded successfully]
|
163 |
+
[2024-03-10 14:19:57,612:INFO:common: created directory at: artifacts]
|
164 |
+
[2024-03-10 14:19:57,613:INFO:common: created directory at: artifacts/data_validation]
|
165 |
+
[2024-03-10 14:19:57,635:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
166 |
+
|
167 |
+
x==========x]
|
168 |
+
[2024-03-10 14:22:09,305:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
169 |
+
[2024-03-10 14:22:09,307:INFO:common: yaml file: config\config.yaml loaded successfully]
|
170 |
+
[2024-03-10 14:22:09,310:INFO:common: yaml file: schema.yaml loaded successfully]
|
171 |
+
[2024-03-10 14:22:09,310:INFO:common: created directory at: artifacts]
|
172 |
+
[2024-03-10 14:22:09,311:INFO:common: created directory at: artifacts/data_ingestion]
|
173 |
+
[2024-03-10 14:22:11,821:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
174 |
+
Connection: close
|
175 |
+
Content-Length: 234325
|
176 |
+
Cache-Control: max-age=300
|
177 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
178 |
+
Content-Type: application/zip
|
179 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
180 |
+
Strict-Transport-Security: max-age=31536000
|
181 |
+
X-Content-Type-Options: nosniff
|
182 |
+
X-Frame-Options: deny
|
183 |
+
X-XSS-Protection: 1; mode=block
|
184 |
+
X-GitHub-Request-Id: FE78:3E5A:A1AAAA:C199F3:65ED74B7
|
185 |
+
Accept-Ranges: bytes
|
186 |
+
Date: Sun, 10 Mar 2024 08:52:11 GMT
|
187 |
+
Via: 1.1 varnish
|
188 |
+
X-Served-By: cache-fjr990023-FJR
|
189 |
+
X-Cache: MISS
|
190 |
+
X-Cache-Hits: 0
|
191 |
+
X-Timer: S1710060731.986671,VS0,VE638
|
192 |
+
Vary: Authorization,Accept-Encoding,Origin
|
193 |
+
Access-Control-Allow-Origin: *
|
194 |
+
Cross-Origin-Resource-Policy: cross-origin
|
195 |
+
X-Fastly-Request-ID: a549eccdf0ca4563efb9d93e77bdf0a874ac11c8
|
196 |
+
Expires: Sun, 10 Mar 2024 08:57:11 GMT
|
197 |
+
Source-Age: 0
|
198 |
+
|
199 |
+
]
|
200 |
+
[2024-03-10 14:22:11,838:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
201 |
+
[2024-03-10 14:22:11,838:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
202 |
+
[2024-03-10 14:22:11,841:INFO:common: yaml file: config\config.yaml loaded successfully]
|
203 |
+
[2024-03-10 14:22:11,843:INFO:common: yaml file: schema.yaml loaded successfully]
|
204 |
+
[2024-03-10 14:22:11,844:INFO:common: created directory at: artifacts]
|
205 |
+
[2024-03-10 14:22:11,845:INFO:common: created directory at: artifacts/data_validation]
|
206 |
+
[2024-03-10 14:22:11,872:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
207 |
+
|
208 |
+
x==========x]
|
209 |
+
[2024-03-10 16:12:58,586:INFO:common: yaml file: config\config.yaml loaded successfully]
|
210 |
+
[2024-03-10 16:12:58,591:INFO:common: yaml file: schema.yaml loaded successfully]
|
211 |
+
[2024-03-10 16:12:58,593:INFO:common: created directory at: artifacts]
|
212 |
+
[2024-03-10 16:12:58,598:INFO:common: created directory at: artifacts/data_transformation]
|
213 |
+
[2024-03-10 16:15:24,296:INFO:common: yaml file: config\config.yaml loaded successfully]
|
214 |
+
[2024-03-10 16:15:24,299:INFO:common: yaml file: schema.yaml loaded successfully]
|
215 |
+
[2024-03-10 16:15:24,300:INFO:common: created directory at: artifacts]
|
216 |
+
[2024-03-10 16:15:24,302:INFO:common: created directory at: artifacts/data_transformation]
|
217 |
+
[2024-03-10 16:22:36,489:INFO:common: yaml file: config\config.yaml loaded successfully]
|
218 |
+
[2024-03-10 16:22:36,494:INFO:common: yaml file: schema.yaml loaded successfully]
|
219 |
+
[2024-03-10 16:22:36,495:INFO:common: created directory at: artifacts]
|
220 |
+
[2024-03-10 16:22:36,497:INFO:common: created directory at: artifacts/data_transformation]
|
221 |
+
[2024-03-10 16:25:36,210:INFO:common: yaml file: config\config.yaml loaded successfully]
|
222 |
+
[2024-03-10 16:25:36,213:INFO:common: yaml file: schema.yaml loaded successfully]
|
223 |
+
[2024-03-10 16:25:36,215:INFO:common: created directory at: artifacts]
|
224 |
+
[2024-03-10 16:25:36,216:INFO:common: created directory at: artifacts/data_transformation]
|
225 |
+
[2024-03-10 16:27:14,824:INFO:common: yaml file: config\config.yaml loaded successfully]
|
226 |
+
[2024-03-10 16:27:14,828:INFO:common: yaml file: schema.yaml loaded successfully]
|
227 |
+
[2024-03-10 16:27:14,829:INFO:common: created directory at: artifacts]
|
228 |
+
[2024-03-10 16:27:14,830:INFO:common: created directory at: artifacts/data_transformation]
|
229 |
+
[2024-03-10 16:30:12,816:INFO:common: yaml file: config\config.yaml loaded successfully]
|
230 |
+
[2024-03-10 16:30:12,821:INFO:common: yaml file: schema.yaml loaded successfully]
|
231 |
+
[2024-03-10 16:30:12,822:INFO:common: created directory at: artifacts]
|
232 |
+
[2024-03-10 16:30:12,824:INFO:common: created directory at: artifacts/data_transformation]
|
233 |
+
[2024-03-10 16:30:12,899:INFO:3354807181: Splitted data into training and the test sets]
|
234 |
+
[2024-03-10 16:30:12,901:INFO:3354807181: (7500, 12)]
|
235 |
+
[2024-03-10 16:30:12,901:INFO:3354807181: (2500, 12)]
|
236 |
+
[2024-03-10 17:18:22,342:INFO:common: yaml file: config\config.yaml loaded successfully]
|
237 |
+
[2024-03-10 17:18:22,342:INFO:common: yaml file: schema.yaml loaded successfully]
|
238 |
+
[2024-03-10 17:18:22,345:INFO:common: created directory at: artifacts]
|
239 |
+
[2024-03-10 17:18:22,345:INFO:common: created directory at: artifacts/data_transformation]
|
240 |
+
[2024-03-10 17:19:33,472:INFO:common: yaml file: config\config.yaml loaded successfully]
|
241 |
+
[2024-03-10 17:19:33,474:INFO:common: yaml file: schema.yaml loaded successfully]
|
242 |
+
[2024-03-10 17:19:33,474:INFO:common: created directory at: artifacts]
|
243 |
+
[2024-03-10 17:19:33,474:INFO:common: created directory at: artifacts/data_transformation]
|
244 |
+
[2024-03-10 17:19:59,215:INFO:common: yaml file: config\config.yaml loaded successfully]
|
245 |
+
[2024-03-10 17:19:59,215:INFO:common: yaml file: schema.yaml loaded successfully]
|
246 |
+
[2024-03-10 17:19:59,215:INFO:common: created directory at: artifacts]
|
247 |
+
[2024-03-10 17:19:59,215:INFO:common: created directory at: artifacts/data_transformation]
|
248 |
+
[2024-03-10 17:24:08,382:INFO:<stdin>: >>>>>> stage Data Transformation started <<<<<<<<<<]
|
249 |
+
[2024-03-10 17:24:08,382:INFO:<stdin>: >>>>> stage Data Transformation completed <<<<<<<]
|
250 |
+
[2024-03-10 17:24:48,331:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
251 |
+
[2024-03-10 17:24:48,334:INFO:common: yaml file: config\config.yaml loaded successfully]
|
252 |
+
[2024-03-10 17:24:48,334:INFO:common: yaml file: schema.yaml loaded successfully]
|
253 |
+
[2024-03-10 17:24:48,334:INFO:common: created directory at: artifacts]
|
254 |
+
[2024-03-10 17:24:48,334:INFO:common: created directory at: artifacts/data_ingestion]
|
255 |
+
[2024-03-10 17:24:50,037:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
256 |
+
Connection: close
|
257 |
+
Content-Length: 234325
|
258 |
+
Cache-Control: max-age=300
|
259 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
260 |
+
Content-Type: application/zip
|
261 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
262 |
+
Strict-Transport-Security: max-age=31536000
|
263 |
+
X-Content-Type-Options: nosniff
|
264 |
+
X-Frame-Options: deny
|
265 |
+
X-XSS-Protection: 1; mode=block
|
266 |
+
X-GitHub-Request-Id: CF7E:806B:A1729B:C1D7F3:65ED9F89
|
267 |
+
Accept-Ranges: bytes
|
268 |
+
Date: Sun, 10 Mar 2024 11:54:49 GMT
|
269 |
+
Via: 1.1 varnish
|
270 |
+
X-Served-By: cache-fjr990030-FJR
|
271 |
+
X-Cache: MISS
|
272 |
+
X-Cache-Hits: 0
|
273 |
+
X-Timer: S1710071689.401298,VS0,VE360
|
274 |
+
Vary: Authorization,Accept-Encoding,Origin
|
275 |
+
Access-Control-Allow-Origin: *
|
276 |
+
Cross-Origin-Resource-Policy: cross-origin
|
277 |
+
X-Fastly-Request-ID: bc9d044248fb682c6fcf9256f737a3edc3826f6d
|
278 |
+
Expires: Sun, 10 Mar 2024 11:59:49 GMT
|
279 |
+
Source-Age: 0
|
280 |
+
|
281 |
+
]
|
282 |
+
[2024-03-10 17:24:50,045:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
283 |
+
[2024-03-10 17:24:50,045:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
284 |
+
[2024-03-10 17:24:50,055:INFO:common: yaml file: config\config.yaml loaded successfully]
|
285 |
+
[2024-03-10 17:24:50,055:INFO:common: yaml file: schema.yaml loaded successfully]
|
286 |
+
[2024-03-10 17:24:50,055:INFO:common: created directory at: artifacts]
|
287 |
+
[2024-03-10 17:24:50,055:INFO:common: created directory at: artifacts/data_validation]
|
288 |
+
[2024-03-10 17:24:50,086:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
289 |
+
|
290 |
+
x==========x]
|
291 |
+
[2024-03-10 17:24:50,086:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
292 |
+
[2024-03-10 17:24:50,094:INFO:common: yaml file: config\config.yaml loaded successfully]
|
293 |
+
[2024-03-10 17:24:50,094:INFO:common: yaml file: schema.yaml loaded successfully]
|
294 |
+
[2024-03-10 17:24:50,094:INFO:common: created directory at: artifacts]
|
295 |
+
[2024-03-10 17:24:50,094:INFO:common: created directory at: artifacts/data_validation]
|
296 |
+
[2024-03-10 17:24:50,119:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
297 |
+
|
298 |
+
x==========x]
|
299 |
+
[2024-03-10 17:28:06,122:INFO:common: yaml file: config\config.yaml loaded successfully]
|
300 |
+
[2024-03-10 17:28:06,129:INFO:common: yaml file: schema.yaml loaded successfully]
|
301 |
+
[2024-03-10 17:28:06,129:INFO:common: created directory at: artifacts]
|
302 |
+
[2024-03-10 17:28:06,137:INFO:common: created directory at: artifacts/data_transformation]
|
303 |
+
[2024-03-10 17:28:06,226:INFO:3354807181: Splitted data into training and the test sets]
|
304 |
+
[2024-03-10 17:28:06,226:INFO:3354807181: (7500, 12)]
|
305 |
+
[2024-03-10 17:28:06,234:INFO:3354807181: (2500, 12)]
|
306 |
+
[2024-03-10 17:38:49,284:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
307 |
+
[2024-03-10 17:38:49,284:INFO:common: yaml file: config\config.yaml loaded successfully]
|
308 |
+
[2024-03-10 17:38:49,292:INFO:common: yaml file: schema.yaml loaded successfully]
|
309 |
+
[2024-03-10 17:38:49,293:INFO:common: created directory at: artifacts]
|
310 |
+
[2024-03-10 17:38:49,295:INFO:common: created directory at: artifacts/data_ingestion]
|
311 |
+
[2024-03-10 17:38:50,937:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
312 |
+
Connection: close
|
313 |
+
Content-Length: 234325
|
314 |
+
Cache-Control: max-age=300
|
315 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
316 |
+
Content-Type: application/zip
|
317 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
318 |
+
Strict-Transport-Security: max-age=31536000
|
319 |
+
X-Content-Type-Options: nosniff
|
320 |
+
X-Frame-Options: deny
|
321 |
+
X-XSS-Protection: 1; mode=block
|
322 |
+
X-GitHub-Request-Id: CF7E:806B:A1729B:C1D7F3:65ED9F89
|
323 |
+
Accept-Ranges: bytes
|
324 |
+
Date: Sun, 10 Mar 2024 12:08:50 GMT
|
325 |
+
Via: 1.1 varnish
|
326 |
+
X-Served-By: cache-fjr990031-FJR
|
327 |
+
X-Cache: HIT
|
328 |
+
X-Cache-Hits: 0
|
329 |
+
X-Timer: S1710072530.318139,VS0,VE360
|
330 |
+
Vary: Authorization,Accept-Encoding,Origin
|
331 |
+
Access-Control-Allow-Origin: *
|
332 |
+
Cross-Origin-Resource-Policy: cross-origin
|
333 |
+
X-Fastly-Request-ID: ddbe4999d3aae2bc62bc4b31235f60de027860d3
|
334 |
+
Expires: Sun, 10 Mar 2024 12:13:50 GMT
|
335 |
+
Source-Age: 0
|
336 |
+
|
337 |
+
]
|
338 |
+
[2024-03-10 17:38:50,954:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
339 |
+
[2024-03-10 17:38:50,954:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
340 |
+
[2024-03-10 17:38:50,960:INFO:common: yaml file: config\config.yaml loaded successfully]
|
341 |
+
[2024-03-10 17:38:50,962:INFO:common: yaml file: schema.yaml loaded successfully]
|
342 |
+
[2024-03-10 17:38:50,962:INFO:common: created directory at: artifacts]
|
343 |
+
[2024-03-10 17:38:50,962:INFO:common: created directory at: artifacts/data_validation]
|
344 |
+
[2024-03-10 17:38:50,996:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
345 |
+
|
346 |
+
x==========x]
|
347 |
+
[2024-03-10 17:38:50,996:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
348 |
+
[2024-03-10 17:38:51,001:INFO:common: yaml file: config\config.yaml loaded successfully]
|
349 |
+
[2024-03-10 17:38:51,001:INFO:common: yaml file: schema.yaml loaded successfully]
|
350 |
+
[2024-03-10 17:38:51,001:INFO:common: created directory at: artifacts]
|
351 |
+
[2024-03-10 17:38:51,001:INFO:common: created directory at: artifacts/data_validation]
|
352 |
+
[2024-03-10 17:38:51,026:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
353 |
+
|
354 |
+
x==========x]
|
355 |
+
[2024-03-10 17:41:10,140:INFO:<stdin>: >>>>>> stage Data Transformation started <<<<<<<<<<]
|
356 |
+
[2024-03-10 17:41:10,142:INFO:<stdin>: >>>>> stage Data Transformation completed <<<<<<<]
|
357 |
+
[2024-03-10 17:44:51,369:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
358 |
+
[2024-03-10 17:44:51,369:INFO:common: yaml file: config\config.yaml loaded successfully]
|
359 |
+
[2024-03-10 17:44:51,377:INFO:common: yaml file: schema.yaml loaded successfully]
|
360 |
+
[2024-03-10 17:44:51,377:INFO:common: created directory at: artifacts]
|
361 |
+
[2024-03-10 17:44:51,377:INFO:common: created directory at: artifacts/data_ingestion]
|
362 |
+
[2024-03-10 17:44:51,377:INFO:data_injestion: File already exists of size: ~ 229 KB]
|
363 |
+
[2024-03-10 17:44:51,385:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
364 |
+
[2024-03-10 17:44:51,385:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
365 |
+
[2024-03-10 17:44:51,385:INFO:common: yaml file: config\config.yaml loaded successfully]
|
366 |
+
[2024-03-10 17:44:51,393:INFO:common: yaml file: schema.yaml loaded successfully]
|
367 |
+
[2024-03-10 17:44:51,393:INFO:common: created directory at: artifacts]
|
368 |
+
[2024-03-10 17:44:51,393:INFO:common: created directory at: artifacts/data_validation]
|
369 |
+
[2024-03-10 17:44:51,427:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
370 |
+
|
371 |
+
x==========x]
|
372 |
+
[2024-03-10 17:44:51,427:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
373 |
+
[2024-03-10 17:44:51,434:INFO:common: yaml file: config\config.yaml loaded successfully]
|
374 |
+
[2024-03-10 17:44:51,434:INFO:common: yaml file: schema.yaml loaded successfully]
|
375 |
+
[2024-03-10 17:44:51,434:INFO:common: created directory at: artifacts]
|
376 |
+
[2024-03-10 17:44:51,434:INFO:common: created directory at: artifacts/data_validation]
|
377 |
+
[2024-03-10 17:44:51,458:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
378 |
+
|
379 |
+
x==========x]
|
380 |
+
[2024-03-10 17:50:01,555:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
381 |
+
[2024-03-10 17:50:01,555:INFO:common: yaml file: config\config.yaml loaded successfully]
|
382 |
+
[2024-03-10 17:50:01,555:INFO:common: yaml file: schema.yaml loaded successfully]
|
383 |
+
[2024-03-10 17:50:01,555:INFO:common: created directory at: artifacts]
|
384 |
+
[2024-03-10 17:50:01,555:INFO:common: created directory at: artifacts/data_ingestion]
|
385 |
+
[2024-03-10 17:50:03,396:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
386 |
+
Connection: close
|
387 |
+
Content-Length: 234325
|
388 |
+
Cache-Control: max-age=300
|
389 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
390 |
+
Content-Type: application/zip
|
391 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
392 |
+
Strict-Transport-Security: max-age=31536000
|
393 |
+
X-Content-Type-Options: nosniff
|
394 |
+
X-Frame-Options: deny
|
395 |
+
X-XSS-Protection: 1; mode=block
|
396 |
+
X-GitHub-Request-Id: CF7E:806B:A1729B:C1D7F3:65ED9F89
|
397 |
+
Accept-Ranges: bytes
|
398 |
+
Date: Sun, 10 Mar 2024 12:20:03 GMT
|
399 |
+
Via: 1.1 varnish
|
400 |
+
X-Served-By: cache-fjr990023-FJR
|
401 |
+
X-Cache: HIT
|
402 |
+
X-Cache-Hits: 1
|
403 |
+
X-Timer: S1710073203.855300,VS0,VE399
|
404 |
+
Vary: Authorization,Accept-Encoding,Origin
|
405 |
+
Access-Control-Allow-Origin: *
|
406 |
+
Cross-Origin-Resource-Policy: cross-origin
|
407 |
+
X-Fastly-Request-ID: b099374e56035ee795620078dc6ef4cf8ddca962
|
408 |
+
Expires: Sun, 10 Mar 2024 12:25:03 GMT
|
409 |
+
Source-Age: 0
|
410 |
+
|
411 |
+
]
|
412 |
+
[2024-03-10 17:50:03,411:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
413 |
+
[2024-03-10 17:50:03,411:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
414 |
+
[2024-03-10 17:50:03,420:INFO:common: yaml file: config\config.yaml loaded successfully]
|
415 |
+
[2024-03-10 17:50:03,420:INFO:common: yaml file: schema.yaml loaded successfully]
|
416 |
+
[2024-03-10 17:50:03,420:INFO:common: created directory at: artifacts]
|
417 |
+
[2024-03-10 17:50:03,420:INFO:common: created directory at: artifacts/data_validation]
|
418 |
+
[2024-03-10 17:50:03,453:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
419 |
+
|
420 |
+
x==========x]
|
421 |
+
[2024-03-10 17:50:03,453:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
422 |
+
[2024-03-10 17:50:03,462:INFO:common: yaml file: config\config.yaml loaded successfully]
|
423 |
+
[2024-03-10 17:50:03,462:INFO:common: yaml file: schema.yaml loaded successfully]
|
424 |
+
[2024-03-10 17:50:03,469:INFO:common: created directory at: artifacts]
|
425 |
+
[2024-03-10 17:50:03,469:INFO:common: created directory at: artifacts/data_transformation]
|
426 |
+
[2024-03-10 17:50:03,534:INFO:data_transformation: Splitted data into training and the test sets]
|
427 |
+
[2024-03-10 17:50:03,534:INFO:data_transformation: (7500, 12)]
|
428 |
+
[2024-03-10 17:50:03,534:INFO:data_transformation: (2500, 12)]
|
429 |
+
[2024-03-10 17:50:03,534:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
430 |
+
|
431 |
+
x==========x]
|
432 |
+
[2024-03-10 19:02:30,134:INFO:common: yaml file: config\config.yaml loaded successfully]
|
433 |
+
[2024-03-10 19:02:30,136:INFO:common: yaml file: params.yaml loaded successfully]
|
434 |
+
[2024-03-10 19:02:30,141:INFO:common: yaml file: schema.yaml loaded successfully]
|
435 |
+
[2024-03-10 19:02:30,144:INFO:common: created directory at: artifacts]
|
436 |
+
[2024-03-10 19:03:03,433:INFO:common: yaml file: config\config.yaml loaded successfully]
|
437 |
+
[2024-03-10 19:03:03,435:INFO:common: yaml file: params.yaml loaded successfully]
|
438 |
+
[2024-03-10 19:03:03,438:INFO:common: yaml file: schema.yaml loaded successfully]
|
439 |
+
[2024-03-10 19:03:03,439:INFO:common: created directory at: artifacts]
|
440 |
+
[2024-03-10 19:03:37,279:INFO:common: yaml file: config\config.yaml loaded successfully]
|
441 |
+
[2024-03-10 19:03:37,282:INFO:common: yaml file: params.yaml loaded successfully]
|
442 |
+
[2024-03-10 19:03:37,284:INFO:common: yaml file: schema.yaml loaded successfully]
|
443 |
+
[2024-03-10 19:03:37,286:INFO:common: created directory at: artifacts]
|
444 |
+
[2024-03-10 19:04:04,548:INFO:common: yaml file: config\config.yaml loaded successfully]
|
445 |
+
[2024-03-10 19:04:04,550:INFO:common: yaml file: params.yaml loaded successfully]
|
446 |
+
[2024-03-10 19:04:04,554:INFO:common: yaml file: schema.yaml loaded successfully]
|
447 |
+
[2024-03-10 19:04:04,555:INFO:common: created directory at: artifacts]
|
448 |
+
[2024-03-10 19:04:04,557:INFO:common: created directory at: artifacts/model_trainer]
|
449 |
+
[2024-03-10 19:06:28,588:INFO:common: yaml file: config\config.yaml loaded successfully]
|
450 |
+
[2024-03-10 19:06:28,590:INFO:common: yaml file: params.yaml loaded successfully]
|
451 |
+
[2024-03-10 19:06:28,592:INFO:common: yaml file: schema.yaml loaded successfully]
|
452 |
+
[2024-03-10 19:06:28,593:INFO:common: created directory at: artifacts]
|
453 |
+
[2024-03-10 19:06:28,595:INFO:common: created directory at: artifacts/model_trainer]
|
454 |
+
[2024-03-10 19:11:54,708:INFO:common: yaml file: config\config.yaml loaded successfully]
|
455 |
+
[2024-03-10 19:11:54,711:INFO:common: yaml file: params.yaml loaded successfully]
|
456 |
+
[2024-03-10 19:11:54,714:INFO:common: yaml file: schema.yaml loaded successfully]
|
457 |
+
[2024-03-10 19:11:54,716:INFO:common: created directory at: artifacts]
|
458 |
+
[2024-03-10 19:11:54,718:INFO:common: created directory at: artifacts/model_trainer]
|
459 |
+
[2024-03-10 19:16:21,260:INFO:common: yaml file: config\config.yaml loaded successfully]
|
460 |
+
[2024-03-10 19:16:21,261:INFO:common: yaml file: params.yaml loaded successfully]
|
461 |
+
[2024-03-10 19:16:21,264:INFO:common: yaml file: schema.yaml loaded successfully]
|
462 |
+
[2024-03-10 19:16:21,266:INFO:common: created directory at: artifacts]
|
463 |
+
[2024-03-10 19:16:21,267:INFO:common: created directory at: artifacts/model_trainer]
|
464 |
+
[2024-03-10 19:19:17,084:INFO:common: yaml file: config\config.yaml loaded successfully]
|
465 |
+
[2024-03-10 19:19:17,086:INFO:common: yaml file: params.yaml loaded successfully]
|
466 |
+
[2024-03-10 19:19:17,088:INFO:common: yaml file: schema.yaml loaded successfully]
|
467 |
+
[2024-03-10 19:19:17,090:INFO:common: created directory at: artifacts]
|
468 |
+
[2024-03-10 19:19:17,091:INFO:common: created directory at: artifacts/model_trainer]
|
469 |
+
[2024-03-10 19:23:18,192:INFO:common: yaml file: config\config.yaml loaded successfully]
|
470 |
+
[2024-03-10 19:23:18,195:INFO:common: yaml file: params.yaml loaded successfully]
|
471 |
+
[2024-03-10 19:23:18,198:INFO:common: yaml file: schema.yaml loaded successfully]
|
472 |
+
[2024-03-10 19:23:18,199:INFO:common: created directory at: artifacts]
|
473 |
+
[2024-03-10 19:23:18,201:INFO:common: created directory at: artifacts/model_trainer]
|
474 |
+
[2024-03-10 19:24:38,856:INFO:common: yaml file: config\config.yaml loaded successfully]
|
475 |
+
[2024-03-10 19:24:38,858:INFO:common: yaml file: params.yaml loaded successfully]
|
476 |
+
[2024-03-10 19:24:38,861:INFO:common: yaml file: schema.yaml loaded successfully]
|
477 |
+
[2024-03-10 19:24:38,863:INFO:common: created directory at: artifacts]
|
478 |
+
[2024-03-10 19:24:38,864:INFO:common: created directory at: artifacts/model_trainer]
|
479 |
+
[2024-03-10 19:43:37,505:INFO:common: yaml file: params.yaml loaded successfully]
|
480 |
+
[2024-03-10 19:49:36,638:INFO:common: yaml file: params.yaml loaded successfully]
|
481 |
+
[2024-03-10 19:49:53,566:INFO:common: yaml file: config\config.yaml loaded successfully]
|
482 |
+
[2024-03-10 19:49:53,569:INFO:common: yaml file: params.yaml loaded successfully]
|
483 |
+
[2024-03-10 19:49:53,572:INFO:common: yaml file: schema.yaml loaded successfully]
|
484 |
+
[2024-03-10 19:49:53,574:INFO:common: created directory at: artifacts]
|
485 |
+
[2024-03-10 19:49:53,575:INFO:common: created directory at: artifacts/model_trainer]
|
486 |
+
[2024-03-10 19:51:09,415:INFO:common: yaml file: config\config.yaml loaded successfully]
|
487 |
+
[2024-03-10 19:51:09,417:INFO:common: yaml file: params.yaml loaded successfully]
|
488 |
+
[2024-03-10 19:51:09,420:INFO:common: yaml file: schema.yaml loaded successfully]
|
489 |
+
[2024-03-10 19:51:09,421:INFO:common: created directory at: artifacts]
|
490 |
+
[2024-03-10 19:51:09,423:INFO:common: created directory at: artifacts/model_trainer]
|
491 |
+
[2024-03-10 19:51:47,018:INFO:common: yaml file: config\config.yaml loaded successfully]
|
492 |
+
[2024-03-10 19:51:47,020:INFO:common: yaml file: params.yaml loaded successfully]
|
493 |
+
[2024-03-10 19:51:47,023:INFO:common: yaml file: schema.yaml loaded successfully]
|
494 |
+
[2024-03-10 19:51:47,024:INFO:common: created directory at: artifacts]
|
495 |
+
[2024-03-10 19:51:47,026:INFO:common: created directory at: artifacts/model_trainer]
|
496 |
+
[2024-03-10 19:52:26,170:INFO:common: yaml file: config\config.yaml loaded successfully]
|
497 |
+
[2024-03-10 19:52:26,172:INFO:common: yaml file: params.yaml loaded successfully]
|
498 |
+
[2024-03-10 19:52:26,175:INFO:common: yaml file: schema.yaml loaded successfully]
|
499 |
+
[2024-03-10 19:52:26,177:INFO:common: created directory at: artifacts]
|
500 |
+
[2024-03-10 19:52:26,178:INFO:common: created directory at: artifacts/model_trainer]
|
501 |
+
[2024-03-10 19:53:51,450:INFO:common: yaml file: config\config.yaml loaded successfully]
|
502 |
+
[2024-03-10 19:53:51,452:INFO:common: yaml file: params.yaml loaded successfully]
|
503 |
+
[2024-03-10 19:53:51,456:INFO:common: yaml file: schema.yaml loaded successfully]
|
504 |
+
[2024-03-10 19:53:51,458:INFO:common: created directory at: artifacts]
|
505 |
+
[2024-03-10 19:53:51,459:INFO:common: created directory at: artifacts/model_trainer]
|
506 |
+
[2024-03-10 19:54:06,733:INFO:common: yaml file: config\config.yaml loaded successfully]
|
507 |
+
[2024-03-10 19:54:06,735:INFO:common: yaml file: params.yaml loaded successfully]
|
508 |
+
[2024-03-10 19:54:06,738:INFO:common: yaml file: schema.yaml loaded successfully]
|
509 |
+
[2024-03-10 19:54:06,739:INFO:common: created directory at: artifacts]
|
510 |
+
[2024-03-10 19:54:06,740:INFO:common: created directory at: artifacts/model_trainer]
|
511 |
+
[2024-03-10 19:54:20,792:INFO:common: yaml file: config\config.yaml loaded successfully]
|
512 |
+
[2024-03-10 19:54:20,794:INFO:common: yaml file: params.yaml loaded successfully]
|
513 |
+
[2024-03-10 19:54:20,797:INFO:common: yaml file: schema.yaml loaded successfully]
|
514 |
+
[2024-03-10 19:54:20,798:INFO:common: created directory at: artifacts]
|
515 |
+
[2024-03-10 19:54:20,800:INFO:common: created directory at: artifacts/model_trainer]
|
516 |
+
[2024-03-10 19:55:15,913:INFO:common: yaml file: config\config.yaml loaded successfully]
|
517 |
+
[2024-03-10 19:55:15,915:INFO:common: yaml file: params.yaml loaded successfully]
|
518 |
+
[2024-03-10 19:55:15,918:INFO:common: yaml file: schema.yaml loaded successfully]
|
519 |
+
[2024-03-10 19:55:15,919:INFO:common: created directory at: artifacts]
|
520 |
+
[2024-03-10 19:55:15,921:INFO:common: created directory at: artifacts/model_trainer]
|
521 |
+
[2024-03-10 20:32:44,137:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
522 |
+
[2024-03-10 20:32:44,141:INFO:common: yaml file: config\config.yaml loaded successfully]
|
523 |
+
[2024-03-10 20:32:44,153:INFO:common: yaml file: schema.yaml loaded successfully]
|
524 |
+
[2024-03-10 20:32:44,153:INFO:common: created directory at: artifacts]
|
525 |
+
[2024-03-10 20:32:44,153:INFO:common: created directory at: artifacts/data_ingestion]
|
526 |
+
[2024-03-10 20:32:44,154:INFO:data_injestion: File already exists of size: ~ 229 KB]
|
527 |
+
[2024-03-10 20:32:44,160:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
528 |
+
[2024-03-10 20:32:44,160:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
529 |
+
[2024-03-10 20:32:44,164:INFO:common: yaml file: config\config.yaml loaded successfully]
|
530 |
+
[2024-03-10 20:32:44,166:INFO:common: yaml file: schema.yaml loaded successfully]
|
531 |
+
[2024-03-10 20:32:44,167:INFO:common: created directory at: artifacts]
|
532 |
+
[2024-03-10 20:32:44,168:INFO:common: created directory at: artifacts/data_validation]
|
533 |
+
[2024-03-10 20:32:44,196:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
534 |
+
|
535 |
+
x==========x]
|
536 |
+
[2024-03-10 20:32:44,197:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
537 |
+
[2024-03-10 20:32:44,204:INFO:common: yaml file: config\config.yaml loaded successfully]
|
538 |
+
[2024-03-10 20:32:44,207:INFO:common: yaml file: schema.yaml loaded successfully]
|
539 |
+
[2024-03-10 20:32:44,208:INFO:common: created directory at: artifacts]
|
540 |
+
[2024-03-10 20:32:44,208:INFO:common: created directory at: artifacts/data_transformation]
|
541 |
+
[2024-03-10 20:32:44,270:INFO:data_transformation: Splitted data into training and the test sets]
|
542 |
+
[2024-03-10 20:32:44,270:INFO:data_transformation: (7500, 12)]
|
543 |
+
[2024-03-10 20:32:44,271:INFO:data_transformation: (2500, 12)]
|
544 |
+
[2024-03-10 20:32:44,272:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
545 |
+
|
546 |
+
x==========x]
|
547 |
+
[2024-03-10 20:32:44,272:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
548 |
+
[2024-03-10 20:32:44,275:INFO:common: yaml file: config\config.yaml loaded successfully]
|
549 |
+
[2024-03-10 20:32:44,277:INFO:common: yaml file: schema.yaml loaded successfully]
|
550 |
+
[2024-03-10 20:32:44,278:INFO:common: created directory at: artifacts]
|
551 |
+
[2024-03-10 20:32:44,278:ERROR:main: 'ConfigurationManager' object has no attribute 'params']
|
552 |
+
Traceback (most recent call last):
|
553 |
+
File "main.py", line 45, in <module>
|
554 |
+
model_trainer.main()
|
555 |
+
File "c:\mlops\cicd\end-to-end-ml\src\mlProject\pipeline\stage04_model_trainer.py", line 14, in main
|
556 |
+
model_trainer_config=config.get_model_trainer_config()
|
557 |
+
File "c:\mlops\cicd\end-to-end-ml\src\mlProject\config\configuration.py", line 63, in get_model_trainer_config
|
558 |
+
params=self.params.GradientBoostingClassifier
|
559 |
+
AttributeError: 'ConfigurationManager' object has no attribute 'params'
|
560 |
+
[2024-03-10 20:33:02,488:INFO:common: yaml file: config\config.yaml loaded successfully]
|
561 |
+
[2024-03-10 20:33:02,491:INFO:common: yaml file: params.yaml loaded successfully]
|
562 |
+
[2024-03-10 20:33:02,495:INFO:common: yaml file: schema.yaml loaded successfully]
|
563 |
+
[2024-03-10 20:33:02,497:INFO:common: created directory at: artifacts]
|
564 |
+
[2024-03-10 20:33:02,498:INFO:common: created directory at: artifacts/model_trainer]
|
565 |
+
[2024-03-10 20:33:31,896:INFO:common: yaml file: config\config.yaml loaded successfully]
|
566 |
+
[2024-03-10 20:33:31,898:INFO:common: yaml file: params.yaml loaded successfully]
|
567 |
+
[2024-03-10 20:33:31,902:INFO:common: yaml file: schema.yaml loaded successfully]
|
568 |
+
[2024-03-10 20:33:31,904:INFO:common: created directory at: artifacts]
|
569 |
+
[2024-03-10 20:33:31,907:INFO:common: created directory at: artifacts/model_trainer]
|
570 |
+
[2024-03-10 20:34:03,657:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
571 |
+
[2024-03-10 20:34:03,661:INFO:common: yaml file: config\config.yaml loaded successfully]
|
572 |
+
[2024-03-10 20:34:03,663:INFO:common: yaml file: schema.yaml loaded successfully]
|
573 |
+
[2024-03-10 20:34:03,664:INFO:common: created directory at: artifacts]
|
574 |
+
[2024-03-10 20:34:03,664:INFO:common: created directory at: artifacts/data_ingestion]
|
575 |
+
[2024-03-10 20:34:06,141:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
576 |
+
Connection: close
|
577 |
+
Content-Length: 234325
|
578 |
+
Cache-Control: max-age=300
|
579 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
580 |
+
Content-Type: application/zip
|
581 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
582 |
+
Strict-Transport-Security: max-age=31536000
|
583 |
+
X-Content-Type-Options: nosniff
|
584 |
+
X-Frame-Options: deny
|
585 |
+
X-XSS-Protection: 1; mode=block
|
586 |
+
X-GitHub-Request-Id: 2280:31C0:AA0FAA:CB97A3:65EDCBE3
|
587 |
+
Accept-Ranges: bytes
|
588 |
+
Date: Sun, 10 Mar 2024 15:04:06 GMT
|
589 |
+
Via: 1.1 varnish
|
590 |
+
X-Served-By: cache-fjr990028-FJR
|
591 |
+
X-Cache: MISS
|
592 |
+
X-Cache-Hits: 0
|
593 |
+
X-Timer: S1710083045.604425,VS0,VE1438
|
594 |
+
Vary: Authorization,Accept-Encoding,Origin
|
595 |
+
Access-Control-Allow-Origin: *
|
596 |
+
Cross-Origin-Resource-Policy: cross-origin
|
597 |
+
X-Fastly-Request-ID: e4e74e952e7751fbf960d4f315f92d672fe0d6b7
|
598 |
+
Expires: Sun, 10 Mar 2024 15:09:06 GMT
|
599 |
+
Source-Age: 1
|
600 |
+
|
601 |
+
]
|
602 |
+
[2024-03-10 20:34:06,160:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
603 |
+
[2024-03-10 20:34:06,161:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
604 |
+
[2024-03-10 20:34:06,164:INFO:common: yaml file: config\config.yaml loaded successfully]
|
605 |
+
[2024-03-10 20:34:06,167:INFO:common: yaml file: schema.yaml loaded successfully]
|
606 |
+
[2024-03-10 20:34:06,168:INFO:common: created directory at: artifacts]
|
607 |
+
[2024-03-10 20:34:06,170:INFO:common: created directory at: artifacts/data_validation]
|
608 |
+
[2024-03-10 20:34:06,197:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
609 |
+
|
610 |
+
x==========x]
|
611 |
+
[2024-03-10 20:34:06,198:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
612 |
+
[2024-03-10 20:34:06,203:INFO:common: yaml file: config\config.yaml loaded successfully]
|
613 |
+
[2024-03-10 20:34:06,206:INFO:common: yaml file: schema.yaml loaded successfully]
|
614 |
+
[2024-03-10 20:34:06,207:INFO:common: created directory at: artifacts]
|
615 |
+
[2024-03-10 20:34:06,208:INFO:common: created directory at: artifacts/data_transformation]
|
616 |
+
[2024-03-10 20:34:06,261:INFO:data_transformation: Splitted data into training and the test sets]
|
617 |
+
[2024-03-10 20:34:06,262:INFO:data_transformation: (7500, 12)]
|
618 |
+
[2024-03-10 20:34:06,262:INFO:data_transformation: (2500, 12)]
|
619 |
+
[2024-03-10 20:34:06,264:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
620 |
+
|
621 |
+
x==========x]
|
622 |
+
[2024-03-10 20:34:06,264:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
623 |
+
[2024-03-10 20:34:06,267:INFO:common: yaml file: config\config.yaml loaded successfully]
|
624 |
+
[2024-03-10 20:34:06,270:INFO:common: yaml file: schema.yaml loaded successfully]
|
625 |
+
[2024-03-10 20:34:06,271:INFO:common: created directory at: artifacts]
|
626 |
+
[2024-03-10 20:34:06,271:ERROR:main: 'ConfigurationManager' object has no attribute 'params']
|
627 |
+
Traceback (most recent call last):
|
628 |
+
File "main.py", line 45, in <module>
|
629 |
+
model_trainer.main()
|
630 |
+
File "c:\mlops\cicd\end-to-end-ml\src\mlProject\pipeline\stage04_model_trainer.py", line 14, in main
|
631 |
+
model_trainer_config=config.get_model_trainer_config()
|
632 |
+
File "c:\mlops\cicd\end-to-end-ml\src\mlProject\config\configuration.py", line 63, in get_model_trainer_config
|
633 |
+
params=self.params.GradientBoostingClassifier
|
634 |
+
AttributeError: 'ConfigurationManager' object has no attribute 'params'
|
635 |
+
[2024-03-10 20:42:05,523:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
636 |
+
[2024-03-10 20:42:05,526:INFO:common: yaml file: config\config.yaml loaded successfully]
|
637 |
+
[2024-03-10 20:42:05,529:INFO:common: yaml file: schema.yaml loaded successfully]
|
638 |
+
[2024-03-10 20:42:05,530:INFO:common: created directory at: artifacts]
|
639 |
+
[2024-03-10 20:42:05,531:INFO:common: created directory at: artifacts/data_ingestion]
|
640 |
+
[2024-03-10 20:42:06,989:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
641 |
+
Connection: close
|
642 |
+
Content-Length: 234325
|
643 |
+
Cache-Control: max-age=300
|
644 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
645 |
+
Content-Type: application/zip
|
646 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
647 |
+
Strict-Transport-Security: max-age=31536000
|
648 |
+
X-Content-Type-Options: nosniff
|
649 |
+
X-Frame-Options: deny
|
650 |
+
X-XSS-Protection: 1; mode=block
|
651 |
+
X-GitHub-Request-Id: 2280:31C0:AA0FAA:CB97A3:65EDCBE3
|
652 |
+
Accept-Ranges: bytes
|
653 |
+
Date: Sun, 10 Mar 2024 15:12:06 GMT
|
654 |
+
Via: 1.1 varnish
|
655 |
+
X-Served-By: cache-fjr990032-FJR
|
656 |
+
X-Cache: HIT
|
657 |
+
X-Cache-Hits: 1
|
658 |
+
X-Timer: S1710083526.492473,VS0,VE366
|
659 |
+
Vary: Authorization,Accept-Encoding,Origin
|
660 |
+
Access-Control-Allow-Origin: *
|
661 |
+
Cross-Origin-Resource-Policy: cross-origin
|
662 |
+
X-Fastly-Request-ID: 0b2758c5e4e7930bdda4e6a1b06dc3943662d5b4
|
663 |
+
Expires: Sun, 10 Mar 2024 15:17:06 GMT
|
664 |
+
Source-Age: 0
|
665 |
+
|
666 |
+
]
|
667 |
+
[2024-03-10 20:42:07,007:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
668 |
+
[2024-03-10 20:42:07,008:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
669 |
+
[2024-03-10 20:42:07,011:INFO:common: yaml file: config\config.yaml loaded successfully]
|
670 |
+
[2024-03-10 20:42:07,013:INFO:common: yaml file: schema.yaml loaded successfully]
|
671 |
+
[2024-03-10 20:42:07,014:INFO:common: created directory at: artifacts]
|
672 |
+
[2024-03-10 20:42:07,015:INFO:common: created directory at: artifacts/data_validation]
|
673 |
+
[2024-03-10 20:42:07,042:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
674 |
+
|
675 |
+
x==========x]
|
676 |
+
[2024-03-10 20:42:07,043:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
677 |
+
[2024-03-10 20:42:07,050:INFO:common: yaml file: config\config.yaml loaded successfully]
|
678 |
+
[2024-03-10 20:42:07,054:INFO:common: yaml file: schema.yaml loaded successfully]
|
679 |
+
[2024-03-10 20:42:07,055:INFO:common: created directory at: artifacts]
|
680 |
+
[2024-03-10 20:42:07,056:INFO:common: created directory at: artifacts/data_transformation]
|
681 |
+
[2024-03-10 20:42:07,115:INFO:data_transformation: Splitted data into training and the test sets]
|
682 |
+
[2024-03-10 20:42:07,116:INFO:data_transformation: (7500, 12)]
|
683 |
+
[2024-03-10 20:42:07,117:INFO:data_transformation: (2500, 12)]
|
684 |
+
[2024-03-10 20:42:07,118:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
685 |
+
|
686 |
+
x==========x]
|
687 |
+
[2024-03-10 20:42:07,119:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
688 |
+
[2024-03-10 20:42:07,121:INFO:common: yaml file: config\config.yaml loaded successfully]
|
689 |
+
[2024-03-10 20:42:07,124:INFO:common: yaml file: schema.yaml loaded successfully]
|
690 |
+
[2024-03-10 20:42:07,125:INFO:common: created directory at: artifacts]
|
691 |
+
[2024-03-10 20:42:07,125:ERROR:main: 'ConfigurationManager' object has no attribute 'params']
|
692 |
+
Traceback (most recent call last):
|
693 |
+
File "main.py", line 45, in <module>
|
694 |
+
model_trainer.main()
|
695 |
+
File "c:\mlops\cicd\end-to-end-ml\src\mlProject\pipeline\stage04_model_trainer.py", line 14, in main
|
696 |
+
model_trainer_config=config.get_model_trainer_config()
|
697 |
+
File "c:\mlops\cicd\end-to-end-ml\src\mlProject\config\configuration.py", line 63, in get_model_trainer_config
|
698 |
+
params=self.params.GradientBoostingClassifier
|
699 |
+
AttributeError: 'ConfigurationManager' object has no attribute 'params'
|
700 |
+
[2024-03-10 20:44:07,912:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
701 |
+
[2024-03-10 20:44:07,916:INFO:common: yaml file: config\config.yaml loaded successfully]
|
702 |
+
[2024-03-10 20:44:07,917:INFO:common: yaml file: params.yaml loaded successfully]
|
703 |
+
[2024-03-10 20:44:07,920:INFO:common: yaml file: schema.yaml loaded successfully]
|
704 |
+
[2024-03-10 20:44:07,921:INFO:common: created directory at: artifacts]
|
705 |
+
[2024-03-10 20:44:07,921:INFO:common: created directory at: artifacts/data_ingestion]
|
706 |
+
[2024-03-10 20:44:07,922:INFO:data_injestion: File already exists of size: ~ 229 KB]
|
707 |
+
[2024-03-10 20:44:07,926:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
708 |
+
[2024-03-10 20:44:07,927:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
709 |
+
[2024-03-10 20:44:07,930:INFO:common: yaml file: config\config.yaml loaded successfully]
|
710 |
+
[2024-03-10 20:44:07,931:INFO:common: yaml file: params.yaml loaded successfully]
|
711 |
+
[2024-03-10 20:44:07,933:INFO:common: yaml file: schema.yaml loaded successfully]
|
712 |
+
[2024-03-10 20:44:07,934:INFO:common: created directory at: artifacts]
|
713 |
+
[2024-03-10 20:44:07,934:INFO:common: created directory at: artifacts/data_validation]
|
714 |
+
[2024-03-10 20:44:07,963:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
715 |
+
|
716 |
+
x==========x]
|
717 |
+
[2024-03-10 20:44:07,964:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
718 |
+
[2024-03-10 20:44:07,969:INFO:common: yaml file: config\config.yaml loaded successfully]
|
719 |
+
[2024-03-10 20:44:07,970:INFO:common: yaml file: params.yaml loaded successfully]
|
720 |
+
[2024-03-10 20:44:07,973:INFO:common: yaml file: schema.yaml loaded successfully]
|
721 |
+
[2024-03-10 20:44:07,973:INFO:common: created directory at: artifacts]
|
722 |
+
[2024-03-10 20:44:07,973:INFO:common: created directory at: artifacts/data_transformation]
|
723 |
+
[2024-03-10 20:44:08,029:INFO:data_transformation: Splitted data into training and the test sets]
|
724 |
+
[2024-03-10 20:44:08,030:INFO:data_transformation: (7500, 12)]
|
725 |
+
[2024-03-10 20:44:08,030:INFO:data_transformation: (2500, 12)]
|
726 |
+
[2024-03-10 20:44:08,031:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
727 |
+
|
728 |
+
x==========x]
|
729 |
+
[2024-03-10 20:44:08,032:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
730 |
+
[2024-03-10 20:44:08,034:INFO:common: yaml file: config\config.yaml loaded successfully]
|
731 |
+
[2024-03-10 20:44:08,035:INFO:common: yaml file: params.yaml loaded successfully]
|
732 |
+
[2024-03-10 20:44:08,038:INFO:common: yaml file: schema.yaml loaded successfully]
|
733 |
+
[2024-03-10 20:44:08,039:INFO:common: created directory at: artifacts]
|
734 |
+
[2024-03-10 20:44:08,039:INFO:common: created directory at: artifacts/model_trainer]
|
735 |
+
[2024-03-10 20:44:12,485:INFO:main: >>>>>> stage Model Training completed <<<<<<
|
736 |
+
|
737 |
+
x==========x]
|
738 |
+
[2024-03-10 20:44:24,006:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
739 |
+
[2024-03-10 20:44:24,009:INFO:common: yaml file: config\config.yaml loaded successfully]
|
740 |
+
[2024-03-10 20:44:24,010:INFO:common: yaml file: params.yaml loaded successfully]
|
741 |
+
[2024-03-10 20:44:24,012:INFO:common: yaml file: schema.yaml loaded successfully]
|
742 |
+
[2024-03-10 20:44:24,013:INFO:common: created directory at: artifacts]
|
743 |
+
[2024-03-10 20:44:24,014:INFO:common: created directory at: artifacts/data_ingestion]
|
744 |
+
[2024-03-10 20:44:25,174:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
745 |
+
Connection: close
|
746 |
+
Content-Length: 234325
|
747 |
+
Cache-Control: max-age=300
|
748 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
749 |
+
Content-Type: application/zip
|
750 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
751 |
+
Strict-Transport-Security: max-age=31536000
|
752 |
+
X-Content-Type-Options: nosniff
|
753 |
+
X-Frame-Options: deny
|
754 |
+
X-XSS-Protection: 1; mode=block
|
755 |
+
X-GitHub-Request-Id: 2280:31C0:AA0FAA:CB97A3:65EDCBE3
|
756 |
+
Accept-Ranges: bytes
|
757 |
+
Date: Sun, 10 Mar 2024 15:14:25 GMT
|
758 |
+
Via: 1.1 varnish
|
759 |
+
X-Served-By: cache-fjr990027-FJR
|
760 |
+
X-Cache: HIT
|
761 |
+
X-Cache-Hits: 1
|
762 |
+
X-Timer: S1710083665.080074,VS0,VE1
|
763 |
+
Vary: Authorization,Accept-Encoding,Origin
|
764 |
+
Access-Control-Allow-Origin: *
|
765 |
+
Cross-Origin-Resource-Policy: cross-origin
|
766 |
+
X-Fastly-Request-ID: 43dc856f5e185b92b70f25419ca16239a08078b2
|
767 |
+
Expires: Sun, 10 Mar 2024 15:19:25 GMT
|
768 |
+
Source-Age: 138
|
769 |
+
|
770 |
+
]
|
771 |
+
[2024-03-10 20:44:25,189:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
772 |
+
[2024-03-10 20:44:25,190:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
773 |
+
[2024-03-10 20:44:25,193:INFO:common: yaml file: config\config.yaml loaded successfully]
|
774 |
+
[2024-03-10 20:44:25,195:INFO:common: yaml file: params.yaml loaded successfully]
|
775 |
+
[2024-03-10 20:44:25,197:INFO:common: yaml file: schema.yaml loaded successfully]
|
776 |
+
[2024-03-10 20:44:25,198:INFO:common: created directory at: artifacts]
|
777 |
+
[2024-03-10 20:44:25,198:INFO:common: created directory at: artifacts/data_validation]
|
778 |
+
[2024-03-10 20:44:25,225:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
779 |
+
|
780 |
+
x==========x]
|
781 |
+
[2024-03-10 20:44:25,226:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
782 |
+
[2024-03-10 20:44:25,232:INFO:common: yaml file: config\config.yaml loaded successfully]
|
783 |
+
[2024-03-10 20:44:25,233:INFO:common: yaml file: params.yaml loaded successfully]
|
784 |
+
[2024-03-10 20:44:25,236:INFO:common: yaml file: schema.yaml loaded successfully]
|
785 |
+
[2024-03-10 20:44:25,237:INFO:common: created directory at: artifacts]
|
786 |
+
[2024-03-10 20:44:25,238:INFO:common: created directory at: artifacts/data_transformation]
|
787 |
+
[2024-03-10 20:44:25,296:INFO:data_transformation: Splitted data into training and the test sets]
|
788 |
+
[2024-03-10 20:44:25,297:INFO:data_transformation: (7500, 12)]
|
789 |
+
[2024-03-10 20:44:25,297:INFO:data_transformation: (2500, 12)]
|
790 |
+
[2024-03-10 20:44:25,298:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
791 |
+
|
792 |
+
x==========x]
|
793 |
+
[2024-03-10 20:44:25,299:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
794 |
+
[2024-03-10 20:44:25,303:INFO:common: yaml file: config\config.yaml loaded successfully]
|
795 |
+
[2024-03-10 20:44:25,304:INFO:common: yaml file: params.yaml loaded successfully]
|
796 |
+
[2024-03-10 20:44:25,306:INFO:common: yaml file: schema.yaml loaded successfully]
|
797 |
+
[2024-03-10 20:44:25,307:INFO:common: created directory at: artifacts]
|
798 |
+
[2024-03-10 20:44:25,308:INFO:common: created directory at: artifacts/model_trainer]
|
799 |
+
[2024-03-10 20:44:29,831:INFO:main: >>>>>> stage Model Training completed <<<<<<
|
800 |
+
|
801 |
+
x==========x]
|
802 |
+
[2024-03-11 01:01:27,115:INFO:common: yaml file: config\config.yaml loaded successfully]
|
803 |
+
[2024-03-11 01:01:27,118:INFO:common: yaml file: params.yaml loaded successfully]
|
804 |
+
[2024-03-11 01:01:27,123:INFO:common: yaml file: schema.yaml loaded successfully]
|
805 |
+
[2024-03-11 01:01:27,125:INFO:common: created directory at: artifacts]
|
806 |
+
[2024-03-11 01:04:29,197:INFO:common: yaml file: config\config.yaml loaded successfully]
|
807 |
+
[2024-03-11 01:04:29,199:INFO:common: yaml file: params.yaml loaded successfully]
|
808 |
+
[2024-03-11 01:04:29,204:INFO:common: yaml file: schema.yaml loaded successfully]
|
809 |
+
[2024-03-11 01:04:29,205:INFO:common: created directory at: artifacts]
|
810 |
+
[2024-03-11 01:09:38,476:INFO:common: yaml file: config\config.yaml loaded successfully]
|
811 |
+
[2024-03-11 01:09:38,478:INFO:common: yaml file: params.yaml loaded successfully]
|
812 |
+
[2024-03-11 01:09:38,481:INFO:common: yaml file: schema.yaml loaded successfully]
|
813 |
+
[2024-03-11 01:09:38,482:INFO:common: created directory at: artifacts]
|
814 |
+
[2024-03-11 01:19:28,892:INFO:common: yaml file: config\config.yaml loaded successfully]
|
815 |
+
[2024-03-11 01:19:28,894:INFO:common: yaml file: params.yaml loaded successfully]
|
816 |
+
[2024-03-11 01:19:28,899:INFO:common: yaml file: schema.yaml loaded successfully]
|
817 |
+
[2024-03-11 01:19:28,901:INFO:common: created directory at: artifacts]
|
818 |
+
[2024-03-11 01:31:38,163:INFO:common: yaml file: config\config.yaml loaded successfully]
|
819 |
+
[2024-03-11 01:31:38,171:INFO:common: yaml file: params.yaml loaded successfully]
|
820 |
+
[2024-03-11 01:31:38,179:INFO:common: yaml file: schema.yaml loaded successfully]
|
821 |
+
[2024-03-11 01:31:38,187:INFO:common: created directory at: artifacts]
|
822 |
+
[2024-03-11 01:56:53,507:INFO:common: yaml file: config\config.yaml loaded successfully]
|
823 |
+
[2024-03-11 01:56:53,507:INFO:common: yaml file: params.yaml loaded successfully]
|
824 |
+
[2024-03-11 01:56:53,512:INFO:common: yaml file: schema.yaml loaded successfully]
|
825 |
+
[2024-03-11 01:56:53,512:INFO:common: created directory at: artifacts]
|
826 |
+
[2024-03-11 01:57:43,079:INFO:common: yaml file: config\config.yaml loaded successfully]
|
827 |
+
[2024-03-11 01:57:43,083:INFO:common: yaml file: params.yaml loaded successfully]
|
828 |
+
[2024-03-11 01:57:43,087:INFO:common: yaml file: schema.yaml loaded successfully]
|
829 |
+
[2024-03-11 01:57:43,087:INFO:common: created directory at: artifacts]
|
830 |
+
[2024-03-11 01:58:31,819:INFO:common: yaml file: config\config.yaml loaded successfully]
|
831 |
+
[2024-03-11 01:58:31,819:INFO:common: yaml file: params.yaml loaded successfully]
|
832 |
+
[2024-03-11 01:58:31,827:INFO:common: yaml file: schema.yaml loaded successfully]
|
833 |
+
[2024-03-11 01:58:31,827:INFO:common: created directory at: artifacts]
|
834 |
+
[2024-03-11 02:01:20,639:INFO:common: yaml file: config\config.yaml loaded successfully]
|
835 |
+
[2024-03-11 02:01:20,643:INFO:common: yaml file: params.yaml loaded successfully]
|
836 |
+
[2024-03-11 02:01:20,647:INFO:common: yaml file: schema.yaml loaded successfully]
|
837 |
+
[2024-03-11 02:01:20,647:INFO:common: created directory at: artifacts]
|
838 |
+
[2024-03-11 02:07:11,771:INFO:common: yaml file: config\config.yaml loaded successfully]
|
839 |
+
[2024-03-11 02:07:11,771:INFO:common: yaml file: params.yaml loaded successfully]
|
840 |
+
[2024-03-11 02:07:11,779:INFO:common: yaml file: schema.yaml loaded successfully]
|
841 |
+
[2024-03-11 02:07:11,779:INFO:common: created directory at: artifacts]
|
842 |
+
[2024-03-11 02:08:07,620:INFO:common: yaml file: config\config.yaml loaded successfully]
|
843 |
+
[2024-03-11 02:08:07,620:INFO:common: yaml file: params.yaml loaded successfully]
|
844 |
+
[2024-03-11 02:08:07,628:INFO:common: yaml file: schema.yaml loaded successfully]
|
845 |
+
[2024-03-11 02:08:07,628:INFO:common: created directory at: artifacts]
|
846 |
+
[2024-03-11 02:10:35,833:INFO:common: yaml file: config\config.yaml loaded successfully]
|
847 |
+
[2024-03-11 02:10:35,838:INFO:common: yaml file: params.yaml loaded successfully]
|
848 |
+
[2024-03-11 02:10:35,840:INFO:common: yaml file: schema.yaml loaded successfully]
|
849 |
+
[2024-03-11 02:10:35,840:INFO:common: created directory at: artifacts]
|
850 |
+
[2024-03-11 02:13:31,611:INFO:common: yaml file: config\config.yaml loaded successfully]
|
851 |
+
[2024-03-11 02:13:31,611:INFO:common: yaml file: params.yaml loaded successfully]
|
852 |
+
[2024-03-11 02:13:31,618:INFO:common: yaml file: schema.yaml loaded successfully]
|
853 |
+
[2024-03-11 02:13:31,618:INFO:common: created directory at: artifacts]
|
854 |
+
[2024-03-11 02:21:46,757:INFO:common: yaml file: config\config.yaml loaded successfully]
|
855 |
+
[2024-03-11 02:21:46,757:INFO:common: yaml file: params.yaml loaded successfully]
|
856 |
+
[2024-03-11 02:21:46,766:INFO:common: yaml file: schema.yaml loaded successfully]
|
857 |
+
[2024-03-11 02:21:46,766:INFO:common: created directory at: artifacts]
|
858 |
+
[2024-03-11 02:21:46,830:WARNING:connectionpool: Retrying (Retry(total=4, connect=5, read=4, redirect=5, status=5)) after connection broken by 'ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)': /avimittal30/End-to-End-ML.mlflow/api/2.0/mlflow/runs/create]
|
859 |
+
[2024-03-11 02:25:08,697:INFO:common: yaml file: config\config.yaml loaded successfully]
|
860 |
+
[2024-03-11 02:25:08,697:INFO:common: yaml file: params.yaml loaded successfully]
|
861 |
+
[2024-03-11 02:25:08,697:INFO:common: yaml file: schema.yaml loaded successfully]
|
862 |
+
[2024-03-11 02:25:08,705:INFO:common: created directory at: artifacts]
|
863 |
+
[2024-03-11 02:25:44,460:INFO:common: yaml file: config\config.yaml loaded successfully]
|
864 |
+
[2024-03-11 02:25:44,467:INFO:common: yaml file: params.yaml loaded successfully]
|
865 |
+
[2024-03-11 02:25:44,467:INFO:common: yaml file: schema.yaml loaded successfully]
|
866 |
+
[2024-03-11 02:25:44,467:INFO:common: created directory at: artifacts]
|
867 |
+
[2024-03-11 02:27:55,369:INFO:common: yaml file: config\config.yaml loaded successfully]
|
868 |
+
[2024-03-11 02:27:55,369:INFO:common: yaml file: params.yaml loaded successfully]
|
869 |
+
[2024-03-11 02:27:55,377:INFO:common: yaml file: schema.yaml loaded successfully]
|
870 |
+
[2024-03-11 02:27:55,377:INFO:common: created directory at: artifacts]
|
871 |
+
[2024-03-11 02:27:55,385:INFO:common: created directory at: artifacts/model_evaluation]
|
872 |
+
[2024-03-11 02:27:57,324:INFO:common: json file saved at: artifacts\model_evaluation\metrics.json]
|
873 |
+
[2024-03-11 02:28:31,434:INFO:common: yaml file: config\config.yaml loaded successfully]
|
874 |
+
[2024-03-11 02:28:31,438:INFO:common: yaml file: params.yaml loaded successfully]
|
875 |
+
[2024-03-11 02:28:31,442:INFO:common: yaml file: schema.yaml loaded successfully]
|
876 |
+
[2024-03-11 02:28:31,442:INFO:common: created directory at: artifacts]
|
877 |
+
[2024-03-11 02:28:31,442:INFO:common: created directory at: artifacts/model_evaluation]
|
878 |
+
[2024-03-11 02:28:50,636:INFO:common: yaml file: config\config.yaml loaded successfully]
|
879 |
+
[2024-03-11 02:28:50,643:INFO:common: yaml file: params.yaml loaded successfully]
|
880 |
+
[2024-03-11 02:28:50,645:INFO:common: yaml file: schema.yaml loaded successfully]
|
881 |
+
[2024-03-11 02:28:50,645:INFO:common: created directory at: artifacts]
|
882 |
+
[2024-03-11 02:28:50,645:INFO:common: created directory at: artifacts/model_evaluation]
|
883 |
+
[2024-03-11 02:28:52,102:INFO:common: json file saved at: artifacts\model_evaluation\metrics.json]
|
884 |
+
[2024-03-11 12:33:52,968:INFO:common: yaml file: config\config.yaml loaded successfully]
|
885 |
+
[2024-03-11 12:33:52,978:INFO:common: yaml file: params.yaml loaded successfully]
|
886 |
+
[2024-03-11 12:33:53,082:INFO:common: yaml file: schema.yaml loaded successfully]
|
887 |
+
[2024-03-11 12:33:53,085:INFO:common: created directory at: artifacts]
|
888 |
+
[2024-03-11 12:33:53,086:INFO:common: created directory at: artifacts/model_evaluation]
|
889 |
+
[2024-03-11 12:33:56,971:INFO:common: json file saved at: artifacts\model_evaluation\metrics.json]
|
890 |
+
[2024-03-11 14:16:02,360:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
891 |
+
[2024-03-11 14:16:02,367:INFO:common: yaml file: config\config.yaml loaded successfully]
|
892 |
+
[2024-03-11 14:16:02,370:INFO:common: yaml file: params.yaml loaded successfully]
|
893 |
+
[2024-03-11 14:16:02,374:INFO:common: yaml file: schema.yaml loaded successfully]
|
894 |
+
[2024-03-11 14:16:02,375:INFO:common: created directory at: artifacts]
|
895 |
+
[2024-03-11 14:16:02,376:INFO:common: created directory at: artifacts/data_ingestion]
|
896 |
+
[2024-03-11 14:16:02,385:INFO:data_injestion: File already exists of size: ~ 229 KB]
|
897 |
+
[2024-03-11 14:16:02,490:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
898 |
+
[2024-03-11 14:16:02,490:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
899 |
+
[2024-03-11 14:16:02,496:INFO:common: yaml file: config\config.yaml loaded successfully]
|
900 |
+
[2024-03-11 14:16:02,497:INFO:common: yaml file: params.yaml loaded successfully]
|
901 |
+
[2024-03-11 14:16:02,500:INFO:common: yaml file: schema.yaml loaded successfully]
|
902 |
+
[2024-03-11 14:16:02,501:INFO:common: created directory at: artifacts]
|
903 |
+
[2024-03-11 14:16:02,503:INFO:common: created directory at: artifacts/data_validation]
|
904 |
+
[2024-03-11 14:16:02,611:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
905 |
+
|
906 |
+
x==========x]
|
907 |
+
[2024-03-11 14:16:02,612:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
908 |
+
[2024-03-11 14:16:02,631:INFO:common: yaml file: config\config.yaml loaded successfully]
|
909 |
+
[2024-03-11 14:16:02,632:INFO:common: yaml file: params.yaml loaded successfully]
|
910 |
+
[2024-03-11 14:16:02,636:INFO:common: yaml file: schema.yaml loaded successfully]
|
911 |
+
[2024-03-11 14:16:02,637:INFO:common: created directory at: artifacts]
|
912 |
+
[2024-03-11 14:16:02,637:INFO:common: created directory at: artifacts/data_transformation]
|
913 |
+
[2024-03-11 14:16:02,713:INFO:data_transformation: Splitted data into training and the test sets]
|
914 |
+
[2024-03-11 14:16:02,714:INFO:data_transformation: (7500, 12)]
|
915 |
+
[2024-03-11 14:16:02,714:INFO:data_transformation: (2500, 12)]
|
916 |
+
[2024-03-11 14:16:02,715:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
917 |
+
|
918 |
+
x==========x]
|
919 |
+
[2024-03-11 14:16:02,715:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
920 |
+
[2024-03-11 14:16:02,719:INFO:common: yaml file: config\config.yaml loaded successfully]
|
921 |
+
[2024-03-11 14:16:02,720:INFO:common: yaml file: params.yaml loaded successfully]
|
922 |
+
[2024-03-11 14:16:02,723:INFO:common: yaml file: schema.yaml loaded successfully]
|
923 |
+
[2024-03-11 14:16:02,724:INFO:common: created directory at: artifacts]
|
924 |
+
[2024-03-11 14:16:02,729:INFO:common: created directory at: artifacts/model_trainer]
|
925 |
+
[2024-03-11 14:16:10,857:INFO:main: >>>>>> stage Model Training completed <<<<<<
|
926 |
+
|
927 |
+
x==========x]
|
928 |
+
[2024-03-11 14:16:10,858:INFO:main: >>>>>> stage Model Evaluation started <<<<<<]
|
929 |
+
[2024-03-11 14:16:10,858:ERROR:main: __init__() missing 1 required positional argument: 'config']
|
930 |
+
Traceback (most recent call last):
|
931 |
+
File "main.py", line 58, in <module>
|
932 |
+
model_eval = ModelEvaluation()
|
933 |
+
TypeError: __init__() missing 1 required positional argument: 'config'
|
934 |
+
[2024-03-11 14:27:15,876:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
935 |
+
[2024-03-11 14:27:15,896:INFO:common: yaml file: config\config.yaml loaded successfully]
|
936 |
+
[2024-03-11 14:27:15,906:INFO:common: yaml file: params.yaml loaded successfully]
|
937 |
+
[2024-03-11 14:27:15,922:INFO:common: yaml file: schema.yaml loaded successfully]
|
938 |
+
[2024-03-11 14:27:15,923:INFO:common: created directory at: artifacts]
|
939 |
+
[2024-03-11 14:27:15,925:INFO:common: created directory at: artifacts/data_ingestion]
|
940 |
+
[2024-03-11 14:27:17,829:INFO:data_injestion: artifacts/data_ingestion/data.zip download! with following info
|
941 |
+
Connection: close
|
942 |
+
Content-Length: 234325
|
943 |
+
Cache-Control: max-age=300
|
944 |
+
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
|
945 |
+
Content-Type: application/zip
|
946 |
+
ETag: "27d203e0f87b934027405ae7962307a9a0f2d68f187da13a0f96cad0ba6b47a0"
|
947 |
+
Strict-Transport-Security: max-age=31536000
|
948 |
+
X-Content-Type-Options: nosniff
|
949 |
+
X-Frame-Options: deny
|
950 |
+
X-XSS-Protection: 1; mode=block
|
951 |
+
X-GitHub-Request-Id: 6BA2:7596:C7611F:EF5D08:65EEC76B
|
952 |
+
Accept-Ranges: bytes
|
953 |
+
Date: Mon, 11 Mar 2024 08:57:17 GMT
|
954 |
+
Via: 1.1 varnish
|
955 |
+
X-Served-By: cache-fjr990027-FJR
|
956 |
+
X-Cache: MISS
|
957 |
+
X-Cache-Hits: 0
|
958 |
+
X-Timer: S1710147437.082257,VS0,VE604
|
959 |
+
Vary: Authorization,Accept-Encoding,Origin
|
960 |
+
Access-Control-Allow-Origin: *
|
961 |
+
Cross-Origin-Resource-Policy: cross-origin
|
962 |
+
X-Fastly-Request-ID: 7567b2613e9ea4f25341649f53566483451cb01d
|
963 |
+
Expires: Mon, 11 Mar 2024 09:02:17 GMT
|
964 |
+
Source-Age: 0
|
965 |
+
|
966 |
+
]
|
967 |
+
[2024-03-11 14:27:17,896:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
968 |
+
[2024-03-11 14:27:17,896:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
969 |
+
[2024-03-11 14:27:17,902:INFO:common: yaml file: config\config.yaml loaded successfully]
|
970 |
+
[2024-03-11 14:27:17,904:INFO:common: yaml file: params.yaml loaded successfully]
|
971 |
+
[2024-03-11 14:27:17,907:INFO:common: yaml file: schema.yaml loaded successfully]
|
972 |
+
[2024-03-11 14:27:17,908:INFO:common: created directory at: artifacts]
|
973 |
+
[2024-03-11 14:27:17,911:INFO:common: created directory at: artifacts/data_validation]
|
974 |
+
[2024-03-11 14:27:18,191:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
975 |
+
|
976 |
+
x==========x]
|
977 |
+
[2024-03-11 14:27:18,192:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
978 |
+
[2024-03-11 14:27:18,203:INFO:common: yaml file: config\config.yaml loaded successfully]
|
979 |
+
[2024-03-11 14:27:18,204:INFO:common: yaml file: params.yaml loaded successfully]
|
980 |
+
[2024-03-11 14:27:18,207:INFO:common: yaml file: schema.yaml loaded successfully]
|
981 |
+
[2024-03-11 14:27:18,208:INFO:common: created directory at: artifacts]
|
982 |
+
[2024-03-11 14:27:18,209:INFO:common: created directory at: artifacts/data_transformation]
|
983 |
+
[2024-03-11 14:27:18,304:INFO:data_transformation: Splitted data into training and the test sets]
|
984 |
+
[2024-03-11 14:27:18,305:INFO:data_transformation: (7500, 12)]
|
985 |
+
[2024-03-11 14:27:18,305:INFO:data_transformation: (2500, 12)]
|
986 |
+
[2024-03-11 14:27:18,306:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
987 |
+
|
988 |
+
x==========x]
|
989 |
+
[2024-03-11 14:27:18,307:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
990 |
+
[2024-03-11 14:27:18,313:INFO:common: yaml file: config\config.yaml loaded successfully]
|
991 |
+
[2024-03-11 14:27:18,315:INFO:common: yaml file: params.yaml loaded successfully]
|
992 |
+
[2024-03-11 14:27:18,320:INFO:common: yaml file: schema.yaml loaded successfully]
|
993 |
+
[2024-03-11 14:27:18,321:INFO:common: created directory at: artifacts]
|
994 |
+
[2024-03-11 14:27:18,322:INFO:common: created directory at: artifacts/model_trainer]
|
995 |
+
[2024-03-11 14:27:27,705:INFO:main: >>>>>> stage Model Training completed <<<<<<
|
996 |
+
|
997 |
+
x==========x]
|
998 |
+
[2024-03-11 14:27:27,705:INFO:main: >>>>>> stage Model Evaluation started <<<<<<]
|
999 |
+
[2024-03-11 14:27:27,709:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1000 |
+
[2024-03-11 14:27:27,710:INFO:common: yaml file: params.yaml loaded successfully]
|
1001 |
+
[2024-03-11 14:27:27,714:INFO:common: yaml file: schema.yaml loaded successfully]
|
1002 |
+
[2024-03-11 14:27:27,715:INFO:common: created directory at: artifacts]
|
1003 |
+
[2024-03-11 14:27:27,716:INFO:common: created directory at: artifacts/model_evaluation]
|
1004 |
+
[2024-03-11 14:27:28,255:INFO:common: json file saved at: artifacts\model_evaluation\metrics.json]
|
1005 |
+
[2024-03-11 14:27:38,520:INFO:main: >>>>>> stage Model Evaluation completed <<<<<<
|
1006 |
+
|
1007 |
+
x==========x]
|
1008 |
+
[2024-03-11 14:32:42,921:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
1009 |
+
[2024-03-11 14:32:42,928:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1010 |
+
[2024-03-11 14:32:42,932:INFO:common: yaml file: params.yaml loaded successfully]
|
1011 |
+
[2024-03-11 14:32:42,935:INFO:common: yaml file: schema.yaml loaded successfully]
|
1012 |
+
[2024-03-11 14:32:42,937:INFO:common: created directory at: artifacts]
|
1013 |
+
[2024-03-11 14:32:42,938:INFO:common: created directory at: artifacts/data_ingestion]
|
1014 |
+
[2024-03-11 14:32:42,940:INFO:data_injestion: File already exists of size: ~ 229 KB]
|
1015 |
+
[2024-03-11 14:32:42,952:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
1016 |
+
[2024-03-11 14:32:42,953:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
1017 |
+
[2024-03-11 14:32:42,958:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1018 |
+
[2024-03-11 14:32:42,960:INFO:common: yaml file: params.yaml loaded successfully]
|
1019 |
+
[2024-03-11 14:32:42,964:INFO:common: yaml file: schema.yaml loaded successfully]
|
1020 |
+
[2024-03-11 14:32:42,965:INFO:common: created directory at: artifacts]
|
1021 |
+
[2024-03-11 14:32:42,967:INFO:common: created directory at: artifacts/data_validation]
|
1022 |
+
[2024-03-11 14:32:43,270:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
1023 |
+
|
1024 |
+
x==========x]
|
1025 |
+
[2024-03-11 14:32:43,271:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
1026 |
+
[2024-03-11 14:32:43,320:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1027 |
+
[2024-03-11 14:32:43,322:INFO:common: yaml file: params.yaml loaded successfully]
|
1028 |
+
[2024-03-11 14:32:43,326:INFO:common: yaml file: schema.yaml loaded successfully]
|
1029 |
+
[2024-03-11 14:32:43,327:INFO:common: created directory at: artifacts]
|
1030 |
+
[2024-03-11 14:32:43,328:INFO:common: created directory at: artifacts/data_transformation]
|
1031 |
+
[2024-03-11 14:32:43,431:INFO:data_transformation: Splitted data into training and the test sets]
|
1032 |
+
[2024-03-11 14:32:43,432:INFO:data_transformation: (7500, 12)]
|
1033 |
+
[2024-03-11 14:32:43,433:INFO:data_transformation: (2500, 12)]
|
1034 |
+
[2024-03-11 14:32:43,434:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
1035 |
+
|
1036 |
+
x==========x]
|
1037 |
+
[2024-03-11 14:32:43,435:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
1038 |
+
[2024-03-11 14:32:43,440:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1039 |
+
[2024-03-11 14:32:43,441:INFO:common: yaml file: params.yaml loaded successfully]
|
1040 |
+
[2024-03-11 14:32:43,444:INFO:common: yaml file: schema.yaml loaded successfully]
|
1041 |
+
[2024-03-11 14:32:43,445:INFO:common: created directory at: artifacts]
|
1042 |
+
[2024-03-11 14:32:43,446:INFO:common: created directory at: artifacts/model_trainer]
|
1043 |
+
[2024-03-11 14:32:53,160:INFO:main: >>>>>> stage Model Training completed <<<<<<
|
1044 |
+
|
1045 |
+
x==========x]
|
1046 |
+
[2024-03-11 14:32:53,161:INFO:main: >>>>>> stage Model Evaluation started <<<<<<]
|
1047 |
+
[2024-03-11 14:32:53,165:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1048 |
+
[2024-03-11 14:32:53,167:INFO:common: yaml file: params.yaml loaded successfully]
|
1049 |
+
[2024-03-11 14:32:53,171:INFO:common: yaml file: schema.yaml loaded successfully]
|
1050 |
+
[2024-03-11 14:32:53,172:INFO:common: created directory at: artifacts]
|
1051 |
+
[2024-03-11 14:32:53,172:INFO:common: created directory at: artifacts/model_evaluation]
|
1052 |
+
[2024-03-11 14:32:54,107:INFO:common: json file saved at: artifacts\model_evaluation\metrics.json]
|
1053 |
+
[2024-03-11 14:33:01,123:INFO:main: >>>>>> stage Model Evaluation completed <<<<<<
|
1054 |
+
|
1055 |
+
x==========x]
|
1056 |
+
[2024-03-11 14:37:19,049:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
1057 |
+
[2024-03-11 14:37:19,057:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1058 |
+
[2024-03-11 14:37:19,061:INFO:common: yaml file: params.yaml loaded successfully]
|
1059 |
+
[2024-03-11 14:37:19,064:INFO:common: yaml file: schema.yaml loaded successfully]
|
1060 |
+
[2024-03-11 14:37:19,066:INFO:common: created directory at: artifacts]
|
1061 |
+
[2024-03-11 14:37:19,067:INFO:common: created directory at: artifacts/data_ingestion]
|
1062 |
+
[2024-03-11 14:37:19,067:INFO:data_injestion: File already exists of size: ~ 229 KB]
|
1063 |
+
[2024-03-11 14:37:19,078:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
1064 |
+
[2024-03-11 14:37:19,078:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
1065 |
+
[2024-03-11 14:37:19,087:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1066 |
+
[2024-03-11 14:37:19,090:INFO:common: yaml file: params.yaml loaded successfully]
|
1067 |
+
[2024-03-11 14:37:19,097:INFO:common: yaml file: schema.yaml loaded successfully]
|
1068 |
+
[2024-03-11 14:37:19,098:INFO:common: created directory at: artifacts]
|
1069 |
+
[2024-03-11 14:37:19,099:INFO:common: created directory at: artifacts/data_validation]
|
1070 |
+
[2024-03-11 14:37:19,189:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
1071 |
+
|
1072 |
+
x==========x]
|
1073 |
+
[2024-03-11 14:37:19,191:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
1074 |
+
[2024-03-11 14:37:19,200:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1075 |
+
[2024-03-11 14:37:19,203:INFO:common: yaml file: params.yaml loaded successfully]
|
1076 |
+
[2024-03-11 14:37:19,211:INFO:common: yaml file: schema.yaml loaded successfully]
|
1077 |
+
[2024-03-11 14:37:19,212:INFO:common: created directory at: artifacts]
|
1078 |
+
[2024-03-11 14:37:19,213:INFO:common: created directory at: artifacts/data_transformation]
|
1079 |
+
[2024-03-11 14:37:19,342:INFO:data_transformation: Splitted data into training and the test sets]
|
1080 |
+
[2024-03-11 14:37:19,343:INFO:data_transformation: (7500, 12)]
|
1081 |
+
[2024-03-11 14:37:19,344:INFO:data_transformation: (2500, 12)]
|
1082 |
+
[2024-03-11 14:37:19,345:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
1083 |
+
|
1084 |
+
x==========x]
|
1085 |
+
[2024-03-11 14:37:19,346:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
1086 |
+
[2024-03-11 14:37:19,352:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1087 |
+
[2024-03-11 14:37:19,354:INFO:common: yaml file: params.yaml loaded successfully]
|
1088 |
+
[2024-03-11 14:37:19,359:INFO:common: yaml file: schema.yaml loaded successfully]
|
1089 |
+
[2024-03-11 14:37:19,360:INFO:common: created directory at: artifacts]
|
1090 |
+
[2024-03-11 14:37:19,362:INFO:common: created directory at: artifacts/model_trainer]
|
1091 |
+
[2024-03-11 14:37:34,416:INFO:main: >>>>>> stage Model Training completed <<<<<<
|
1092 |
+
|
1093 |
+
x==========x]
|
1094 |
+
[2024-03-11 14:37:34,418:INFO:main: >>>>>> stage Model Evaluation started <<<<<<]
|
1095 |
+
[2024-03-11 14:37:34,433:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1096 |
+
[2024-03-11 14:37:34,434:INFO:common: yaml file: params.yaml loaded successfully]
|
1097 |
+
[2024-03-11 14:37:34,438:INFO:common: yaml file: schema.yaml loaded successfully]
|
1098 |
+
[2024-03-11 14:37:34,439:INFO:common: created directory at: artifacts]
|
1099 |
+
[2024-03-11 14:37:34,440:INFO:common: created directory at: artifacts/model_evaluation]
|
1100 |
+
[2024-03-11 14:37:37,358:INFO:common: json file saved at: artifacts\model_evaluation\metrics.json]
|
1101 |
+
[2024-03-11 14:37:50,235:INFO:main: >>>>>> stage Model Evaluation completed <<<<<<
|
1102 |
+
|
1103 |
+
x==========x]
|
1104 |
+
[2024-03-12 00:55:42,100:INFO:_internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
1105 |
+
* Running on all addresses (0.0.0.0)
|
1106 |
+
* Running on http://127.0.0.1:8080
|
1107 |
+
* Running on http://192.168.0.111:8080]
|
1108 |
+
[2024-03-12 00:55:42,100:INFO:_internal: [33mPress CTRL+C to quit[0m]
|
1109 |
+
[2024-03-12 00:55:42,112:INFO:_internal: * Restarting with stat]
|
1110 |
+
[2024-03-12 00:55:43,063:WARNING:_internal: * Debugger is active!]
|
1111 |
+
[2024-03-12 00:55:43,063:INFO:_internal: * Debugger PIN: 104-152-287]
|
1112 |
+
[2024-03-12 00:55:57,406:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 00:55:57] "GET / HTTP/1.1" 200 -]
|
1113 |
+
[2024-03-12 00:55:57,511:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 00:55:57] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -]
|
1114 |
+
[2024-03-12 00:58:46,397:INFO:_internal: 127.0.0.1 - - [12/Mar/2024 00:58:46] "GET / HTTP/1.1" 200 -]
|
1115 |
+
[2024-03-12 00:58:46,450:INFO:_internal: 127.0.0.1 - - [12/Mar/2024 00:58:46] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -]
|
1116 |
+
[2024-03-12 00:59:01,188:INFO:_internal: 127.0.0.1 - - [12/Mar/2024 00:59:01] "GET / HTTP/1.1" 200 -]
|
1117 |
+
[2024-03-12 00:59:07,482:INFO:_internal: 127.0.0.1 - - [12/Mar/2024 00:59:07] "GET / HTTP/1.1" 200 -]
|
1118 |
+
[2024-03-12 00:59:13,487:INFO:_internal: 127.0.0.1 - - [12/Mar/2024 00:59:13] "GET / HTTP/1.1" 200 -]
|
1119 |
+
[2024-03-12 00:59:55,954:INFO:_internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
1120 |
+
* Running on all addresses (0.0.0.0)
|
1121 |
+
* Running on http://127.0.0.1:8080
|
1122 |
+
* Running on http://192.168.0.111:8080]
|
1123 |
+
[2024-03-12 00:59:55,954:INFO:_internal: [33mPress CTRL+C to quit[0m]
|
1124 |
+
[2024-03-12 00:59:55,957:INFO:_internal: * Restarting with stat]
|
1125 |
+
[2024-03-12 01:00:55,345:INFO:_internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
1126 |
+
* Running on all addresses (0.0.0.0)
|
1127 |
+
* Running on http://127.0.0.1:8080
|
1128 |
+
* Running on http://192.168.0.111:8080]
|
1129 |
+
[2024-03-12 01:00:55,346:INFO:_internal: [33mPress CTRL+C to quit[0m]
|
1130 |
+
[2024-03-12 01:00:55,348:INFO:_internal: * Restarting with stat]
|
1131 |
+
[2024-03-12 01:00:56,338:WARNING:_internal: * Debugger is active!]
|
1132 |
+
[2024-03-12 01:00:56,373:INFO:_internal: * Debugger PIN: 104-152-287]
|
1133 |
+
[2024-03-12 01:01:31,233:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:01:31] "GET / HTTP/1.1" 200 -]
|
1134 |
+
[2024-03-12 01:01:44,027:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:01:44] "GET / HTTP/1.1" 200 -]
|
1135 |
+
[2024-03-12 01:01:47,313:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:01:47] "GET / HTTP/1.1" 200 -]
|
1136 |
+
[2024-03-12 01:02:16,200:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:02:16] "GET / HTTP/1.1" 200 -]
|
1137 |
+
[2024-03-12 01:04:18,103:INFO:_internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
1138 |
+
* Running on all addresses (0.0.0.0)
|
1139 |
+
* Running on http://127.0.0.1:8080
|
1140 |
+
* Running on http://192.168.0.111:8080]
|
1141 |
+
[2024-03-12 01:04:18,104:INFO:_internal: [33mPress CTRL+C to quit[0m]
|
1142 |
+
[2024-03-12 01:04:18,106:INFO:_internal: * Restarting with stat]
|
1143 |
+
[2024-03-12 01:04:19,031:WARNING:_internal: * Debugger is active!]
|
1144 |
+
[2024-03-12 01:04:19,049:INFO:_internal: * Debugger PIN: 104-152-287]
|
1145 |
+
[2024-03-12 01:04:21,174:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:04:21] "GET / HTTP/1.1" 200 -]
|
1146 |
+
[2024-03-12 01:04:21,236:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:04:21] "[33mGET /static/css/styles.css HTTP/1.1[0m" 404 -]
|
1147 |
+
[2024-03-12 01:04:21,238:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:04:21] "[33mGET /static/css2/nunito-font.css HTTP/1.1[0m" 404 -]
|
1148 |
+
[2024-03-12 01:04:21,240:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:04:21] "[33mGET /static/css2/style.css HTTP/1.1[0m" 404 -]
|
1149 |
+
[2024-03-12 01:04:22,565:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:04:22] "[33mGET /static/assets/img/wine.jpg HTTP/1.1[0m" 404 -]
|
1150 |
+
[2024-03-12 01:04:22,567:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:04:22] "[33mGET /static/assets/img/form-v9.jpg HTTP/1.1[0m" 404 -]
|
1151 |
+
[2024-03-12 01:04:22,597:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:04:22] "[33mGET /static/assets/favicon.ico HTTP/1.1[0m" 404 -]
|
1152 |
+
[2024-03-12 01:06:26,986:INFO:_internal: * Detected change in 'C:\\MLOps\\CICD\\End-to-End-ML\\app.py', reloading]
|
1153 |
+
[2024-03-12 01:06:27,072:INFO:_internal: * Restarting with stat]
|
1154 |
+
[2024-03-12 01:06:27,948:WARNING:_internal: * Debugger is active!]
|
1155 |
+
[2024-03-12 01:06:27,967:INFO:_internal: * Debugger PIN: 104-152-287]
|
1156 |
+
[2024-03-12 01:06:44,144:INFO:_internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
1157 |
+
* Running on all addresses (0.0.0.0)
|
1158 |
+
* Running on http://127.0.0.1:8080
|
1159 |
+
* Running on http://192.168.0.111:8080]
|
1160 |
+
[2024-03-12 01:06:44,144:INFO:_internal: [33mPress CTRL+C to quit[0m]
|
1161 |
+
[2024-03-12 01:06:44,154:INFO:_internal: * Restarting with stat]
|
1162 |
+
[2024-03-12 01:06:45,091:WARNING:_internal: * Debugger is active!]
|
1163 |
+
[2024-03-12 01:06:45,111:INFO:_internal: * Debugger PIN: 104-152-287]
|
1164 |
+
[2024-03-12 01:06:49,405:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:06:49] "GET / HTTP/1.1" 200 -]
|
1165 |
+
[2024-03-12 01:06:49,439:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:06:49] "[33mGET /static/css/styles.css HTTP/1.1[0m" 404 -]
|
1166 |
+
[2024-03-12 01:06:49,442:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:06:49] "[33mGET /static/css2/nunito-font.css HTTP/1.1[0m" 404 -]
|
1167 |
+
[2024-03-12 01:06:49,447:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:06:49] "[33mGET /static/css2/style.css HTTP/1.1[0m" 404 -]
|
1168 |
+
[2024-03-12 01:06:49,486:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:06:49] "[33mGET /static/assets/img/wine.jpg HTTP/1.1[0m" 404 -]
|
1169 |
+
[2024-03-12 01:06:49,488:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:06:49] "[33mGET /static/assets/img/form-v9.jpg HTTP/1.1[0m" 404 -]
|
1170 |
+
[2024-03-12 01:07:05,782:INFO:main: >>>> stage Data Ingestion Stage started <<<<<<<<]
|
1171 |
+
[2024-03-12 01:07:05,791:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1172 |
+
[2024-03-12 01:07:05,798:INFO:common: yaml file: params.yaml loaded successfully]
|
1173 |
+
[2024-03-12 01:07:05,805:INFO:common: yaml file: schema.yaml loaded successfully]
|
1174 |
+
[2024-03-12 01:07:05,806:INFO:common: created directory at: artifacts]
|
1175 |
+
[2024-03-12 01:07:05,806:INFO:common: created directory at: artifacts/data_ingestion]
|
1176 |
+
[2024-03-12 01:07:05,807:INFO:data_injestion: File already exists of size: ~ 229 KB]
|
1177 |
+
[2024-03-12 01:07:05,822:INFO:main: >>> Stage Data Ingestion Stage completed <<<<]
|
1178 |
+
[2024-03-12 01:07:05,823:INFO:main: >>>>>> stage Data Validation stage started <<<<<<]
|
1179 |
+
[2024-03-12 01:07:05,826:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1180 |
+
[2024-03-12 01:07:05,826:INFO:common: yaml file: params.yaml loaded successfully]
|
1181 |
+
[2024-03-12 01:07:05,826:INFO:common: yaml file: schema.yaml loaded successfully]
|
1182 |
+
[2024-03-12 01:07:05,826:INFO:common: created directory at: artifacts]
|
1183 |
+
[2024-03-12 01:07:05,826:INFO:common: created directory at: artifacts/data_validation]
|
1184 |
+
[2024-03-12 01:07:05,862:INFO:main: >>>>>> stage Data Validation stage completed <<<<<<
|
1185 |
+
|
1186 |
+
x==========x]
|
1187 |
+
[2024-03-12 01:07:05,863:INFO:main: >>>>>> stage Data Transformation started <<<<<<]
|
1188 |
+
[2024-03-12 01:07:05,873:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1189 |
+
[2024-03-12 01:07:05,874:INFO:common: yaml file: params.yaml loaded successfully]
|
1190 |
+
[2024-03-12 01:07:05,877:INFO:common: yaml file: schema.yaml loaded successfully]
|
1191 |
+
[2024-03-12 01:07:05,878:INFO:common: created directory at: artifacts]
|
1192 |
+
[2024-03-12 01:07:05,878:INFO:common: created directory at: artifacts/data_transformation]
|
1193 |
+
[2024-03-12 01:07:05,929:INFO:data_transformation: Splitted data into training and the test sets]
|
1194 |
+
[2024-03-12 01:07:05,929:INFO:data_transformation: (7500, 12)]
|
1195 |
+
[2024-03-12 01:07:05,929:INFO:data_transformation: (2500, 12)]
|
1196 |
+
[2024-03-12 01:07:05,929:INFO:main: >>>>>> stage Data Transformation completed <<<<<<
|
1197 |
+
|
1198 |
+
x==========x]
|
1199 |
+
[2024-03-12 01:07:05,929:INFO:main: >>>>>> stage Model Training started <<<<<<]
|
1200 |
+
[2024-03-12 01:07:05,929:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1201 |
+
[2024-03-12 01:07:05,943:INFO:common: yaml file: params.yaml loaded successfully]
|
1202 |
+
[2024-03-12 01:07:05,946:INFO:common: yaml file: schema.yaml loaded successfully]
|
1203 |
+
[2024-03-12 01:07:05,946:INFO:common: created directory at: artifacts]
|
1204 |
+
[2024-03-12 01:07:05,947:INFO:common: created directory at: artifacts/model_trainer]
|
1205 |
+
[2024-03-12 01:07:12,027:INFO:main: >>>>>> stage Model Training completed <<<<<<
|
1206 |
+
|
1207 |
+
x==========x]
|
1208 |
+
[2024-03-12 01:07:12,027:INFO:main: >>>>>> stage Model Evaluation started <<<<<<]
|
1209 |
+
[2024-03-12 01:07:12,027:INFO:common: yaml file: config\config.yaml loaded successfully]
|
1210 |
+
[2024-03-12 01:07:12,027:INFO:common: yaml file: params.yaml loaded successfully]
|
1211 |
+
[2024-03-12 01:07:12,035:INFO:common: yaml file: schema.yaml loaded successfully]
|
1212 |
+
[2024-03-12 01:07:12,036:INFO:common: created directory at: artifacts]
|
1213 |
+
[2024-03-12 01:07:12,037:INFO:common: created directory at: artifacts/model_evaluation]
|
1214 |
+
[2024-03-12 01:07:12,419:INFO:common: json file saved at: artifacts\model_evaluation\metrics.json]
|
1215 |
+
[2024-03-12 01:07:17,696:INFO:main: >>>>>> stage Model Evaluation completed <<<<<<
|
1216 |
+
|
1217 |
+
x==========x]
|
1218 |
+
[2024-03-12 01:07:17,959:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:07:17] "GET /train HTTP/1.1" 200 -]
|
1219 |
+
[2024-03-12 01:34:40,674:INFO:_internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
1220 |
+
* Running on all addresses (0.0.0.0)
|
1221 |
+
* Running on http://127.0.0.1:8080
|
1222 |
+
* Running on http://192.168.0.111:8080]
|
1223 |
+
[2024-03-12 01:34:40,674:INFO:_internal: [33mPress CTRL+C to quit[0m]
|
1224 |
+
[2024-03-12 01:34:40,691:INFO:_internal: * Restarting with stat]
|
1225 |
+
[2024-03-12 01:34:41,616:WARNING:_internal: * Debugger is active!]
|
1226 |
+
[2024-03-12 01:34:41,637:INFO:_internal: * Debugger PIN: 104-152-287]
|
1227 |
+
[2024-03-12 01:34:54,339:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:34:54] "GET / HTTP/1.1" 200 -]
|
1228 |
+
[2024-03-12 01:34:54,361:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:34:54] "[33mGET /static/css/styles.css HTTP/1.1[0m" 404 -]
|
1229 |
+
[2024-03-12 01:34:54,367:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:34:54] "[33mGET /static/css2/nunito-font.css HTTP/1.1[0m" 404 -]
|
1230 |
+
[2024-03-12 01:34:54,369:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:34:54] "[33mGET /static/css2/style.css HTTP/1.1[0m" 404 -]
|
1231 |
+
[2024-03-12 01:34:54,394:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:34:54] "[33mGET /static/assets/img/wine.jpg HTTP/1.1[0m" 404 -]
|
1232 |
+
[2024-03-12 01:34:54,395:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:34:54] "[33mGET /static/assets/img/form-v9.jpg HTTP/1.1[0m" 404 -]
|
1233 |
+
[2024-03-12 01:37:12,090:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:37:12] "POST /predict HTTP/1.1" 200 -]
|
1234 |
+
[2024-03-12 01:37:28,706:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:37:28] "POST /predict HTTP/1.1" 200 -]
|
1235 |
+
[2024-03-12 01:37:43,759:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:37:43] "POST /predict HTTP/1.1" 200 -]
|
1236 |
+
[2024-03-12 01:38:02,278:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:38:02] "POST /predict HTTP/1.1" 200 -]
|
1237 |
+
[2024-03-12 01:38:09,174:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:38:09] "POST /predict HTTP/1.1" 200 -]
|
1238 |
+
[2024-03-12 01:38:20,379:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:38:20] "POST /predict HTTP/1.1" 200 -]
|
1239 |
+
[2024-03-12 01:38:34,116:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:38:34] "POST /predict HTTP/1.1" 200 -]
|
1240 |
+
[2024-03-12 01:38:50,118:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:38:50] "POST /predict HTTP/1.1" 200 -]
|
1241 |
+
[2024-03-12 01:38:55,236:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:38:55] "POST /predict HTTP/1.1" 200 -]
|
1242 |
+
[2024-03-12 01:39:02,136:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:39:02] "POST /predict HTTP/1.1" 200 -]
|
1243 |
+
[2024-03-12 01:39:08,722:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:39:08] "POST /predict HTTP/1.1" 200 -]
|
1244 |
+
[2024-03-12 01:39:21,508:INFO:_internal: 192.168.0.111 - - [12/Mar/2024 01:39:21] "POST /predict HTTP/1.1" 200 -]
|
1245 |
+
[2024-03-13 16:32:54,722:INFO:_internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
1246 |
+
* Running on all addresses (0.0.0.0)
|
1247 |
+
* Running on http://127.0.0.1:8080
|
1248 |
+
* Running on http://192.168.0.111:8080]
|
1249 |
+
[2024-03-13 16:32:54,722:INFO:_internal: [33mPress CTRL+C to quit[0m]
|
1250 |
+
[2024-03-13 16:32:54,729:INFO:_internal: * Restarting with stat]
|
1251 |
+
[2024-03-13 16:32:57,949:WARNING:_internal: * Debugger is active!]
|
1252 |
+
[2024-03-13 16:32:57,981:INFO:_internal: * Debugger PIN: 104-152-287]
|
1253 |
+
[2024-03-13 16:33:00,227:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:00] "GET / HTTP/1.1" 200 -]
|
1254 |
+
[2024-03-13 16:33:00,660:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:00] "[33mGET /static/css/styles.css HTTP/1.1[0m" 404 -]
|
1255 |
+
[2024-03-13 16:33:00,668:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:00] "[33mGET /static/css2/nunito-font.css HTTP/1.1[0m" 404 -]
|
1256 |
+
[2024-03-13 16:33:00,708:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:00] "[33mGET /static/css2/style.css HTTP/1.1[0m" 404 -]
|
1257 |
+
[2024-03-13 16:33:01,229:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:01] "[33mGET /static/assets/img/wine.jpg HTTP/1.1[0m" 404 -]
|
1258 |
+
[2024-03-13 16:33:02,973:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:02] "[33mGET /static/assets/img/form-v9.jpg HTTP/1.1[0m" 404 -]
|
1259 |
+
[2024-03-13 16:33:03,023:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:03] "[33mGET /static/assets/favicon.ico HTTP/1.1[0m" 404 -]
|
1260 |
+
[2024-03-13 16:33:23,632:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:23] "POST /predict HTTP/1.1" 200 -]
|
1261 |
+
[2024-03-13 16:33:23,684:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:23] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -]
|
1262 |
+
[2024-03-13 16:33:36,899:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:36] "POST /predict HTTP/1.1" 200 -]
|
1263 |
+
[2024-03-13 16:33:43,438:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:43] "POST /predict HTTP/1.1" 200 -]
|
1264 |
+
[2024-03-13 16:33:49,693:INFO:_internal: 192.168.0.111 - - [13/Mar/2024 16:33:49] "POST /predict HTTP/1.1" 200 -]
|
1265 |
+
[2024-03-15 00:33:29,927:INFO:_internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
1266 |
+
* Running on all addresses (0.0.0.0)
|
1267 |
+
* Running on http://127.0.0.1:8080
|
1268 |
+
* Running on http://192.168.0.111:8080]
|
1269 |
+
[2024-03-15 00:33:29,930:INFO:_internal: [33mPress CTRL+C to quit[0m]
|
1270 |
+
[2024-03-15 00:33:29,934:INFO:_internal: * Restarting with stat]
|
1271 |
+
[2024-03-15 00:33:31,749:WARNING:_internal: * Debugger is active!]
|
1272 |
+
[2024-03-15 00:33:31,799:INFO:_internal: * Debugger PIN: 104-152-287]
|
1273 |
+
[2024-03-15 00:33:35,767:INFO:_internal: 192.168.0.111 - - [15/Mar/2024 00:33:35] "GET / HTTP/1.1" 200 -]
|
1274 |
+
[2024-03-15 00:33:35,786:INFO:_internal: 192.168.0.111 - - [15/Mar/2024 00:33:35] "[33mGET /static/css/styles.css HTTP/1.1[0m" 404 -]
|
1275 |
+
[2024-03-15 00:33:35,790:INFO:_internal: 192.168.0.111 - - [15/Mar/2024 00:33:35] "[33mGET /static/css2/style.css HTTP/1.1[0m" 404 -]
|
1276 |
+
[2024-03-15 00:33:35,805:INFO:_internal: 192.168.0.111 - - [15/Mar/2024 00:33:35] "[33mGET /static/css2/nunito-font.css HTTP/1.1[0m" 404 -]
|
1277 |
+
[2024-03-15 00:33:35,862:INFO:_internal: 192.168.0.111 - - [15/Mar/2024 00:33:35] "[33mGET /static/assets/img/wine.jpg HTTP/1.1[0m" 404 -]
|
1278 |
+
[2024-03-15 00:33:35,876:INFO:_internal: 192.168.0.111 - - [15/Mar/2024 00:33:35] "[33mGET /static/assets/img/form-v9.jpg HTTP/1.1[0m" 404 -]
|
1279 |
+
[2024-03-15 00:33:35,933:INFO:_internal: 192.168.0.111 - - [15/Mar/2024 00:33:35] "[33mGET /static/assets/favicon.ico HTTP/1.1[0m" 404 -]
|
1280 |
+
[2024-03-15 00:33:50,332:INFO:_internal: 192.168.0.111 - - [15/Mar/2024 00:33:50] "POST /predict HTTP/1.1" 200 -]
|
1281 |
+
[2024-03-15 00:33:50,374:INFO:_internal: 192.168.0.111 - - [15/Mar/2024 00:33:50] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -]
|
main.py
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from mlProject import logger
|
2 |
+
from mlProject.pipeline.stage01_data_ingestion import DataIngestionPipeline
|
3 |
+
from mlProject.pipeline.stage02_data_validation import DataValidationPipeline
|
4 |
+
from mlProject.pipeline.stage03_data_transformation import DataTransformationPipeline
|
5 |
+
from mlProject.pipeline.stage04_model_trainer import ModelTrainerPipeline
|
6 |
+
from mlProject.pipeline.stage05_model_evaluation import ModelEvaluationPipeline
|
7 |
+
|
8 |
+
STAGE_NAME="Data Ingestion Stage"
|
9 |
+
|
10 |
+
try:
|
11 |
+
logger.info(f">>>> stage {STAGE_NAME} started <<<<<<<<")
|
12 |
+
data_ingestion=DataIngestionPipeline()
|
13 |
+
data_ingestion.main()
|
14 |
+
logger.info(f">>> Stage {STAGE_NAME} completed <<<<")
|
15 |
+
except Exception as e:
|
16 |
+
logger.info(f">>> Stage {STAGE_NAME} completed <<<<<<")
|
17 |
+
|
18 |
+
|
19 |
+
STAGE_NAME = "Data Validation stage"
|
20 |
+
try:
|
21 |
+
logger.info(f">>>>>> stage {STAGE_NAME} started <<<<<<")
|
22 |
+
data_ingestion = DataValidationPipeline()
|
23 |
+
data_ingestion.main()
|
24 |
+
logger.info(f">>>>>> stage {STAGE_NAME} completed <<<<<<\n\nx==========x")
|
25 |
+
except Exception as e:
|
26 |
+
logger.exception(e)
|
27 |
+
raise e
|
28 |
+
|
29 |
+
|
30 |
+
STAGE_NAME = "Data Transformation"
|
31 |
+
try:
|
32 |
+
logger.info(f">>>>>> stage {STAGE_NAME} started <<<<<<")
|
33 |
+
data_trans = DataTransformationPipeline()
|
34 |
+
data_trans.main()
|
35 |
+
logger.info(f">>>>>> stage {STAGE_NAME} completed <<<<<<\n\nx==========x")
|
36 |
+
except Exception as e:
|
37 |
+
logger.exception(e)
|
38 |
+
raise e
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
STAGE_NAME = "Model Training"
|
43 |
+
try:
|
44 |
+
logger.info(f">>>>>> stage {STAGE_NAME} started <<<<<<")
|
45 |
+
model_trainer = ModelTrainerPipeline()
|
46 |
+
model_trainer.main()
|
47 |
+
logger.info(f">>>>>> stage {STAGE_NAME} completed <<<<<<\n\nx==========x")
|
48 |
+
except Exception as e:
|
49 |
+
logger.exception(e)
|
50 |
+
raise e
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
STAGE_NAME= "Model Evaluation"
|
55 |
+
|
56 |
+
try:
|
57 |
+
logger.info(f">>>>>> stage {STAGE_NAME} started <<<<<<")
|
58 |
+
model_eval = ModelEvaluationPipeline()
|
59 |
+
model_eval.main()
|
60 |
+
logger.info(f">>>>>> stage {STAGE_NAME} completed <<<<<<\n\nx==========x")
|
61 |
+
except Exception as e:
|
62 |
+
logger.exception(e)
|
63 |
+
raise e
|
mlruns/0/37c830c8fb26436b9a3a4468b51580ab/meta.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
artifact_uri: file:///C:/MLOps/CICD/End-to-End-ML/mlruns/0/37c830c8fb26436b9a3a4468b51580ab/artifacts
|
2 |
+
end_time: 1710147448149
|
3 |
+
entry_point_name: ''
|
4 |
+
experiment_id: '0'
|
5 |
+
lifecycle_stage: active
|
6 |
+
run_id: 37c830c8fb26436b9a3a4468b51580ab
|
7 |
+
run_name: dapper-turtle-365
|
8 |
+
run_uuid: 37c830c8fb26436b9a3a4468b51580ab
|
9 |
+
source_name: ''
|
10 |
+
source_type: 4
|
11 |
+
source_version: ''
|
12 |
+
start_time: 1710147448071
|
13 |
+
status: 3
|
14 |
+
tags: []
|
15 |
+
user_id: avimi
|
mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.runName
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
dapper-turtle-365
|
mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.source.git.commit
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
0b49485974fed5634e3a8d08df0c4a921ccc6303
|
mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.source.name
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
main.py
|
mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.source.type
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
LOCAL
|
mlruns/0/37c830c8fb26436b9a3a4468b51580ab/tags/mlflow.user
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
avimi
|
mlruns/0/780535f3b02c4ac4b3a041b6084116df/meta.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
artifact_uri: file:///C:/MLOps/CICD/End-to-End-ML/mlruns/0/780535f3b02c4ac4b3a041b6084116df/artifacts
|
2 |
+
end_time: 1710147773973
|
3 |
+
entry_point_name: ''
|
4 |
+
experiment_id: '0'
|
5 |
+
lifecycle_stage: active
|
6 |
+
run_id: 780535f3b02c4ac4b3a041b6084116df
|
7 |
+
run_name: puzzled-moose-698
|
8 |
+
run_uuid: 780535f3b02c4ac4b3a041b6084116df
|
9 |
+
source_name: ''
|
10 |
+
source_type: 4
|
11 |
+
source_version: ''
|
12 |
+
start_time: 1710147773776
|
13 |
+
status: 3
|
14 |
+
tags: []
|
15 |
+
user_id: avimi
|
mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.runName
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
puzzled-moose-698
|
mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.source.git.commit
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
0b49485974fed5634e3a8d08df0c4a921ccc6303
|
mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.source.name
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
main.py
|
mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.source.type
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
LOCAL
|
mlruns/0/780535f3b02c4ac4b3a041b6084116df/tags/mlflow.user
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
avimi
|
mlruns/0/7be3446b294a4572925fb108301f070a/meta.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
artifact_uri: file:///C:/MLOps/CICD/End-to-End-ML/mlruns/0/7be3446b294a4572925fb108301f070a/artifacts
|
2 |
+
end_time: 1710185832349
|
3 |
+
entry_point_name: ''
|
4 |
+
experiment_id: '0'
|
5 |
+
lifecycle_stage: active
|
6 |
+
run_id: 7be3446b294a4572925fb108301f070a
|
7 |
+
run_name: righteous-perch-987
|
8 |
+
run_uuid: 7be3446b294a4572925fb108301f070a
|
9 |
+
source_name: ''
|
10 |
+
source_type: 4
|
11 |
+
source_version: ''
|
12 |
+
start_time: 1710185832293
|
13 |
+
status: 3
|
14 |
+
tags: []
|
15 |
+
user_id: avimi
|
mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.runName
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
righteous-perch-987
|
mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.source.git.commit
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
0b49485974fed5634e3a8d08df0c4a921ccc6303
|
mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.source.name
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
main.py
|
mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.source.type
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
LOCAL
|
mlruns/0/7be3446b294a4572925fb108301f070a/tags/mlflow.user
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
avimi
|
mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/MLmodel
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
artifact_path: mymodel
|
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.8.18
|
11 |
+
sklearn:
|
12 |
+
code: null
|
13 |
+
pickled_model: model.pkl
|
14 |
+
serialization_format: cloudpickle
|
15 |
+
sklearn_version: 1.3.2
|
16 |
+
mlflow_version: 2.2.2
|
17 |
+
model_uuid: 517aae4d0fe341e7a95625fa5ccdff42
|
18 |
+
run_id: a13569b99794432eab956fa2669ca376
|
19 |
+
utc_time_created: '2024-03-11 19:37:12.432000'
|
mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/conda.yaml
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
channels:
|
2 |
+
- conda-forge
|
3 |
+
dependencies:
|
4 |
+
- python=3.8.18
|
5 |
+
- pip<=23.3.1
|
6 |
+
- pip:
|
7 |
+
- mlflow<3,>=2.2
|
8 |
+
- cloudpickle==2.2.1
|
9 |
+
- numpy==1.24.4
|
10 |
+
- psutil==5.9.8
|
11 |
+
- scikit-learn==1.3.2
|
12 |
+
- scipy==1.10.1
|
13 |
+
name: mlflow-env
|
mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/model.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58eac243646a4817c68c4118c9ffc01a91ba9bbdec264f72be7e925b876c2bdb
|
3 |
+
size 2143260
|
mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/python_env.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
python: 3.8.18
|
2 |
+
build_dependencies:
|
3 |
+
- pip==23.3.1
|
4 |
+
- setuptools==68.2.2
|
5 |
+
- wheel==0.41.2
|
6 |
+
dependencies:
|
7 |
+
- -r requirements.txt
|
mlruns/0/a13569b99794432eab956fa2669ca376/artifacts/mymodel/requirements.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
mlflow<3,>=2.2
|
2 |
+
cloudpickle==2.2.1
|
3 |
+
numpy==1.24.4
|
4 |
+
psutil==5.9.8
|
5 |
+
scikit-learn==1.3.2
|
6 |
+
scipy==1.10.1
|
mlruns/0/a13569b99794432eab956fa2669ca376/meta.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
artifact_uri: file:///C:/MLOps/CICD/End-to-End-ML/mlruns/0/a13569b99794432eab956fa2669ca376/artifacts
|
2 |
+
end_time: 1710185837693
|
3 |
+
entry_point_name: ''
|
4 |
+
experiment_id: '0'
|
5 |
+
lifecycle_stage: active
|
6 |
+
run_id: a13569b99794432eab956fa2669ca376
|
7 |
+
run_name: righteous-seal-680
|
8 |
+
run_uuid: a13569b99794432eab956fa2669ca376
|
9 |
+
source_name: ''
|
10 |
+
source_type: 4
|
11 |
+
source_version: ''
|
12 |
+
start_time: 1710185832357
|
13 |
+
status: 3
|
14 |
+
tags: []
|
15 |
+
user_id: avimi
|
mlruns/0/a13569b99794432eab956fa2669ca376/metrics/accuracy
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
1710185832424 0.844 0
|
mlruns/0/a13569b99794432eab956fa2669ca376/metrics/precision
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
1710185832424 0.69164265129683 0
|
mlruns/0/a13569b99794432eab956fa2669ca376/metrics/recall
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
1710185832424 0.4588910133843212 0
|
mlruns/0/a13569b99794432eab956fa2669ca376/params/learning_rate
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
0.3
|
mlruns/0/a13569b99794432eab956fa2669ca376/params/max_depth
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
8
|
mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.log-model.history
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[{"run_id": "a13569b99794432eab956fa2669ca376", "artifact_path": "mymodel", "utc_time_created": "2024-03-11 19:37:12.432000", "flavors": {"python_function": {"model_path": "model.pkl", "predict_fn": "predict", "loader_module": "mlflow.sklearn", "python_version": "3.8.18", "env": {"conda": "conda.yaml", "virtualenv": "python_env.yaml"}}, "sklearn": {"pickled_model": "model.pkl", "sklearn_version": "1.3.2", "serialization_format": "cloudpickle", "code": null}}, "model_uuid": "517aae4d0fe341e7a95625fa5ccdff42", "mlflow_version": "2.2.2"}]
|
mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.runName
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
righteous-seal-680
|
mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.source.git.commit
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
0b49485974fed5634e3a8d08df0c4a921ccc6303
|
mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.source.name
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
main.py
|
mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.source.type
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
LOCAL
|
mlruns/0/a13569b99794432eab956fa2669ca376/tags/mlflow.user
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
avimi
|
mlruns/0/a6eb0854a3324076b49f132bb166b06c/artifacts/mymodel/MLmodel
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
artifact_path: mymodel
|
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.8.18
|
11 |
+
sklearn:
|
12 |
+
code: null
|
13 |
+
pickled_model: model.pkl
|
14 |
+
serialization_format: cloudpickle
|
15 |
+
sklearn_version: 1.3.2
|
16 |
+
mlflow_version: 2.2.2
|
17 |
+
model_uuid: 5dd728fd9d874e2e9a917f2aea9ac0ae
|
18 |
+
run_id: a6eb0854a3324076b49f132bb166b06c
|
19 |
+
utc_time_created: '2024-03-11 08:57:28.272174'
|
mlruns/0/a6eb0854a3324076b49f132bb166b06c/artifacts/mymodel/conda.yaml
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
channels:
|
2 |
+
- conda-forge
|
3 |
+
dependencies:
|
4 |
+
- python=3.8.18
|
5 |
+
- pip<=23.3.1
|
6 |
+
- pip:
|
7 |
+
- mlflow<3,>=2.2
|
8 |
+
- cloudpickle==2.2.1
|
9 |
+
- numpy==1.24.4
|
10 |
+
- psutil==5.9.8
|
11 |
+
- scikit-learn==1.3.2
|
12 |
+
- scipy==1.10.1
|
13 |
+
name: mlflow-env
|
mlruns/0/a6eb0854a3324076b49f132bb166b06c/artifacts/mymodel/model.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f5cbad08c68fbd8567af50faece696fe5afe28e3084acf808e58a50439e2a77
|
3 |
+
size 2101335
|
mlruns/0/a6eb0854a3324076b49f132bb166b06c/artifacts/mymodel/python_env.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
python: 3.8.18
|
2 |
+
build_dependencies:
|
3 |
+
- pip==23.3.1
|
4 |
+
- setuptools==68.2.2
|
5 |
+
- wheel==0.41.2
|
6 |
+
dependencies:
|
7 |
+
- -r requirements.txt
|