photo

Leon


Last seen: 3 meses hace Con actividad desde 2024

Followers: 0   Following: 0

Estadística

MATLAB Answers

10 Preguntas
7 Respuestas

CLASIFICACIÓN
6.441
of 300.352

REPUTACIÓN
7

CONTRIBUCIONES
10 Preguntas
7 Respuestas

ACEPTACIÓN DE RESPUESTAS
60.0%

VOTOS RECIBIDOS
4

CLASIFICACIÓN
 of 20.928

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN

of 168.212

CONTRIBUCIONES
0 Problemas
0 Soluciones

PUNTUACIÓN
0

NÚMERO DE INSIGNIAS
0

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

  • Thankful Level 3
  • First Answer

Ver insignias

Feeds

Ver por

Pregunta


Random Forest with paired observations: how to maintain subject separation
When using classifiers like SVM, I keep observations from each subject together by using a custom cross-validation partition. Ra...

4 meses hace | 1 respuesta | 0

1

respuesta

Respondida
What is the right formula for the RBF 'KernelScale' of fitcsvm?
The RBF (Gaussian) kernel can be defined with either gamma or sigma: or where sigma is the standard deviation of the Gauss...

7 meses hace | 0

Respondida
Avoid negative sign with compose() when output is zero, e.g. '-0' or '-0.0'
Since it seems MATLAB doesn't have a function for this, here's the one I made. I also like Stephen23's idea of using a regular e...

8 meses hace | 0

Pregunta


Avoid negative sign with compose() when output is zero, e.g. '-0' or '-0.0'
When compose outputs zero, it includes a negative sign if the number was negative, giving, e.g. -0 or -0.0. How can I avoid this...

8 meses hace | 3 respuestas | 0

3

respuestas

Respondida
How can I get script's location when running one section of a script?
I seem to have found a workaround by creating a function in a separate .m in the same folder that calls mfilename("fullpath"), a...

más de 1 año hace | 2

Pregunta


How can I get script's location when running one section of a script?
I frequently run scripts one section at a time. I can be using different computers, remote desktops, etc., so the path changes. ...

más de 1 año hace | 2 respuestas | 0

2

respuestas

Respondida
fitcdiscr bug: Why does "ClassNames" now have to be provided in alphanumerical order otherwise accuracy is terrible?
I received the following answer and workaround (using kfoldPredict) from Mathworks technical support: The bug here lies within ...

más de 1 año hace | 0

Pregunta


fitPosterior warning: Why does fitPosterior output a warning when the transformation is a step function?
I'm training various SVM models and saving the output from MATLAB. The output has lots of these warning messages: Warning: Clas...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


fitcdiscr bug: Why does "ClassNames" now have to be provided in alphanumerical order otherwise accuracy is terrible?
[Update: There is a known bug in kfoldLoss. See answer and workaround from Mathworks technical support in the answers section] ...

más de 1 año hace | 2 respuestas | 0

2

respuestas

Respondida
How to stop further execution of M-script by using command?
This doesn't answer your question, but something I use to stop a program without using an error message like error("Don't panic,...

más de 1 año hace | 1

Pregunta


kfoldLoss() values have inconsistent precision between different iterations of a loop
I am training an RBF SVM with leave-one-out cross-validation using 94 observations and I am surpised to find that the precision ...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Possible to iterate over table rows without a loop index variable?
To iterate over the variables (columns) of a table, you can do this: my_table = table([1; 2; 3], [4; 5; 6], ["Seven"; "Eight"; ...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


How to output variables properly from a parfor loop
Having read over the documentation and Googled, I have an idea of what I'm not allowed to do in a parfor loop, but can't seem to...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Respondida
How can I check whether an argument is given or not (inputParser)?
Is there any reason not to use exist("arg_name", "var") ? It doesn't give a false positive for a global of the same name. Maybe...

más de 1 año hace | 0

Pregunta


Create confusion matrix from LDA model
It is easy to train an LDA model and find its accuracy by cross-validation as below: Mdl = fitcdiscr(data, "Response_var_name",...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


What is the best way to add empty rows to an existing table, to pre-allocate for more data?
Let's say I have a table that has 100 rows of ten variables and now I know I am going to need another 100 rows (or perhaps 100,0...

casi 2 años hace | 2 respuestas | 1

2

respuestas

Respondida
How do I rename fields of a structure array?
Until Matlab (hopefully) introduces a rename field function, I would convert to a table then use renamevars() and then convert b...

casi 2 años hace | 0