public class ReviewReductorToN extends Review
Constructor and Description |
---|
ReviewReductorToN() |
Modifier and Type | Method and Description |
---|---|
Population |
review(Population train,
java.lang.String classe,
Selection s,
GlobalDistance dg)
Review method to reduce a population to a number of individuals
choosing randomly which individuals are eliminated.
|
void |
setN(float n)
Sets the number of cases to be kept.
|
public Population review(Population train, java.lang.String classe, Selection s, GlobalDistance dg)
review
in class Review
train
- Population to reviewclasse
- String id of the attribute to classifys
- Selection method of the cbrdg
- GlobalDistance method of the cbrReview
,
Selection
,
GlobalDistance
public void setN(float n)
n
-