MATLAB Answers

How to find what settings "tsne" is using when I do not specify any Name Value pairs as options?

1 view (last 30 days)
Pappu Murthy
Pappu Murthy on 21 Oct 2020
Commented: Steven Lord on 21 Oct 2020
If I use tsne with out any Name Value pair options, is there a way to find what parameters the code is using internally? Is there a command that can list all the parameters used?

  0 Comments

Sign in to comment.

Accepted Answer

Steven Lord
Steven Lord on 21 Oct 2020
Open the documentation page for tsne using the doc command. Scroll down to the Name-Value Pair Arguments subsection of the Input Arguments section. The section for each name-value pair argument lists the accepted values and also indicates what the default value is for that argument. For instance, the documentation page lists the default value of 'Algorithm' as 'barneshut'.

  4 Comments

Show 1 older comment
Steven Lord
Steven Lord on 21 Oct 2020
No, there is no such function in general. Such a function would be extremely difficult to write and maintain.
What are you trying to do that you need or want to get access to this information programmatically?
Since you mentioned optimset there is a syntax that will display that information (calling it with no output argument) but not one that will return that information.
Pappu Murthy
Pappu Murthy on 21 Oct 2020
I see. Thanks for the clarification. I understand. I was hoping to get a handle which displays all the current parameter values. But if such is not there so be it.
Steven Lord
Steven Lord on 21 Oct 2020
If this "handle" did exist, how would you use it? What would you expect / want to be able to do with it?

Sign in to comment.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by