continuing
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -12,6 +12,7 @@
|
||||
"from CountriesByBatchcodeProvider import getCountryCountsByBatchcodeTable, filterByBatchcodes\n",
|
||||
"from Column2DataframeAdder import addColumn2Dataframe\n",
|
||||
"from BatchCodeTableFactory import BatchCodeTableFactory\n",
|
||||
"from BarChartDescriptionTables import BarChartDescriptionTables\n",
|
||||
"from HistogramFactoryAndPersister import createAndSaveGlobalHistograms\n",
|
||||
"from SymptomByBatchcodeTableFactory import SymptomByBatchcodeTableFactory\n",
|
||||
"from BatchCodeTablePersister import createGlobalBatchCodeTable\n",
|
||||
@@ -25,7 +26,6 @@
|
||||
"from IOUtils import IOUtils\n",
|
||||
"import os\n",
|
||||
"import pandas as pd\n",
|
||||
"from BarChartDescriptionTables import BarChartDescriptionTables\n",
|
||||
"\n",
|
||||
"pd.set_option('display.max_rows', 100)\n",
|
||||
"pd.set_option('display.max_columns', None)\n"
|
||||
@@ -232,8 +232,13 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"barChartDescriptionTable = BarChartDescriptionTables.filterValidJensenShannonDistances(barChartDescriptionTable)\n",
|
||||
"barChartDescriptionTable"
|
||||
"barChartDescriptionTable = BarChartDescriptionTables.filter(\n",
|
||||
" barChartDescriptionTable,\n",
|
||||
" lambda barChartDescription: (\n",
|
||||
" BarChartDescriptionTables.isValidJensenShannonDistance(barChartDescription) and\n",
|
||||
" BarChartDescriptionTables.hasMinSizeOfGuessedHistogram(barChartDescription, minSizeOfGuessedHistogram=100) and\n",
|
||||
" BarChartDescriptionTables.hasCountryWithGuessedGreaterThanKnown(barChartDescription)))\n",
|
||||
"barChartDescriptionTable\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user