Skip to content

Commit b9fbb59

Browse files
committed
Added the final readme.md / finishing of the project
1 parent 1c8b472 commit b9fbb59

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ Runs the full pipeline on every push:
150150
- πŸ” Add role-based access control for logs
151151
- πŸ“Š Grafana + Prometheus monitoring
152152
- ☁️ Deploy to AWS Sagemaker or GCP AI Platform
153+
- ✨ CICD Pipeline
153154

154155
---
155156

@@ -161,7 +162,7 @@ If you liked this project, please consider giving it a ⭐️ and sharing with o
161162
162163
---
163164

164-
## 🧰 Project Extensions You Can Use
165+
<!-- ## 🧰 Project Extensions You Can Use
165166
166167
Would you like me to now generate:
167168
@@ -171,7 +172,7 @@ Would you like me to now generate:
171172
- πŸ“Š mlflow_tracking.py – script to log parameters, metrics, and models to MLflow
172173
- πŸ–₯️ Streamlit or Flask app – for serving your trained model via an interactive web app or API
173174
174-
---
175+
--- -->
175176

176177
## πŸ–₯️ Model Deployment Options
177178

β€Žnetworksecurity/pipeline/training_pipeline.pyβ€Ž

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,16 @@ def start_model_trainer(self, data_transformation_artifact: DataTransformationAr
7777
logger.info("βœ… Model training completed successfully.")
7878
logger.info(f"πŸ“¦ Model Trainer Artifact: {model_trainer_artifact}")
7979
except Exception as e:
80-
raise CustomException(e, sys) from e
80+
raise CustomException(e, sys) from e
81+
82+
def run_pipeline(self):
83+
try:
84+
logger.info("πŸš€ Starting the training pipeline...")
85+
data_ingestion_artifact = self.start_data_ingestion()
86+
data_validation_artifact = self.start_data_validation(data_ingestion_artifact)
87+
data_transformation_artifact = self.start_data_transformation(data_validation_artifact)
88+
model_trainer_artifact = self.start_model_trainer(data_transformation_artifact)
89+
logger.info("βœ… Training pipeline completed successfully.")
90+
return model_trainer_artifact
91+
except Exception as e:
92+
raise CustomException(e, sys) from e

0 commit comments

Comments
Β (0)