"Propagating Macros"
mdr
New Altair Community Member
How do I propagate macros I defined in process that is being by other processes.
I made a 'Read DB' process that reads the data, Discretizes it and Splits it.
I am now using this 'Read DB' process in several learners.
I am essentially creating a model for each learner using GridOptimize and I want to write out the model, params, results etc in a directory by {process_name}.
So I want to set a path in the main process (Read DB) that is then used by the sub processes. The only way it seems to do this is by putting a 'Set Macros' operator in each of the child processes and setting the path individually there.
Would there be a way to do this where I set it once in the main process and use it in the calling operators?
Thanks.
mdr
I made a 'Read DB' process that reads the data, Discretizes it and Splits it.
I am now using this 'Read DB' process in several learners.
I am essentially creating a model for each learner using GridOptimize and I want to write out the model, params, results etc in a directory by {process_name}.
So I want to set a path in the main process (Read DB) that is then used by the sub processes. The only way it seems to do this is by putting a 'Set Macros' operator in each of the child processes and setting the path individually there.
Would there be a way to do this where I set it once in the main process and use it in the calling operators?
Thanks.
mdr
0
Answers
-
0