Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 Sklearn 中的 RandomForestRegressor 时,如何获得回归的残差?我想画出这些残差来检查线性度。
没有这个功能,因为我们喜欢保持界面非常简单。你可以做
y - rf.predict(X)