[英]decision boundary for classification
I have trained my machine learning classification model in Python. For the result analysis when I am trying to draw a decision surface or boundary in google colab using sklearn(scikit-learn) inspection module我已经在 Python 中训练了我的机器学习分类 model。对于当我尝试使用 sklearn(scikit-learn) 检查模块在 google colab 中绘制决策面或边界时的结果分析
from sklearn.inspection import DecisionBoundaryDisplay
I am getting the following error.我收到以下错误。
I have upgraded sklearn我升级了sklearn
pip install -U scikit-learn
After the upgrade sklearn version is 1.0.2升级后sklearn版本为1.0.2
why am I encountering the error and what is the solution to this problem?为什么我会遇到错误,这个问题的解决方案是什么?
sklearn v1.0.2 does not have DecisionBoundaryDisplay: https://scikit-learn.org/1.0/modules/classes.html#module-sklearn.inspection sklearn v1.0.2 没有 DecisionBoundaryDisplay: https://scikit-learn.org/1.0/modules/classes.html#module-sklearn.inspection
sklearn v1.1.3 does: https://scikit-learn.org/stable/modules/classes.html#module-sklearn.inspection sklearn v1.1.3 做: https://scikit-learn.org/stable/modules/classes.html#module-sklearn.inspection
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.