hops.featurestore_impl.dao package

Submodules

hops.featurestore_impl.dao.cluster module

class hops.featurestore_impl.dao.cluster.Cluster(cluster_json)

Bases: object

Represents a Cluster in Cluster Analysis computed for a featuregroup or training dataset in the featurestore

__init__(cluster_json)

Initialize the cluster object from JSON payload

Args:
cluster_json:JSON data of the cluster

hops.featurestore_impl.dao.cluster_analysis module

class hops.featurestore_impl.dao.cluster_analysis.ClusterAnalysis(cluster_analysis_json)

Bases: object

Represents Cluster Analysis computed for a featuregroup or training dataset in the featurestore

__init__(cluster_analysis_json)

Initialize the cluster analysis object from JSON payload

Args:
cluster_analysis_json:
 JSON data of the cluster analysis

hops.featurestore_impl.dao.correlation_matrix module

class hops.featurestore_impl.dao.correlation_matrix.CorrelationMatrix(correlation_matrix_json)

Bases: object

Represents correlation matrix computed for a featuregroup or training dataset in the featurestore

__init__(correlation_matrix_json)

Initialize the correlation matrix object from JSON payload

Args:
correlation_matrix_json:
 JSON data of the correlation_matrix

hops.featurestore_impl.dao.correlation_value module

class hops.featurestore_impl.dao.correlation_value.CorrelationValue(correlation_value_json)

Bases: object

Represents a correlation value in a correlation matrix

__init__(correlation_value_json)

Initialize the correlation value object from JSON payload

Args:
correlation_value_json:
 JSON payload with the correlation value

hops.featurestore_impl.dao.datapoint module

class hops.featurestore_impl.dao.datapoint.DataPoint(data_point_json)

Bases: object

Represents a Data Point in Cluster Analysis computed for a featuregroup or training dataset in the featurestore

__init__(data_point_json)

Initialize the data point object from JSON payload

Args:
data_point_json:
 JSON data of the data point

hops.featurestore_impl.dao.descriptive_stats module

class hops.featurestore_impl.dao.descriptive_stats.DescriptiveStats(descriptive_stats_json)

Bases: object

Represents descriptive statistics computed for a featuregroup or training dataset in the featurestore

__init__(descriptive_stats_json)

Initialize the descriptive statistics object from JSON payload

Args:
descriptive_stats_json:
 JSON data of the descriptive statistics

hops.featurestore_impl.dao.descriptive_stats_metric_value module

class hops.featurestore_impl.dao.descriptive_stats_metric_value.DescriptiveStatsMetricValue(metric_value_json)

Bases: object

Represents a Metric Value in Descriptive Stats computed for a featuregroup or training dataset in the featurestore

__init__(metric_value_json)

Initialize the metric value object from JSON payload

Args:
metric_value_json:
 JSON data of the metric value

hops.featurestore_impl.dao.descriptive_stats_metric_values module

class hops.featurestore_impl.dao.descriptive_stats_metric_values.DescriptiveStatsMetricValues(metric_values_json)

Bases: object

Represents a descriptive stats metric values for a feature in a feature group or training dataset

__init__(metric_values_json)

Initialize the metric values object from JSON payload

Args:
metric_values_json:
 JSON data of the metric values

hops.featurestore_impl.dao.feature module

class hops.featurestore_impl.dao.feature.Feature(feature_json)

Bases: object

Represents an individual feature in the feature store, either in a feature group or in a training dataset

__init__(feature_json)

Initialize the feature from JSON payload

Args:
feature_json:JSON data about the feature returned from Hopsworks REST API

hops.featurestore_impl.dao.feature_correlation module

class hops.featurestore_impl.dao.feature_correlation.FeatureCorrelation(feature_correlation_json)

Bases: object

Represents a Feature Correlation in a Correlation Matrix computed for a featuregroup or training dataset in the featurestore

__init__(feature_correlation_json)

Initialize the cluster object from JSON payload

Args:
feature_correlation_json:
 JSON data of the feature correlation

hops.featurestore_impl.dao.feature_histogram module

class hops.featurestore_impl.dao.feature_histogram.FeatureHistogram(feature_histogram_json)

