Community Profile

photo

Aditya Patil


Last seen: Today

MathWorks

116 total contributions since 2020

I am an Engineer with Engineering Development Group at Mathworks.

My area of interest includes Deep Learning and Machine Learning.

DISCLAIMER: Any advice or opinion here are my own and in no way reflect that of MathWorks.

Aditya Patil's Badges

  • 6 Month Streak
  • Knowledgeable Level 3
  • Revival Level 3
  • First Answer

View details...

Contributions in
View by

Answered
chi2gof function does not work with Gaussian mixture model
You need to pass a function handle of the cdf function, for example, h = chi2gof(x,'cdf',{@normcdf,mean(x),std(x)}) For your e...

5 days ago | 0

Answered
How to open a mat file in C?
The file is included with MATLAB installation. You might have to add it to the path where your compiler looks for header files.

6 days ago | 0

Answered
Fit Curve a Graph with Shape like y^2 = x
generally, a function is expected to map only one y value for each x value. As you have two values for each input, you need to r...

6 days ago | 0

Answered
How to develop regression function (Mathmatical form) from trained model using regression learner?
In case of support vector machines(both for classification and regression), the score function/regression function might not be ...

6 days ago | 0

| accepted

Answered
Initialization of imsegkmeans function
Currently, there is no support for setting explicit values for the centroids. However, you can set the 'NumAttempts' name value...

7 days ago | 0

| accepted

Answered
Not a valid predictor error when trying to predict
I have brought this issue to the notice of the concerned staff, and it might be fixed in any of the upcoming releases.

7 days ago | 0

Answered
How can I restrict the number of features for testing set in SVM classification with linear kernel?
Generally, you can't determine feature importance in SVM, unless a linear kernel is used. Refer following answer for more inform...

7 days ago | 0

Answered
implementing k means algorithm on spike sorting data
Note that the parenthesis is wrong for the second part of the equation. The square is to be taken of the y1 - y2 term, and not j...

7 days ago | 0

| accepted

Answered
CUDA_ERROR_ILLEGAL_ADDRESS with "trainNetwork" on NVidia RTX8000
As this error occurs only for large batch size, one possibility is that the driver is outdated and not detecting out of memory e...

8 days ago | 0

Answered
How to include all variables in each decision tree of an ensemble?
'NumVariablesToSample' defines the number of variables(predictors) which will be considered at any given split. The decision tre...

8 days ago | 0

Answered
Outputting the decision boundary function for one-class SVM with fitcsvm?
You can find the equation for decision boundary explicitly only if linear kernel is used. In other cases, the score function is ...

8 days ago | 0

Answered
How to get optimal value that best distinguishes two groups using SVM
For svm with linear kernel, the boundary is given by the hyperplane at which the score function is equal to zero. In case of a s...

8 days ago | 0

Answered
get prediction of all binary learners for multi-class classification
You can get the underlying compact models using the Trained Property. You can call the predict function on these models. You c...

8 days ago | 0

Answered
Presiction time in Classification Lerner
obs/sec refers to number of observations processed per second. It's inverse would be the time taken for one prediction in second...

9 days ago | 0

Answered
How to print F values for pairwise comparisons using multcompare(stats)?
You can refer to F-statistic and t-statistic documentation for an example on getting the f statistics.

10 days ago | 0

| accepted

Answered
How do I count how many times disp() appears in the command window
parfor understands how to handle addition in parallel. Hence you can simply increment a variable as follows, N=100; count = 0;...

19 days ago | 0

Answered
Finding SVM hyperplane equation for 2nd order polynomial
In SVM, the beta value is used to find score only in case of linear kernel, as either no feature transformation or explicit feat...

20 days ago | 0

| accepted

Answered
deep network design with 30 csv files.
You can consider the matrices as images, and then resize them to the required size of the networks. However, this will work only...

21 days ago | 0

| accepted

Answered
fitcensemble settings to speed the process up
You can use the struct('UseParallel',true) name-value pair to improve performance of the hyperparameter optimization. This r...

21 days ago | 1

| accepted

Answered
One-Class Classification using Neural Network
As per my understanding, you want to create a one class classifier using neural networks. As neural network classifiers work ba...

22 days ago | 0

Answered
Memory not being cleared from iteration to iteration?
As per my understanding, your code is using more memory than expected. This might happen if you are creating many temporary var...

23 days ago | 0

Answered
knnimpute in training/ testing sets
Currently this functionality is not available in knnimpute. I have brought this request to the notice of concerned developers. I...

2 months ago | 0

Answered
Having trouble with linregr in matlab
You can use fitlm for linear regression. You can check the documentation for examples.

2 months ago | 0

Answered
Best function for fitnlm
As per my understanding, you are having problem with defining the features for the classification problem. One solution is to u...

2 months ago | 0

Answered
How could I create stl file based on the ellipsoid command?
stlwrite only support triangles. You can get the alphaShape of ellipsoid using the alphaShape function. shp = alphaShape(tr.Po...

2 months ago | 1

| accepted

Answered
Reuse a NARX neural network after it has been trained
You should use the preprocessed data, and not the raw data for prediction. Repeat the same preprocessing steps that you do for t...

2 months ago | 0

Answered
Implementing Moderation analysis using fitrm when i have a 2 within subjects factors
The idea behind repeated measures is that we measure the response variable over time or under different conditions. If A and B ...

2 months ago | 0

Answered
Unexpected error calling cuDNN: CUDNN_STATUS_NOT_SUPPORTED
This is a known issue with cuDNN. Following are some workarounds, 1. Update to newer release of MATLAB. Newer releases might us...

2 months ago | 0

Answered
Measuring similarity between two individual trees in a model created by fitcensemble
Comparing decision trees is not straightforward as they can have different structures, different variables at each node, and dif...

2 months ago | 0

Answered
How could I plot a "learning curve" using the "Statistic and Machine Learning toolbox"?
You can save the plots generated during training using "OutputFcn" field as mentioned in this answer.

2 months ago | 0

Load more