Chaining Visitors #248
-
Apologies for another question, but I could not see this in the Hello World example or documentation. I wanted to know if it is possible to chain visitors? For example, if I want to apply the rate of change visitor to a linear regression visitor result, how could I do that? The examples usually have a single visitor acting directly on a dataframe from what I can see. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't have the chaining interface because it is not as efficient in C++. But what you can do is in one call run the visitor and add its result as a new column in the DataFame load_result_as_column() (given the result of the algo is a vector). And then run the next visitor on the new column. |
Beta Was this translation helpful? Give feedback.
I don't have the chaining interface because it is not as efficient in C++. But what you can do is in one call run the visitor and add its result as a new column in the DataFame load_result_as_column() (given the result of the algo is a vector). And then run the next visitor on the new column.