The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
t-SNE operator bug
mneethling
Member Posts: 1 Learner I
Hi, it seems the t-SNE operator from the Operator Toolbox has a defect where the special column values gets changed (id and label columns). To illustrate I've modified the t-SNE toturial slightly:
<div><br></div><div><?xml version="1.0" encoding="UTF-8"?><process version="9.0.003"><br> <context><br> <input/><br> <output/><br> <macros/><br> </context><br> <operator activated="true" class="process" compatibility="9.0.003" expanded="true" name="Process" origin="GENERATED_TUTORIAL"><br> <process expanded="true"><br> <operator activated="true" class="generate_data" compatibility="9.0.003" expanded="true" height="68" name="Generate Data" origin="GENERATED_TUTORIAL" width="90" x="179" y="34"><br> <parameter key="target_function" value="two gaussians classification"/><br> <parameter key="number_of_attributes" value="10"/><br> <description align="center" color="transparent" colored="false" width="126">10-dimensional Gaussian mixture data</description><br> </operator><br> <operator activated="true" class="generate_attributes" compatibility="9.0.003" expanded="true" height="82" name="Generate Attributes" width="90" x="313" y="34"><br> <list key="function_descriptions"><br> <parameter key="ID" value="str(round(rand()*10000))"/><br> </list><br> </operator><br> <operator activated="true" breakpoints="after" class="set_role" compatibility="9.0.003" expanded="true" height="82" name="Set Role" width="90" x="447" y="34"><br> <parameter key="attribute_name" value="ID"/><br> <parameter key="target_role" value="id"/><br> <list key="set_additional_roles"/><br> </operator><br> <operator activated="true" class="operator_toolbox:tsne" compatibility="1.5.000" expanded="true" height="82" name="t-SNE" origin="GENERATED_TUTORIAL" width="90" x="581" y="34"><br> <parameter key="attributes" value="att2|att1"/><br> <parameter key="perplexity" value="25.0"/><br> <parameter key="iterations" value="10000"/><br> </operator><br> <connect from_op="Generate Data" from_port="output" to_op="Generate Attributes" to_port="example set input"/><br> <connect from_op="Generate Attributes" from_port="example set output" to_op="Set Role" to_port="example set input"/><br> <connect from_op="Set Role" from_port="example set output" to_op="t-SNE" to_port="exa"/><br> <connect from_op="t-SNE" from_port="exa" to_port="result 1"/><br> <portSpacing port="source_input 1" spacing="0"/><br> <portSpacing port="sink_result 1" spacing="0"/><br> <portSpacing port="sink_result 2" spacing="0"/><br> </process><br> </operator><br></process><br></div>
Maybe someone can explain this behaviour?
Tagged:
0
Comments
thank you for reporting this. It indeed looks like a bug. I am the author of this operator an will check what's going on to provide a bug fix.
Best,
Martin
Dortmund, Germany
i was able to trace down the issue. I've created an internal patch. This should be available next week at latest.
Best,
Martin
Dortmund, Germany
Sorry we forgot to mention that the bugfix was released with version 1.7.0 of the Operator Toolbox (release date 2018-11-26).
This thread can be closed now.
Best regards,
Fabian