Spaces:
Sleeping
Sleeping
Download networksecurity/entity/artifact_entity.py from Divb30/network-intrusion-detection: direct link, hf CLI and curl.
- Browser
- Download file 816 Bytes
-
https://huggingface.co/spaces/Divb30/network-intrusion-detection/resolve/main/networksecurity/entity/artifact_entity.py
- Command line
-
hf download hf://spaces/Divb30/network-intrusion-detection/networksecurity/entity/artifact_entity.py
-
curl -L -o artifact_entity.py https://huggingface.co/spaces/Divb30/network-intrusion-detection/resolve/main/networksecurity/entity/artifact_entity.py
816 Bytes
| from dataclasses import dataclass | |
| class DataIngestionArtifact: | |
| trained_file_path:str | |
| test_file_path:str | |
| class DataValidationArtifact: | |
| validation_status: bool | |
| valid_train_file_path: str | |
| valid_test_file_path: str | |
| invalid_train_file_path: str | |
| invalid_test_file_path: str | |
| drift_report_file_path: str | |
| class DataTransformationArtifact: | |
| transformed_object_file_path: str | |
| transformed_train_file_path: str | |
| transformed_test_file_path: str | |
| class ClassificationMetricArtifact: | |
| f1_score: float | |
| precision_score: float | |
| recall_score: float | |
| class ModelTrainerArtifact: | |
| trained_model_file_path: str | |
| train_metric_artifact: ClassificationMetricArtifact | |
| test_metric_artifact: ClassificationMetricArtifact | |