MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / addFeature

Method addFeature

JSAT/src/jsat/datatransform/featureselection/SFS.java:180–186  ·  view source on GitHub ↗

@param curBest the value of curBest @param nCat the value of nCat @param catF the value of catF @param numF the value of numF

(int curBest, int nCat, Set<Integer> catF, Set<Integer> numF)

Source from the content-addressed store, hash-verified

178 * @param numF the value of numF
179 */
180 static protected void addFeature(int curBest, int nCat, Set<Integer> catF, Set<Integer> numF)
181 {
182 if(curBest >= nCat)
183 numF.add(curBest-nCat);
184 else
185 catF.add(curBest);
186 }
187
188 /**
189 *

Callers 3

SFSSelectFeatureMethod · 0.95
searchMethod · 0.95
SBSRemoveFeatureMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected