Fixed display stats

This commit is contained in:
2024-06-21 00:36:47 +02:00
parent f800fd1a60
commit c0f48e412e
3 changed files with 35 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ def heart() -> tuple[Dataset, MLAlgorithm, Any]:
attributes_to_modify = ["Disease", "Sex", "ChestPainType"]
ds.factorize(attributes_to_modify)
ds.normalize(excepts=attributes_to_modify)
return (ds, LogisticRegression(ds, learning_rate=0.001), sklearn.linear_model.LogisticRegression())
return (ds, LogisticRegression(ds, learning_rate=0.01), sklearn.linear_model.LogisticRegression())
# ********************
# MultiLayerPerceptron