I would like to use the output of an R model in a Python tool to generate additional metrics, such as the ROC curve or visualizing the trees of a random forest. Although I am aware that this can be done using an R tool, it is a requirement from the client to use Python.
Is it possible to achieve this using Python?
Thank you!
The R tool is going to output either an R object or data. I do not believe you can directly convert an R object model to Python. If you choose data - you would then need to feed this data into your python formula - at that point - perhaps you should look at recoding what you want in Python and skipping the out of the box tools all together?
https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Knowledge-Base/A-Cheat-Sheet-of-Functions-... provides additional data on outputting R objects - I haven't done it in a few years so I've forgotten the specifics.
User | Count |
---|---|
106 | |
82 | |
70 | |
54 | |
40 |