I am building a ML model in python that will be run with the analytics tool. currently a dataframe with the r^2 is being printed to a .csv file. Is there a way to have alteryx output a message box that says for Model X is the r^2 is "r^2 value" ? or something of that sort?
The code runs in python that is the final step of the flow.
Solved! Go to Solution.
Hi @nshapir2 , if you're using the Python tool in Alteryx Designer, you can use the print function to write to the Results window, see below...
hmm but I am using analytics app?
so I followed this procedure in Alteryx, and I can produce the file but the output says [Message] rather than what is stored in the message.
hey @nshapir2
Ensure the output from the python tool that you want to display, is called 'Message':
If not, it will product the issue you are receiving.
I am running in an analytics tool. It should be called message? the dataframe I created has message stored in it.
its a dataframe with message 1 and message 2, (two rows). That I write to output 1
@nshapir2 I provided an example of how this can be done with the above python_example.yxwz example. If you're having trouble replicating it perhaps you can attach the workflow you're creating so that we can troubleshoot it?