# Siddharth Sundar

### MathWorks

Last seen: 2 years ago Active since 2014

Followers: 0   Following: 0

Professional Interests: Statistics, Machine Learning, Data Analysis

All

#### Feeds

View by

How to show Sample Size at Each Split in Tree using fitctree?
If I understand correctly, you want to be able to extract the subset of observations used at each split in a node. The CutPr...

9 years ago | 0

How to have Tree able to do Multiple Splits at each Node rather than just 2 using fitctree?
As mentioned in <http://www.mathworks.com/help/stats/classification-trees-and-regression-trees.html this doc page>, Statistics T...

9 years ago | 0

| accepted

What is the difference between quadratic and mahalanobis distance with stratified covaraiance estimates when using classify
The first place I would look at when trying to get some details about the Math behind the implementation would be the references...

9 years ago | 0

| accepted

maximization problem with random variables.
From what I understand, you want to maximize an expected value functional. Since there are random numbers involved, the optimiza...

9 years ago | 0

How to find first crossing of a threshold, then ignore n datapoints after?
If I understand correctly, you just want to be able to find the indices where your values in a vector cross a certain threshold ...

9 years ago | 2

How can I turn new dummy variables into the same dummy variables I used to create a model?
There is no direct way to tell *dummyvar* to use a previously created *dummyvar* predictor matrix as a reference. So, in this ca...

9 years ago | 0

| accepted

How to put big text into an array
Though I do not quite understand what you mean by 'sort it with a loop', a good place to start with would be the <http://www.mat...

9 years ago | 0

| accepted

Invalid Matrix Dimensions Error with frprintf
Nothing in the above code seems to point towards any error. You might have a variable called *fprintf* defined in your workspace...

9 years ago | 0

| accepted

HELP.....running on different monitors has messed up GUI
Setting the Resize behavior property to "Proportional" causes all the units of the objects to be set to 'normalized'. This will ...

9 years ago | 0

| accepted

Error when using kmedoids with custom distance function
Within the *kmedoids* function, there is a check on the distance metric to see if it is a string or a function handle. In your c...

9 years ago | 0

| accepted

How do I suppress the splash screen for compiled applications in 2014b?
This is not possible directly. As a workaround, do NOT distribute the splash screen image file from the *for_redistribution_fil...

9 years ago | 0

physical vs. logical core allocation for Matlab in slurm
For optimal performance, I would say that you should have one worker per physical core. Even though you have hyperthreading enab...

9 years ago | 1

Solved the graph. Drawed the function. How to plot the x solution marked with a ring...
I would suggest that you rework your code in the function *my_newton* to handle multiple x0 values in one call by passing a vect...

9 years ago | 0

MATLAB crashes when I try to plot.
I would suggest that you use the *-softwareopengl* startup option and see if that resolves the issue. This startup option forces...

9 years ago | 2

| accepted

Calculate VaR for equity portfolio
You could first create a *PortfolioCVaR* object. The PortfolioCVaR object has a method to compute the value-at-risk of portfolio...

9 years ago | 0

Error when running patternnet example code from Help documentation
From the error, it looks like you could have another function *softmax* that shadows the one shipped with the product. So you mi...

9 years ago | 4

| accepted

Finding cluster centre in hierarchial clustering
Hierarchical Clustering does not use a cluster center based clustering. This doc page talks about what goes on under the hood wh...

9 years ago | 0

If you are running it on a 32 bit OS, then your applications are limited to using 2GB and the rest of it used by the OS in itsel...

9 years ago | 0