Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Evaluation künstlicher neuronaler Netze für eine OOS-Erkennung
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dennis Willers
Evaluation künstlicher neuronaler Netze für eine OOS-Erkennung
Commits
e880a33e
Commit
e880a33e
authored
Jan 27, 2023
by
Dennis Willers
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exception Optimierungsverfahren eingebaut
parent
adf7dca2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
main.py
main.py
+2
-0
config.yaml
ressources/config/config.yaml
+16
-1
No files found.
main.py
View file @
e880a33e
...
@@ -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
...
...
ressources/config/config.yaml
View file @
e880a33e
...
@@ -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/"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment