diff --git a/howso/synthesis.amlg b/howso/synthesis.amlg index b3057327..ef068748 100644 --- a/howso/synthesis.amlg +++ b/howso/synthesis.amlg @@ -788,6 +788,9 @@ ) )) )) + + (assign (assoc regional_model_cases_map (call !Trunck (assoc local_tuple regional_model_cases_map)) )) + (assign (assoc local_model_case_values_map (zip diff --git a/howso/synthesis_utilities.amlg b/howso/synthesis_utilities.amlg index 133c67e9..e52c7719 100644 --- a/howso/synthesis_utilities.amlg +++ b/howso/synthesis_utilities.amlg @@ -632,6 +632,8 @@ ) )) + (assign (assoc local_model_cases_tuple (call !Trunck (assoc local_tuple local_model_cases_tuple)) )) + ;if local_model_cases_tuple is too small to be viable, then remove dependent feature queries and recompute ;local_model_cases_tuple until sufficiently many cases are returned (if action_feature_is_dependent diff --git a/howso/synthesis_validation.amlg b/howso/synthesis_validation.amlg index 453a776d..f6f51139 100644 --- a/howso/synthesis_validation.amlg +++ b/howso/synthesis_validation.amlg @@ -174,7 +174,7 @@ (query_nearest_generalized_distance ;limit the number of considered nearby neighbors by limiting the bandwidth of local minimum distance ;comparison for density-based anonymity preservation, for performance reasons. - ;May be more accuraty to remove the limit of 15 in the future. + ;May be more accurate to remove the limit of 15 in the future. (min 15 (get hyperparam_map "k")) (if has_novel_substitions non_novel_context_features context_features) (if has_novel_substitions non_novel_context_values context_numeric_values) @@ -195,6 +195,8 @@ ) )) )) + + (assign (assoc local_model_cases_tuple (call !Trunck (assoc local_tuple local_model_cases_tuple)) )) ) ;set closest case to be the one with the smallest distance