【发布时间】:2016-05-30 19:19:17
【问题描述】:
有没有什么方法可以在 Opencv 中使用 matplotlib 在 python 中可视化 svm 模型,例如 http://scikit-learn.org/stable/auto_examples/svm/plot_iris.html 。
【问题讨论】:
标签: python opencv matplotlib machine-learning computer-vision
有没有什么方法可以在 Opencv 中使用 matplotlib 在 python 中可视化 svm 模型,例如 http://scikit-learn.org/stable/auto_examples/svm/plot_iris.html 。
【问题讨论】:
标签: python opencv matplotlib machine-learning computer-vision
为了可视化 SVM 的决策边界,您的数据必须是二维。如果是这种情况,您可以只使用 scikit-learns 代码,并将对.predict 的调用替换为来自您自己的库(如 opencv)的类似预测。
【讨论】: