Community Profile

photo

Leon


Last seen: 1 day ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • First Answer

View badges

Feeds

View by

Question


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 ...

5 days ago | 0 answers | 0

0

answers

Question


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"; ...

9 days ago | 1 answer | 0

1

answer

Question


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...

9 days ago | 1 answer | 0

1

answer

Answered
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...

2 months ago | 0

Question


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",...

2 months ago | 1 answer | 0

1

answer

Question


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...

4 months ago | 2 answers | 1

2

answers

Answered
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...

4 months ago | 0