Commit e880a33e authored by Dennis Willers's avatar Dennis Willers 🏀

Exception Optimierungsverfahren eingebaut

parent adf7dca2
...@@ -21,6 +21,8 @@ def run_cross_validation(): ...@@ -21,6 +21,8 @@ def run_cross_validation():
# Initialisieren der KNN-Modellbau Eigenschaften # Initialisieren der KNN-Modellbau Eigenschaften
for optimization_method in Optimierungsverfahren: for optimization_method in Optimierungsverfahren:
if optimization_method.name in config['knn']['exception_optimization_method']:
continue
for activation_function_2 in Aktivierungsfunktion: for activation_function_2 in Aktivierungsfunktion:
if activation_function_2.name in config['knn']['exception_activation_funktion_1']: if activation_function_2.name in config['knn']['exception_activation_funktion_1']:
continue continue
......
...@@ -5,14 +5,29 @@ bilder: ...@@ -5,14 +5,29 @@ bilder:
knn_path: "assets/Bilder/AktuelleTrainingsUndTestdaten/" knn_path: "assets/Bilder/AktuelleTrainingsUndTestdaten/"
knn: knn:
epochs: 10 epochs: 10
exception_optimization_method:
['SGD']
exception_activation_funktion_1: exception_activation_funktion_1:
['ReLU'] ['ReLU']
ignoreKnnCombinations: ignoreKnnCombinations:
[ [
['SGD','ReLU','sigmoid'], ['SGD','ReLU','sigmoid'],
['SGD','sigmoid','sigmoid'], ['SGD','sigmoid','sigmoid'],
# Adam Complete List
['Adam','ReLU','sigmoid'], ['Adam','ReLU','sigmoid'],
['Adam','sigmoid','sigmoid'] ['Adam','sigmoid','sigmoid'],
# master_1
['Adam','tanh','sigmoid'],
['Adam','softmax','sigmoid'],
['Adam','sigmoid','tanh' ],
['Adam','softmax','tanh' ],
['Adam','ReLU','tanh' ],
# master_2
['Adam','tanh','tanh'],
['Adam','sigmoid','softmax'],
['Adam','tanh','softmax'],
['Adam','ReLU','softmax'],
['Adam','softmax','softmax']
] ]
result: result:
plot_path: "ressources/results/plot/" plot_path: "ressources/results/plot/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment