Spaces:
Running
Running
File size: 1,187 Bytes
19d70f4 a7d80f2 19d70f4 a7d80f2 19d70f4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | from dataclasses import dataclass
from pathlib import Path
@dataclass(frozen=True)
class DataIngestionConfig:
root_dir: Path
source_url: str
local_data_file: Path
unzip_dir: Path
@dataclass(frozen=True)
class DataValidationConfig:
root_dir: Path
data_dir: Path
status_file: Path
schema_file: Path
@dataclass(frozen=True)
class DataTransformationConfig:
root_dir: Path
data_path: Path
train_path: Path
test_path: Path
test_size: float
random_state: int
@dataclass(frozen=True)
class FeatureEngineeringConfig:
root_dir: Path
train_path: Path
test_path: Path
output_train_path: Path
output_test_path: Path
@dataclass(frozen=True)
class ModelTrainerConfig:
root_dir: Path
train_data_path: Path
test_data_path: Path
model_path: Path
target_column: str
automl_library: str
@dataclass(frozen=True)
class ModelEvaluationConfig:
root_dir: Path
model_path: Path
test_data_path: Path
metrics_file: Path
target_column: str
automl_library: str
@dataclass(frozen=True)
class ModelPusherConfig:
root_dir: Path
model_path: Path
model_registry_path: Path |