Closed ritagonmar closed 3 years ago
I am wondering the same. I assumed it might inherit the random state defined in TSNEEmbedding()
at first, but re-running with the same input does not result in an identical output.
Thanks for reporting this. The documentation was incorrect here -- the optimization procedure is deterministic and doesn't require any random_state for reproducible results. This was a mistake on my part.
You are right, the cause was something else. I was wrongly assuming openTSNE as the culprit, because i assumed it needed a randomization seed. Sorry for the false alarm!
Hi Pavlin,
I experienced another weird thing when using
.optimize()
. In the documentation,random_state
appears as a parameter of the function, but when I pass a random state to it, I get this error:Steps to reproduce the behavior
The code I used when encountering this problem is (same as in issue #190 but including the
random_state
in.optimize()
):Do you know if
.optimize()
should be able to take a random state or am I somehow misunderstanding the documentation?