Check out the first Dataiku 8 Deep Dive focusing on Productivity on October 29th Read More

Is there getChoicesFromPython for R recipe plugin?

Level 2
Is there getChoicesFromPython for R recipe plugin?

Hey,

I have a function in R recipe  that creates bag of words dataframe. I would like to put all the substrings (bagofwords$text) into MULTISELECT choices. However, since I feel way more comfortable with R than Python I can't think of the solution.  

0 Kudos
2 Replies
Dataiker
Dataiker

Hi,

programmatically populating dropdowns of SELECT and MULTISELECT parameters in plugin forms can only be done using Python

Level 2
Author

Thank you for your answer. Well maybe there is other way to solve this problem? to be precise I would like to use these substring as parameter for str_replace_all. I want to drop most frequant substrings from initial string column, because it would improve my trained model prediction accuracy and would reduce noise.

0 Kudos
Labels (3)