opendp package#
Subpackages#
Submodules#
- opendp.accuracy module
accuracy_to_discrete_gaussian_scale()accuracy_to_discrete_laplacian_scale()accuracy_to_gaussian_scale()accuracy_to_laplacian_scale()discrete_gaussian_scale_to_accuracy()discrete_laplacian_scale_to_accuracy()gaussian_scale_to_accuracy()laplacian_scale_to_accuracy()summarize_polars_measurement()
- opendp.combinators module
make_adaptive_composition()make_approximate()make_basic_composition()make_chain_mt()make_chain_pm()make_chain_tt()make_composition()make_fix_delta()make_fixed_approxDP_to_approxDP()make_fully_adaptive_composition()make_population_amplification()make_privacy_filter()make_pureDP_to_zCDP()make_select_private_candidate()make_sequential_composition()make_zCDP_to_approxDP()then_adaptive_composition()then_fully_adaptive_composition()then_sequential_composition()
- opendp.context module
- opendp.core module
function_eval()measurement_check()measurement_function()measurement_input_carrier_type()measurement_input_distance_type()measurement_input_domain()measurement_input_metric()measurement_invoke()measurement_map()measurement_output_distance_type()measurement_output_measure()new_function()new_queryable()odometer_input_carrier_type()odometer_input_domain()odometer_input_metric()odometer_invoke()odometer_output_measure()odometer_queryable_invoke()odometer_queryable_invoke_type()odometer_queryable_privacy_loss()odometer_queryable_privacy_loss_type()queryable_eval()queryable_query_type()transformation_check()transformation_function()transformation_input_carrier_type()transformation_input_distance_type()transformation_input_domain()transformation_input_metric()transformation_invoke()transformation_map()transformation_output_distance_type()transformation_output_domain()transformation_output_metric()
- opendp.domains module
- opendp.measurements module
debias_randomized_response_bitvec()make_alp_queryable()make_canonical_noise()make_gaussian()make_gaussian_threshold()make_geometric()make_laplace()make_laplace_threshold()make_noise()make_noise_threshold()make_noisy_max()make_noisy_top_k()make_private_expr()make_private_lazyframe()make_private_quantile()make_randomized_response()make_randomized_response_bitvec()make_randomized_response_bool()make_report_noisy_max_gumbel()make_user_measurement()then_alp_queryable()then_canonical_noise()then_gaussian()then_gaussian_threshold()then_geometric()then_laplace()then_laplace_threshold()then_noise()then_noise_threshold()then_noisy_max()then_noisy_top_k()then_private_expr()then_private_lazyframe()then_private_quantile()then_randomized_response_bitvec()then_report_noisy_max_gumbel()then_user_measurement()
- opendp.measures module
- opendp.metrics module
absolute_distance()change_one_distance()change_one_id_distance()discrete_distance()frame_distance()hamming_distance()insert_delete_distance()l01inf_distance()l02inf_distance()l1_distance()l2_distance()linf_distance()metric_debug()metric_distance_type()metric_type()symmetric_distance()symmetric_id_distance()user_distance()
- opendp.mod module
ApproximateDivergenceAtomDomainChangeOneIdDistanceDomainExtrinsicDomainFrameDistanceFunctionLazyFrameDomainMeasureMeasurementMetricOdometerOdometerQueryableOpenDPExceptionOptionDomainPrivacyProfileQueryableSeriesDomainSymmetricIdDistanceTransformationTransformation.check()Transformation.functionTransformation.input_carrier_typeTransformation.input_distance_typeTransformation.input_domainTransformation.input_metricTransformation.input_spaceTransformation.invoke()Transformation.map()Transformation.output_distance_typeTransformation.output_domainTransformation.output_metricTransformation.output_space
UnknownTypeExceptionVectorDomainassert_features()binary_search()binary_search_chain()binary_search_param()deserialize()disable_features()enable_features()exponential_bounds_search()serialize()
- opendp.prelude module
- opendp.transformations module
choose_branching_factor()make_b_ary_tree()make_bounded_float_checked_sum()make_bounded_float_ordered_sum()make_bounded_int_monotonic_sum()make_bounded_int_ordered_sum()make_bounded_int_split_sum()make_cast()make_cast_default()make_cast_inherent()make_cdf()make_clamp()make_consistent_b_ary_tree()make_count()make_count_by()make_count_by_categories()make_count_distinct()make_create_dataframe()make_df_cast_default()make_df_is_equal()make_drop_null()make_find()make_find_bin()make_identity()make_impute_constant()make_impute_uniform_float()make_index()make_is_equal()make_is_null()make_lipschitz_float_mul()make_mean()make_metric_bounded()make_metric_unbounded()make_ordered_random()make_quantile_score_candidates()make_quantiles_from_counts()make_resize()make_select_column()make_sized_bounded_float_checked_sum()make_sized_bounded_float_ordered_sum()make_sized_bounded_int_checked_sum()make_sized_bounded_int_monotonic_sum()make_sized_bounded_int_ordered_sum()make_sized_bounded_int_split_sum()make_split_dataframe()make_split_lines()make_split_records()make_stable_expr()make_stable_lazyframe()make_subset_by()make_sum()make_sum_of_squared_deviations()make_unordered()make_user_transformation()make_variance()then_b_ary_tree()then_cast()then_cast_default()then_cast_inherent()then_clamp()then_count()then_count_by()then_count_by_categories()then_count_distinct()then_df_cast_default()then_df_is_equal()then_drop_null()then_find()then_find_bin()then_identity()then_impute_constant()then_impute_uniform_float()then_index()then_is_equal()then_is_null()then_lipschitz_float_mul()then_mean()then_metric_bounded()then_metric_unbounded()then_ordered_random()then_quantile_score_candidates()then_resize()then_stable_expr()then_stable_lazyframe()then_sum()then_sum_of_squared_deviations()then_unordered()then_variance()
- opendp.typing module