The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Iterating, Macros, Automation
Hi All-
I've attached a process and excel data file. The process looks like this:
Inside those green boxes are two dates and assume the nonexistent Store procedure has a file name in it.
I need to accomplish a few things:
Thanks!
-Noel
I've attached a process and excel data file. The process looks like this:
Inside those green boxes are two dates and assume the nonexistent Store procedure has a file name in it.
I need to accomplish a few things:
- I need to find a way to iterate over dates in the green boxes. (E.G. say I had 4 years of timeseries data... How could I automate the process of training the model on 24 months, applying the resulting model to one week for testing, advance one week, train on the next 24 months and then test on the next week, rinse and repeat?)
- What is the best way to store Apply Model output (i.e. predictions with confidences, etc.) and performance metrics (confusion matrix-type stuff) for each iteration such that one can go back and look at them all in aggregate. (E.G. How could I *cumulatively* compare the performance of 24mo training periods/test on one week for a year vs 36 mos or 18mo training periods?)
- I suspect there is a better way to cobble together a year's worth of weekly output than spewing out 52 excel sheets and stitching them together by hand... any suggestions?
Thanks!
-Noel
1
Answers
Interesting problem....
I try to find a solution for the requirement 1.
I converted the date to numerical (via Date to Numerical operator ..logic ) and then I embedded your 2 Filter Examples in 2 Loop operators. I try to iterate to create your training windows and your test windows but the output of the Filter Examples are empty ....
for an unknown reason..!!
It seems that there is bug inside the Filter Examples operators when condition class = expression is set
OR
I missed something ....
In attached file your modified process (don't worry, due to what I described above, the process raises an error...)
Regards,
Lionel
What if one created a schedule and stored it as a dataset. E.G.:
Could one get those values into the loop (and other) operators in the process?
Again, thanks.
-Noel