ConstantsΒΆ

Runtime constants and helper enumerations.

class avatars.constants.Results(*values)[source]
ADVICE = 'advice'
SHUFFLED = 'shuffled'
UNSHUFFLED = 'unshuffled'
PRIVACY_METRICS = 'privacy_metrics'
SIGNAL_METRICS = 'signal_metrics'
REPORT_IMAGES = 'report_images'
PROJECTIONS_ORIGINAL = 'original_projections'
PROJECTIONS_AVATARS = 'avatar_projections'
METADATA = 'run_metadata'
REPORT = 'report'
META_PRIVACY_METRIC = 'meta_privacy_metric'
META_SIGNAL_METRIC = 'meta_signal_metric'
FIGURES = 'figures'
FIGURES_METADATA = 'figures_metadata'
class avatars.constants.PlotKind(*values)[source]

Available plot types for visualization.

CORRELATION = 'correlation'

A correlation heatmap of the original and avatar data.

CORRELATION_DIFFERENCE = 'correlation_difference'

A heatmap of the difference between the original and avatar data.

CONTRIBUTION = 'contribution'

A bar chart showing the contribution of each feature in the model.

PROJECTION_2D = '2d_projection'

A 2D projection of the original and avatar data.

PROJECTION_3D = '3d_projection'

A 3D projection of the original and avatar data.

DISTRIBUTION = 'distribution'

Distributions plot of the original and avatar data, there is a plot for each column.

AGGREGATE_STATS = 'aggregate_stats'

A table containing the mean and std of the original and avatar data (of the 10 first columns).

RAW_SERIES = 'raw_series'

A line plot of the original and avatar time series over time.

NORMALIZED_SERIES = 'normalized_series'

A line plot of the normalized original and avatar time series over time.