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

Method F

JSAT/src/jsat/classifiers/boosting/LogitBoost.java:186–193  ·  view source on GitHub ↗
(DataPoint x)

Source from the content-addressed store, hash-verified

184 }
185
186 private double F(DataPoint x)
187 {
188 double fx = 0.0;//0 so when we are uninitalized P will return 0.5
189
190 for(Regressor fm : baseLearners)
191 fx += fm.regress(x);
192 return fx*fScaleConstant;
193 }
194
195 /**
196 * Returns the probability that a given data point belongs to class 1

Callers 1

PMethod · 0.95

Calls 1

regressMethod · 0.65

Tested by

no test coverage detected