mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 05:42:51 -05:00
Merge pull request #9054 from zhmu:upstream
This commit is contained in:
@@ -403,7 +403,7 @@ public:
|
|||||||
Mat(tempCatMap).copyTo(catMap);
|
Mat(tempCatMap).copyTo(catMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
if( varType.at<uchar>(ninputvars) == VAR_CATEGORICAL )
|
if( noutputvars > 0 && varType.at<uchar>(ninputvars) == VAR_CATEGORICAL )
|
||||||
{
|
{
|
||||||
preprocessCategorical(responses, &normCatResponses, labels, &counters, sortbuf);
|
preprocessCategorical(responses, &normCatResponses, labels, &counters, sortbuf);
|
||||||
Mat(labels).copyTo(classLabels);
|
Mat(labels).copyTo(classLabels);
|
||||||
|
|||||||
Reference in New Issue
Block a user