Modify ↓
Opened 12 years ago
#19 new enhancement
Getting rid of floats !
Reported by: | anonymous | Owned by: | fradav |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Multiboost code | Version: | |
Keywords: | Cc: |
Description
Accelerating Multiboost by using integers instead of floating point numbers to represent example weights.
Rough details :
- compute the sum of the integer weights (maxint) and the precision (1/maxint).
- check the formula:
alpha = 0.5 * log( maxint + gamma / (maxint - gamma))
- after the reweighting of the examples :
w = ceil(w) if misclassified
w = floor(w) otherwise
- check the sum w.r.t the tolerance : epsilon = numExamples * precision
Attachments (0)
Note: See
TracTickets for help on using
tickets.