I am trying to integrate a machine learning model within Dynamo for analysis purposes. The idea would be to use this ML model and 10 numeric variables to predict 2 outputs which are also numeric values. I thought that code blocks in Dynamo would help me do the work, but they didn’t. I am trying to figure out how “python script” nodes in Dynamo can help me execute the attached codes (part 1 and part 2). I’ve screenshotted the output window for “code part 2” to show that the inputs are represented by one array that consists of 10 numeric values, and that the outputs are represented by one array of 2 values.
I also tried attaching “model_autokeras.zip” folder which is the ML model saved as h5 in this zipped folder, but the format isn’t supported here. I’ll try attaching it in a comment.
The purpose of this integration will be to use the ML model as the analysis part of the GD, and later the goals of the GD will be to minimize both outputs of the ML model (while varying the input values).
Thank you in advance!