简体   繁体   English

分类的决策边界

[英]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?为什么我会遇到错误,这个问题的解决方案是什么?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM