Skip to content

Commit

Permalink
Mark observable relations in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasColthurst committed Aug 7, 2024
1 parent b6e508e commit 116e406
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cxx/pclean/pclean_lib_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ BOOST_AUTO_TEST_CASE(test_translate_observations) {
{"County:state",
T_clean_relation{{"dCounty"}, false, DistributionSpec("stringcat", state_params)}},
{"Room Type",
T_clean_relation{{"dObs"}, false, DistributionSpec("stringcat", br_params)}},
T_clean_relation{{"dObs"}, true, DistributionSpec("stringcat", br_params)}},
{"Monthly Rent",
T_clean_relation{{"dObs"}, false, DistributionSpec("normal")}},
T_clean_relation{{"dObs"}, true, DistributionSpec("normal")}},
{"County",
T_noisy_relation{{"dCounty", "dObs"}, false, EmissionSpec("bigram"), "County:name"}},
T_noisy_relation{{"dCounty", "dObs"}, true, EmissionSpec("bigram"), "County:name"}},
{"State",
T_noisy_relation{{"dCounty", "dObs"}, false, EmissionSpec("bigram"), "County:state"}}};
T_noisy_relation{{"dCounty", "dObs"}, true, EmissionSpec("bigram"), "County:state"}}};

T_observations obs = translate_observations(df, schema);

Expand Down

0 comments on commit 116e406

Please sign in to comment.