(DataPoint x)
| 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 |