请问“最初保存为tr​eebagger的变​量无法实例化为对象”​是为什么?

27 visualizaciones (últimos 30 días)
蕾 王
蕾 王 el 28 de Oct. de 2021
Comentada: 蕾 王 el 30 de Oct. de 2021

这个随机森林的代码在别人电脑上都可以正常运行,但是到了我的电脑上变成了这样。

  1 comentario
Walter Roberson
Walter Roberson el 28 de Oct. de 2021
Approximate translation:
May I ask why "the variable originally saved as tr​eebagger cannot be instantiated as an object"​?
The code of this random forest can run normally on other people's computers, but it becomes like this on my computer.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 28 de Oct. de 2021
That error message would occur if your system does not have the class definition for treebagger . In particular, it would occur if your system does not have the Statistics and Machine Learning toolbox installed.
  1 comentario
蕾 王
蕾 王 el 30 de Oct. de 2021
Thank you very much. It's useful!

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!