whylogs.core.feature_weights#
Module Contents#
Classes#
A Writable is an object that contains data to write to a file or files. |
Attributes#
- class whylogs.core.feature_weights.FeatureWeights(weights: Dict[str, float], segment: Optional[whylogs.core.Segment] = None, metadata: Optional[Dict] = None)#
Bases:
whylogs.api.writer.writer._WritableA Writable is an object that contains data to write to a file or files. These might be temporary files intended to be passed on to another consumer (e.g., WhyLabs servers) via a Writer.
- Parameters
segment (Optional[whylogs.core.Segment]) –
metadata (Optional[Dict]) –
- to_dict() Dict[str, Union[Optional[whylogs.core.Segment], Optional[float]]]#
- Return type
Dict[str, Union[Optional[whylogs.core.Segment], Optional[float]]]
- whylogs.core.feature_weights.FeatureWeightWriter#