Types

class datarobot.models.RocCurveEstimatedMetric

Bases: TypedDict

Typed dict for estimated metric

accuracy: float
f1_score: float
false_negative_score: int
true_negative_score: int
true_negative_rate: float
matthews_correlation_coefficient: float
true_positive_score: int
positive_predictive_value: float
false_positive_score: int
false_positive_rate: float
negative_predictive_value: float
true_positive_rate: float
threshold: float
class datarobot.models.AnomalyAssessmentRecordMetadata

Bases: TypedDict

Typed dict for record metadata

record_id: str
project_id: str
model_id: str
backtest: Union[str, int]
source: SOURCE_TYPE
series_id: Optional[str]
class datarobot.models.AnomalyAssessmentPreviewBin

Bases: TypedDict

Typed dict for preview bin

avg_predicted: Optional[float]
max_predicted: Optional[float]
start_date: str
end_date: str
frequency: int
class datarobot.models.ShapleyFeatureContribution

Bases: TypedDict

Typed dict for shapley feature contribution

feature_value: str
strength: float
feature: str
class datarobot.models.AnomalyAssessmentDataPoint

Bases: TypedDict

Typed dict for data points

shap_explanation: Optional[List[ShapleyFeatureContribution]]
timestamp: str
prediction: float
class datarobot.models.RegionExplanationsData

Bases: TypedDict

Typed dict for region explanations

explanations: List[AnomalyAssessmentDataPoint]
shap_base_value: Optional[float]