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

Method removeFeature

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

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

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

Source from the content-addressed store, hash-verified

193 * @param numF the value of numF
194 */
195 static protected void removeFeature(int feature, int nCat, Set<Integer> catF, Set<Integer> numF)
196 {
197 if(feature >= nCat)
198 numF.remove(feature-nCat);
199 else
200 catF.remove(feature);
201 }
202
203 @Override
204 public DataPoint transform(DataPoint dp)

Callers 3

SFSSelectFeatureMethod · 0.95
searchMethod · 0.95
SBSRemoveFeatureMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected