mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Misc. modules/ typos (cont.)
Found via `codespell`
This commit is contained in:
@@ -91,7 +91,7 @@ protected:
|
||||
void CV_LRTest::run( int /*start_from*/ )
|
||||
{
|
||||
CV_TRACE_FUNCTION();
|
||||
// initialize varibles from the popular Iris Dataset
|
||||
// initialize variables from the popular Iris Dataset
|
||||
string dataFileName = ts->get_data_path() + "iris.data";
|
||||
Ptr<TrainData> tdata = TrainData::loadFromCSV(dataFileName, 0);
|
||||
|
||||
@@ -153,7 +153,7 @@ void CV_LRTest_SaveLoad::run( int /*start_from*/ )
|
||||
CV_TRACE_FUNCTION();
|
||||
int code = cvtest::TS::OK;
|
||||
|
||||
// initialize varibles from the popular Iris Dataset
|
||||
// initialize variables from the popular Iris Dataset
|
||||
string dataFileName = ts->get_data_path() + "iris.data";
|
||||
Ptr<TrainData> tdata = TrainData::loadFromCSV(dataFileName, 0);
|
||||
|
||||
@@ -205,7 +205,7 @@ void CV_LRTest_SaveLoad::run( int /*start_from*/ )
|
||||
comp_learnt_mats = comp_learnt_mats/255;
|
||||
|
||||
// compare difference in prediction outputs and stored inputs
|
||||
// check if there is any difference between computed learnt mat and retreived mat
|
||||
// check if there is any difference between computed learnt mat and retrieved mat
|
||||
|
||||
float errorCount = 0.0;
|
||||
errorCount += 1 - (float)countNonZero(responses1 == responses2)/responses1.rows;
|
||||
|
||||
Reference in New Issue
Block a user