Skip to content

Transformation Statistics#

[source]

TransformationStatistics#

hsfs.transformation_statistics.TransformationStatistics(*features)

Class that stores feature transformation statistics of all features that require training dataset statistics in a transformation function.

All statistics for a feature is initially initialized with null values and will be populated with values when training dataset is created for the soe.

Arguments

  • *features: str. The features for which training dataset statistics need to be computed.

Example

# Defining transformation statistics
transformation_statistics = TransformationStatistics("feature1", "feature2")

# Accessing feature transformation statistics for a specific feature
feature_transformation_statistics_feature1 = transformation_statistics.feature1