mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
1. Input/OutputArray optimizations;
2. Algorithm::load/save added (moved from StatModel) 3. copyrights updated; added copyright/licensing info for ffmpeg 4. some warnings from Xcode 6.x are fixed
This commit is contained in:
@@ -179,7 +179,7 @@ void CV_LRTest_SaveLoad::run( int /*start_from*/ )
|
||||
// and load to another
|
||||
try
|
||||
{
|
||||
Ptr<LogisticRegression> lr2 = StatModel::load<LogisticRegression>(filename);
|
||||
Ptr<LogisticRegression> lr2 = Algorithm::load<LogisticRegression>(filename);
|
||||
lr2->predict(tdata->getSamples(), responses2);
|
||||
learnt_mat2 = lr2->get_learnt_thetas();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user