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
db3b17ff
Commit
db3b17ff
authored
Feb 19, 2023
by
Dennis Willers
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FTRL Anpassung
parent
54988faa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
config.yaml
ressources/config/config.yaml
+1
-1
defineKNN.py
src/knn/defineKNN.py
+3
-1
No files found.
ressources/config/config.yaml
View file @
db3b17ff
...
@@ -6,7 +6,7 @@ bilder:
...
@@ -6,7 +6,7 @@ bilder:
knn
:
knn
:
epochs
:
10
epochs
:
10
exception_optimization_method
:
exception_optimization_method
:
[
'
SGD'
,
'
Ftrl
'
]
[
'
SGD'
,
'
Adam
'
]
exception_activation_funktion_2
:
exception_activation_funktion_2
:
[
'
ReLU'
]
[
'
ReLU'
]
ignoreKnnCombinations
:
ignoreKnnCombinations
:
...
...
src/knn/defineKNN.py
View file @
db3b17ff
...
@@ -51,5 +51,7 @@ def get_optimization_method(optimization_method):
...
@@ -51,5 +51,7 @@ def get_optimization_method(optimization_method):
if
optimization_method
==
Optimierungsverfahren
.
Adam
:
if
optimization_method
==
Optimierungsverfahren
.
Adam
:
return
tf
.
keras
.
optimizers
.
Adam
()
return
tf
.
keras
.
optimizers
.
Adam
()
if
optimization_method
==
Optimierungsverfahren
.
Ftrl
:
if
optimization_method
==
Optimierungsverfahren
.
Ftrl
:
return
tf
.
keras
.
optimizers
.
Ftrl
()
return
tf
.
keras
.
optimizers
.
legacy
.
Ftrl
(
learning_rate
=
0.001
,
learning_rate_power
=-
0.5
,
initial_accumulator_value
=
0.1
)
return
None
return
None
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