Is there getChoicesFromPython for R recipe plugin?

Solved!
domantas
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
1 Solution
fchataigner2
Dataiker

Hi,

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

View solution in original post

2 Replies
fchataigner2
Dataiker

Hi,

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

domantas
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