Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Troubled Cell Detection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Laura Christine Kühle
Troubled Cell Detection
Commits
bb5ce086
Commit
bb5ce086
authored
Mar 30, 2021
by
Laura Christine Kühle
Browse files
Options
Downloads
Patches
Plain Diff
Removed completed TODOs.
parent
da77cb09
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ANN_Training_Data_Generator.py
+0
-10
0 additions, 10 deletions
ANN_Training_Data_Generator.py
Troubled_Cell_Detector.py
+11
-0
11 additions, 0 deletions
Troubled_Cell_Detector.py
with
11 additions
and
10 deletions
ANN_Training_Data_Generator.py
+
0
−
10
View file @
bb5ce086
...
@@ -2,17 +2,7 @@
...
@@ -2,17 +2,7 @@
"""
"""
@author: Soraya Terrab (sorayaterrab), Laura C. Kühle
@author: Soraya Terrab (sorayaterrab), Laura C. Kühle
TODO: Adjust code to fit style -> Done
TODO: Adapt variable names to fit style -> Done
TODO: Remove np.transpose() -> Done
TODO: Improve
'
_generate_cell_data
'
TODO: Improve
'
_generate_cell_data
'
TODO: Introduce x-point stencil -> Done
TODO: Allow domains different from [-1, 1] -> Done
TODO: Ask about random value calculation in boundary interval
TODO: Use same rules for quotes (
''
vs
""
) -> Done
TODO: Adapt file name -> Done
TODO: Add print() for log output -> Done
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Troubled_Cell_Detector.py
+
11
−
0
View file @
bb5ce086
...
@@ -2,6 +2,10 @@
...
@@ -2,6 +2,10 @@
"""
"""
@author: Laura C. Kühle, Soraya Terrab (sorayaterrab)
@author: Laura C. Kühle, Soraya Terrab (sorayaterrab)
TODO: Adapt
'
train()
'
to fit style
TODO: Add ANN testing from Soraya to ANN
TODO: Add ANN classification from Soraya to ANN
"""
"""
import
os
import
os
import
numpy
as
np
import
numpy
as
np
...
@@ -187,6 +191,13 @@ class ArtificialNeuralNetwork(TroubledCellDetector):
...
@@ -187,6 +191,13 @@ class ArtificialNeuralNetwork(TroubledCellDetector):
def
_reset
(
self
,
config
):
def
_reset
(
self
,
config
):
super
().
_reset
(
config
)
super
().
_reset
(
config
)
# training_dir = config.pop('data_dir', 'data')
# training_file = config.pop('training_set', 'smooth_0.01k__troubled_0.01k__normalized.npy')
# validation_file = config.pop('validation_set', 'smooth_0.01k__troubled_0.01k__normalized.npy')
# test_file = config.pop('test_set', 'smooth_0.01k__troubled_0.01k__normalized.npy')
# batch_size = config.pop('batch_size', 500)
# self._training_data = {'train': [], 'validation': [], 'test': []}
def
get_cells
(
self
,
projection
):
def
get_cells
(
self
,
projection
):
pass
pass
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment