Spaces:
Runtime error
Runtime error
Download src/mlProject/entity/config_entity.py from RasoulSahibzadah/Machine-Learning-MLflow: direct link, hf CLI and curl.
- Browser
- Download file 901 Bytes
-
https://huggingface.co/spaces/RasoulSahibzadah/Machine-Learning-MLflow/resolve/main/src/mlProject/entity/config_entity.py
- Command line
-
hf download hf://spaces/RasoulSahibzadah/Machine-Learning-MLflow/src/mlProject/entity/config_entity.py
-
curl -L -o config_entity.py https://huggingface.co/spaces/RasoulSahibzadah/Machine-Learning-MLflow/resolve/main/src/mlProject/entity/config_entity.py
901 Bytes
| from dataclasses import dataclass | |
| from pathlib import Path | |
| class DataIngestionConfig: | |
| root_dir: Path | |
| source_URL: str | |
| 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 | |
| data_path: Path | |
| class ModelTrainerConfig: | |
| root_dir: Path | |
| train_data_path: Path | |
| test_data_path: Path | |
| model_name: str | |
| alpha: float | |
| l1_ratio: float | |
| target_column: str | |
| class ModelEvaluationConfig: | |
| root_dir: Path | |
| test_data_path: Path | |
| model_path: Path | |
| all_params: dict | |
| metric_file_name: Path | |
| target_column: str | |
| mlflow_uri: str |