-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from datasciencecampus/feature/unit_tests
Update cleaning and spellchecker functions
- Loading branch information
Showing
31 changed files
with
1,643 additions
and
842 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Data log | ||
|
||
This log contains a list of data sources used in this analysis. | ||
- Consultation on the future of population and migration statistics in England and Wales (with Welsh already translated) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
raw_data_path: "data/raw/20230717_consultation_ingest.csv" #str | ||
additional_stopwords: #list of words to filter; must be type str | ||
- 'he' | ||
lemmatize: True #bool; select False to use Stemmer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# See docs/user_guide/README.md for instructions on how to set | ||
# these configuration settings. | ||
qu_12: | ||
max_features: null #null converts to None, or int value | ||
ngram_range: !!python/tuple [1,2] | ||
min_df: 2 #float (proportion) or int (count) | ||
max_df: 0.9 #float (proportion) or int (count) | ||
n_topics: 3 #int greater than 0 | ||
n_top_words: 10 #int | ||
max_iter: | ||
lda: 25 #int | ||
nmf: 1000 #int | ||
lowercase: true #bool | ||
topic_labels: #if not null, must be same number as n_topics in each | ||
lda: null | ||
nmf: null |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.