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
807d8646
Commit
807d8646
authored
6 years ago
by
a.croix
Browse files
Options
Downloads
Patches
Plain Diff
Fix some style
parent
e7047ffc
No related branches found
No related tags found
No related merge requests found
Pipeline
#1019
failed
6 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/be/cylab/java/wowa/training/TrainerParameters.java
+18
-6
18 additions, 6 deletions
...n/java/be/cylab/java/wowa/training/TrainerParameters.java
with
18 additions
and
6 deletions
src/main/java/be/cylab/java/wowa/training/TrainerParameters.java
+
18
−
6
View file @
807d8646
...
...
@@ -3,9 +3,14 @@ package be.cylab.java.wowa.training;
import
java.util.logging.Logger
;
/**
* Parameters for the Trainer object
* Parameters for the Trainer object
.
*/
public
class
TrainerParameters
{
/**
* Constant for choosing the selection method
* SELECTION_METHODRWS for the roulette wheel selection method
* SELECTION_METHOD_TOS for the tournament selection
*/
public
static
final
int
SELECTION_METHOD_RWS
=
374
;
public
static
final
int
SELECTION_METHOD_TOS
=
942
;
...
...
@@ -23,11 +28,18 @@ public class TrainerParameters {
/**
* Contains parameters for the WOWA trainer.
*
* @param population_size Size of the population for the Genetic Algorithm (greater than 2)
* @param crossover_rate Crossover rate for the genetic algorithm. Percentage of the population kept to generate the next generation (1-99)
* @param mutation_rate Mutation rate for the genetic algorithm. percentage of genes mutated in the next generation (1-99)
* @param selection_method Method to select parents for the next generation. RWS or TOS
* @param max_generation_number Max generation number before the algorithm stop
* @param population_size Size of the population for the
* Genetic Algorithm (greater than 2)
* @param crossover_rate Crossover rate for the genetic algorithm.
* Percentage of the population kept
* to generate the next generation (1-99)
* @param mutation_rate Mutation rate for the genetic algorithm.
* percentage of genes mutated in the
* next generation (1-99)
* @param selection_method Method to select parents for the next
* generation. RWS or TOS
* @param max_generation_number Max generation number before
* the algorithm stop
*/
public
TrainerParameters
(
//Logger logger,
...
...
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