radumg / DynAI

Practical applications of AI / Machine Learning in BIM, implemented as a Dynamo Package
GNU Affero General Public License v3.0
36 stars 6 forks source link

Machine.Learn node returns null #12

Closed radumg closed 6 years ago

radumg commented 6 years ago

The Machine.Learn node returns null instead of the trained Machine.

Note, the node does work at least once as the Machine.Predict node runs, so the underlying algorithm is trained.

radumg commented 6 years ago

Turns out Dynamo doesn't like when the declared return type of a method is the IMachine interface, so though not ideal, i'm changing it to Machine.