• Abe Friesen's avatar
    - LogisticRegressionImpl::predict() was changed to return the predicted value… · 9c6ff4d9
    Abe Friesen authored
    - LogisticRegressionImpl::predict() was changed to return the predicted value and to only write to the OutputArray results if specified (no longer segfaults).
    - Refactored batch and mini_batch training to use a common gradient computation function (removed duplicate code).
    - Altered the cost computation so that NAN is not computed unnecessarily.
    - Greatly simplified (and sped up) the code that appends a column of 1s to the data.
    - Minor code cleanup.
    
    Removed unused variables.
    
    Added cast to float to remove warning
    9c6ff4d9
Name
Last commit
Last update
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...