Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
java-wowa-training
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
java-wowa-training
Commits
597c6e30
Commit
597c6e30
authored
5 years ago
by
a.croix
Browse files
Options
Downloads
Patches
Plain Diff
Solve checkstyle issue
parent
1e552b80
No related branches found
Branches containing commit
No related tags found
1 merge request
!4
Neural network
Pipeline
#2445
passed
5 years ago
Stage: leaks
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/be/cylab/java/wowa/training/Example.java
+2
-1
2 additions, 1 deletion
src/main/java/be/cylab/java/wowa/training/Example.java
src/main/java/be/cylab/java/wowa/training/MainTest.java
+1
-1
1 addition, 1 deletion
src/main/java/be/cylab/java/wowa/training/MainTest.java
with
3 additions
and
2 deletions
src/main/java/be/cylab/java/wowa/training/Example.java
+
2
−
1
View file @
597c6e30
...
...
@@ -49,7 +49,8 @@ public final class Example {
}
String
data_file
=
"./ressources/webshell_data_new_version.json"
;
String
expected_file
=
"./ressources/webshell_expected_new_version.json"
;
String
expected_file
=
"./ressources/webshell_expected_new_version.json"
;
Logger
logger
=
Logger
.
getLogger
(
Trainer
.
class
.
getName
());
logger
.
setLevel
(
Level
.
INFO
);
StreamHandler
handler
=
new
StreamHandler
(
System
.
out
,
...
...
This diff is collapsed.
Click to expand it.
src/main/java/be/cylab/java/wowa/training/MainTest.java
+
1
−
1
View file @
597c6e30
...
...
@@ -63,7 +63,7 @@ public final class MainTest {
long
start_time
=
System
.
currentTimeMillis
();
System
.
out
.
println
(
"Wowa training"
);
HashMap
<
AbstractSolution
,
Double
>
map_wt
=
trainer
.
runKFold
(
folds
,
10
);
HashMap
<
AbstractSolution
,
Double
>
map_wt
=
trainer
.
runKFold
(
folds
,
2
);
long
end_time
=
System
.
currentTimeMillis
();
System
.
out
.
println
(
"Execution time : "
+
(
end_time
-
start_time
)
/
1000
+
" seconds"
);
...
...
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