public class SFFS extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
interceptTerm |
protected boolean |
logSolution |
protected int |
solutionSize |
Constructor and Description |
---|
SFFS(int solSize,
boolean b0,
boolean logSol)
Sequential Floating Forward Search(SFFS) for selection of features
|
Modifier and Type | Method and Description |
---|---|
int[] |
sequentialForwardFloatingSelection(String dataFile,
int indVariable,
String[] features,
int[] X,
int[] Y,
int d,
int D,
int rowIni,
int rowEnd,
SoP sop) |
void |
trainModel(String[] lingFactors,
String featuresFile,
int numFeatures,
double percentToTrain,
SoP sop) |
protected boolean interceptTerm
protected boolean logSolution
protected int solutionSize
public SFFS(int solSize, boolean b0, boolean logSol)
solSize
- : size of the solution (default = 1)b0
- : if true include interceptTerm or b0 in the linear equation (default = true)logSol
- : if true use log(independent variable) (default = false)Copyright © 2000–2016 DFKI GmbH. All rights reserved.