Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove per capita stop words #4456

Merged
merged 11 commits into from
Jul 12, 2024
2 changes: 1 addition & 1 deletion deploy/nl/catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ indexes:
base_uae_mem:
store_type: MEMORY
source_path: ../../tools/nl/embeddings/input/base
embeddings_path: gs://datcom-nl-models/base_uae_mem_2024_07_10_16_22_06/embeddings.csv
embeddings_path: gs://datcom-nl-models/base_uae_mem_2024_07_11_09_29_21/embeddings.csv
model: uae-large-v1-model
healthcheck_query: "Life expectancy"
base_mistral_mem:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@
"geoId/12"
],
"statVarKey": [
"Count_CriminalIncidents_IsHateCrime_multiple_place_bar_block"
"Count_CriminalActivities_MurderAndNonNegligentManslaughter_multiple_place_bar_block"
],
"title": "Hate Crime Incidents (${date})",
"title": "Murder and Non Negligent Manslaughter Cases (${date})",
"type": "BAR"
}
]
}
],
"denom": "Count_Person",
"title": "Hate Crime Incidents"
"title": "Murder and Non Negligent Manslaughter Cases"
},
{
"columns": [
Expand All @@ -104,17 +104,16 @@
"geoId/12"
],
"statVarKey": [
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_AggravatedAssault_IsHateCrime_multiple_place_bar_block",
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_Robbery_IsHateCrime_multiple_place_bar_block"
"Count_CriminalIncidents_IsHateCrime_multiple_place_bar_block"
],
"title": "Hate Crime Cases by Type (${date})",
"title": "Hate Crime Incidents (${date})",
"type": "BAR"
}
]
}
],
"denom": "Count_Person",
"title": "Hate Crime Cases by Type"
"title": "Hate Crime Incidents"
},
{
"columns": [
Expand All @@ -131,16 +130,17 @@
"geoId/12"
],
"statVarKey": [
"Count_CriminalActivities_MurderAndNonNegligentManslaughter_multiple_place_bar_block"
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_AggravatedAssault_IsHateCrime_multiple_place_bar_block",
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_Robbery_IsHateCrime_multiple_place_bar_block"
],
"title": "Murder and Non Negligent Manslaughter Cases (${date})",
"title": "Hate Crime Cases by Type (${date})",
"type": "BAR"
}
]
}
],
"denom": "Count_Person",
"title": "Murder and Non Negligent Manslaughter Cases"
"title": "Hate Crime Cases by Type"
},
{
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,76 +71,76 @@
"tiles": [
{
"statVarKey": [
"Count_CriminalIncidents_IsHateCrime"
"Count_CriminalActivities_MurderAndNonNegligentManslaughter"
],
"title": "Hate Crime Incidents in California",
"title": "Murder and Non Negligent Manslaughter Cases in California",
"type": "LINE"
}
]
},
{
"tiles": [
{
"description": "Hate Crime Incidents in California",
"description": "Murder and Non Negligent Manslaughter Cases in California",
"statVarKey": [
"Count_CriminalIncidents_IsHateCrime"
"Count_CriminalActivities_MurderAndNonNegligentManslaughter"
],
"title": "Hate Crime Incidents in California",
"title": "Murder and Non Negligent Manslaughter Cases in California",
"type": "HIGHLIGHT"
}
]
}
],
"denom": "Count_Person",
"title": "Hate Crime Incidents"
"title": "Murder and Non Negligent Manslaughter Cases"
},
{
"columns": [
{
"tiles": [
{
"statVarKey": [
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_AggravatedAssault_IsHateCrime",
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_Intimidation_IsHateCrime",
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_Robbery_IsHateCrime"
"Count_CriminalIncidents_IsHateCrime"
],
"title": "Hate Crime Cases by Type in California",
"title": "Hate Crime Incidents in California",
"type": "LINE"
}
]
}
],
"denom": "Count_Person",
"title": "Hate Crime Cases by Type"
},
{
"columns": [
},
{
"tiles": [
{
"description": "Hate Crime Incidents in California",
"statVarKey": [
"Count_CriminalActivities_MurderAndNonNegligentManslaughter"
"Count_CriminalIncidents_IsHateCrime"
],
"title": "Murder and Non Negligent Manslaughter Cases in California",
"type": "LINE"
"title": "Hate Crime Incidents in California",
"type": "HIGHLIGHT"
}
]
},
}
],
"denom": "Count_Person",
"title": "Hate Crime Incidents"
},
{
"columns": [
{
"tiles": [
{
"description": "Murder and Non Negligent Manslaughter Cases in California",
"statVarKey": [
"Count_CriminalActivities_MurderAndNonNegligentManslaughter"
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_AggravatedAssault_IsHateCrime",
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_Intimidation_IsHateCrime",
"Count_CriminalIncidents_BiasMotivationDisabilityStatus_Robbery_IsHateCrime"
],
"title": "Murder and Non Negligent Manslaughter Cases in California",
"type": "HIGHLIGHT"
"title": "Hate Crime Cases by Type in California",
"type": "LINE"
}
]
}
],
"denom": "Count_Person",
"title": "Murder and Non Negligent Manslaughter Cases"
"title": "Hate Crime Cases by Type"
},
{
"columns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"Parts": [
{
"CosineScore": [
0.9257858991622925
0.9257857799530029
],
"QueryPart": "male population",
"SV": [
Expand All @@ -63,7 +63,7 @@
},
{
"CosineScore": [
0.9296978712081909,
0.92969810962677,
0.884743332862854
],
"QueryPart": "female population",
Expand Down Expand Up @@ -108,7 +108,7 @@
"CosineScore": [
0.8034241199493408,
0.8017654418945312,
0.7751556634902954,
0.775155782699585,
0.7698014974594116,
0.7586972713470459
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"Parts": [
{
"CosineScore": [
0.8787486553192139
0.8787487149238586
],
"QueryPart": "show climate change",
"SV": [
Expand All @@ -67,8 +67,8 @@
"CosineScore": [
0.794236958026886,
0.7929013967514038,
0.7586166858673096,
0.7583958506584167
0.7586168050765991,
0.758395791053772
],
"QueryPart": "show climate",
"SV": [
Expand All @@ -80,7 +80,7 @@
},
{
"CosineScore": [
0.8665127158164978
0.866512656211853
],
"QueryPart": "change drought",
"SV": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"contained_in_place_type": "City",
"had_default_type": false,
"type": 4
},
{
"type": 14
}
],
"client": "test_detect",
Expand All @@ -28,8 +25,12 @@
"properties": [],
"sessionId": "007_999999999",
"variables": [
"Count_CriminalActivities_MotorVehicleTheft",
"Count_CriminalActivities_LarcenyTheft",
"dc/topic/Crime",
"Count_CriminalActivities_MotorVehicleTheft"
"Count_CriminalActivities_Robbery",
"Count_CriminalActivities_Burglary",
"Count_CriminalActivities_PropertyCrime",
"Count_CriminalActivities_CombinedCrime",
"dc/topic/Crime"
]
}
Loading
Loading