Bases: object

Represents a FeatureHistogram for a feature in a feature group or training dataset

__init__(feature_histogram_json)

Initialize the feature histogram object from JSON payload

Args:
feature_histogram_json:
 JSON data of the feature histogram

hops.featurestore_impl.dao.feature_histograms module

class hops.featurestore_impl.dao.feature_histograms.FeatureHistograms(feature_histograms_json)

Bases: object

Represents feature histogram for a feature in a featuregroup or training dataset

__init__(feature_histograms_json)

Initialize the histogram object from JSON payload

Args:
feature_histograms_json:
 JSON data of the feature histogram

hops.featurestore_impl.dao.featuregroup module

class hops.featurestore_impl.dao.featuregroup.Featuregroup(featuregroup_json)

Bases: hops.featurestore_impl.dao.featurestore_entity.FeaturestoreEntity

Represents an individual featuregroup in the featurestore (Hive Table)

__init__(featuregroup_json)

Initialize the feature group from JSON payload

Args:
featuregroup_json:
 JSON representation of the featuregroup, returned from Hopsworks REST API

hops.featurestore_impl.dao.featurestore module

class hops.featurestore_impl.dao.featurestore.Featurestore(featurestore_json)

Bases: object

Represents a feature store in Hopsworks

__init__(featurestore_json)

Initialize the feature store from JSON payload

Args:
featurestore_json:
 JSON data about the featurestore returned from Hopsworks REST API

hops.featurestore_impl.dao.featurestore_dependency module

class hops.featurestore_impl.dao.featurestore_dependency.FeaturestoreDependency(dependency_json)

Bases: object

Represents a data dependency of a feature group or a training dataset in the feature store

__init__(dependency_json)

Initialize the featurestore dependency from JSON payload

Args:
dependency_json:
 JSON data about the dependency returned from Hopsworks REST API

hops.featurestore_impl.dao.featurestore_entity module

class hops.featurestore_impl.dao.featurestore_entity.FeaturestoreEntity

Bases: object

Represents an abstract featurestore entity (contains common functionality between feature groups and training datasets in the featurestore

hops.featurestore_impl.dao.featurestore_metadata module

class hops.featurestore_impl.dao.featurestore_metadata.FeaturestoreMetadata(metadata_json)

Bases: object

Represents feature store metadata. This metadata is used by the feature store client to determine how to fetch and push features from/to the feature store

__init__(metadata_json)

Initialize the featurestore metadata from JSON payload

Args:
metadata_json:JSON metadata about the featurestore returned from Hopsworks REST API

hops.featurestore_impl.dao.histogram_bin module

class hops.featurestore_impl.dao.histogram_bin.HistogramBin(histogram_bin_json)

Bases: object

Represents a Histogram Bin in a Feature Histogram of a feature group or training dataset

__init__(histogram_bin_json)

Initialize the histogram bin object from JSON payload

Args:
histogram_bin_json:
 JSON data of the histogram bin

hops.featurestore_impl.dao.statistics module

class hops.featurestore_impl.dao.statistics.Statistics(descriptive_stats_json, correlation_matrix_json, features_histogram_json, cluster_analysis_json)

Bases: object

Represents statistics computed for a featuregroup or training dataset in the featurestore

__init__(descriptive_stats_json, correlation_matrix_json, features_histogram_json, cluster_analysis_json)

Initialize the statistics object from JSON payload

Args:
descriptive_stats_json:
 JSON data of the descriptive statistics
correlation_matrix_json:
 JSON data of the feature correlations
features_histogram_json:
 JSON data of the features histograms
cluster_analysis_json:
 JSON data of feature cluster analysis

hops.featurestore_impl.dao.training_dataset module

class hops.featurestore_impl.dao.training_dataset.TrainingDataset(training_dataset_json)

Bases: hops.featurestore_impl.dao.featurestore_entity.FeaturestoreEntity

Represents a training dataset in the feature store

__init__(training_dataset_json)

Initalizes the training dataset from JSON payload

Args:
training_dataset_json:
 JSON data about the training dataset returned from Hopsworks REST API

Module contents