using only ascending lines for fitting

This commit is contained in:
frankknoll
2023-11-18 11:05:35 +01:00
parent 36492ae88b
commit d40116ba6f
5 changed files with 52 additions and 12 deletions

View File

@@ -651,6 +651,13 @@
" htmlFile = os.path.normpath(webAppBaseDir + '/index.html'))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Multi Line Fitting"
]
},
{
"cell_type": "code",
"execution_count": null,
@@ -669,8 +676,8 @@
"metadata": {},
"outputs": [],
"source": [
"symptomX = 'HIV test' # 'Immunosuppression'\n",
"symptomY = 'Immunoglobulin therapy' # 'Infection' # 'Immunoglobulin therapy'"
"symptomX = 'Immunosuppression' # HIV test' # 'Immunosuppression'\n",
"symptomY = 'Pneumonia' # 'Infection' # 'Immunoglobulin therapy'"
]
},
{
@@ -702,7 +709,7 @@
"source": [
"from SymptomsCausedByVaccines.MultiLineFitting.MultiLineFitter import MultiLineFitter\n",
"\n",
"clusters, lines = MultiLineFitter.fitPointsByLines(points, consensusThreshold = 0.001)"
"clusters, lines = MultiLineFitter.fitPointsByAscendingLines(points, consensusThreshold = 0.001)"
]
},
{
@@ -738,8 +745,10 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],