AttributeError using pyBrain _splitWithPortion - object type changed?

前端 未结 6 951
遥遥无期
遥遥无期 2021-02-07 06:36

I\'m testing out pybrain following the basic classification tutorial here and a different take on it with some more realistic data here. However I receive this error when applyi

6条回答
  •  粉色の甜心
    2021-02-07 07:08

    The implementation of splitWithProportionchanged between PyBrain versions 0.3.2 and 0.3.3., introducing this bug that breaks polymorphism.
    As of now, the library hasn't been updated since January 2015, so using some kind of workaround is the only course of action at the moment.

    You can check the responsible commit here: https://github.com/pybrain/pybrain/commit/2f02b8d9e4e9d6edbc135a355ab387048a00f1af

提交回复
热议问题