Spaces:
Sleeping
Sleeping
Download src/entity/config_entity.py from Ducdata1808/customer-churn-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/spaces/Ducdata1808/customer-churn-backend/resolve/main/src/entity/config_entity.py
- Command line
-
hf download hf://spaces/Ducdata1808/customer-churn-backend/src/entity/config_entity.py
-
curl -L -o config_entity.py https://huggingface.co/spaces/Ducdata1808/customer-churn-backend/resolve/main/src/entity/config_entity.py
1.16 kB
| from dataclasses import dataclass | |
| from pathlib import Path | |
| from pickle import TRUE | |
| """ | |
| cấu hình cho các bước trong pipeline | |
| """ | |
| class DataIngestionConfig: | |
| root_dir: Path | |
| local_data_file: Path | |
| unzip_dir: Path | |
| class DataValidationConfig: | |
| root_dir: Path | |
| STATUS_FILE: str | |
| unzip_data_dir: Path | |
| all_schema: dict | |
| class DataTransformationConfig: | |
| root_dir: Path | |
| train_data_path: Path | |
| test_data_path: Path | |
| preprocessor_path: Path | |
| class ModelTrainerConfig: | |
| root_dir: Path | |
| train_data_path: Path | |
| test_data_path: Path | |
| model_name: str | |
| lgbm_params: dict | |
| xgboost_params: dict | |
| mlflow_uri: str | |
| class ModelEvaluationConfig: | |
| root_dir: Path | |
| test_data_path: Path | |
| model_path: Path | |
| all_params: dict | |
| metric_file_name: Path | |
| mlflow_uri: str | |
| class PredictionConfig: | |
| root_dir: Path | |
| model_path: Path | |
| preprocessor_path: Path | |
| test_data_path: Path | |
| output_path: Path |