Replies: 3 comments 1 reply
-
|
If I understand correctly, the answer is: no. An input signal can be connected to outputs of multiple widgets. Widget then maintains a list of all received values and uses it according to its function. In Python Script widget, values from multiple widgets are exposed in lists, e.g. Output signals are different. A widget cannot put different values into the same output signal. Which widget would accept such output? I suspect your case is a bit different. Maybe you don't want to send "a list of tables", but you want to output, say, two tables, like "selected instances" and "other instances", and connect them to two different widgets? So, not |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your prompt response Janez! What I need is exactly what you described in relation to out_data1 and out_data2. Unfortunately, this does not work. When I try it, I get no error but the data sent to both Orange tables is the same. Below is a snippet from the Python Script widget where I attempt to send two different datasets to two different Orange tables: reduced_data = relu(X_scaled_train @ autoencoder.coefs_[0] + autoencoder.intercepts_[0]) create Orange.data.table.Tableout_table1 = table_from_frame(reduced_df) reduced_data = relu(X_scaled_test @ autoencoder.coefs_[0] + autoencoder.intercepts_[0]) |
Beta Was this translation helpful? Give feedback.
-
|
I'm sorry for misleading you: I wrote about |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would really appreciate any help on the above.
It used to be possible (not sure if still is) to send several inputs to Python Script widget (via in_datas?). Is there an analogue for out data?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions