提交 71770eb7 编写于 作者: M Maksim Shabunin

Fixed ML module build after merge

上级 a2383623
......@@ -571,8 +571,6 @@ public:
/****************************************************************************************\
* Logistic Regression *
\****************************************************************************************/
namespace cv
{
struct CV_EXPORTS LogisticRegressionParams
{
double alpha;
......@@ -624,7 +622,6 @@ protected:
virtual bool set_label_map(const cv::Mat& labels);
static cv::Mat remap_labels(const cv::Mat& labels, const std::map<int, int>& lmap);
};
}// namespace cv
/****************************************************************************************\
* Auxilary functions declarations *
......
......@@ -57,6 +57,7 @@
using namespace cv;
using namespace cv::ml;
using namespace std;
LogisticRegressionParams::LogisticRegressionParams()
......
......@@ -60,7 +60,7 @@
using namespace std;
using namespace cv;
using namespace cv::ml;
static bool calculateError( const Mat& _p_labels, const Mat& _o_labels, float& error)
{
......
......@@ -65,7 +65,7 @@
using namespace std;
using namespace cv;
using namespace cv::ml;
int main()
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册