# Aditya Patil

### MathWorks

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.

**Statistics**

RANK**258**

of 239,344

REPUTATION**268**

CONTRIBUTIONS

**0** Questions

**175** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**21**

RANK

of 16,805

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Cluster Standard Errors with fitlm

Currently, clustered standard errors is not supported in Statistics and Machine Learning Toolbox. I have brought the request to ...

12 days ago | 0

Finding pixel distances from sets of lines making up a curve?

As per my understanding, you have a set of points (let us say P) and each of them has a corresponding set of line segments (say ...

13 days ago | 0

How to get DBSCAN to assign the items to the clusters found

As per my understanding, you have some data that you use for clustering, and some other corresponding data that you want to mat...

14 days ago | 0

| accepted

Time Series Classification with a convolutional neural network ?

As the data is temporal, you can use one of the sequence classification models. For example, you can use LSTMs (Long Short-Term ...

14 days ago | 0

Why Matlab SVR is not working for exponential data and works well with data that fluctuates?

SVR uses a linear kernel by default, which might not be appropriate for exponential data. You might want to try the gaussian ker...

15 days ago | 0

What parameters are optimized by default when the crossval-on name-value pair option is used in the fitrensemble function?

Cross validation splits the data into K partitions. Then it trains the models on the K permutations of (K - 1) sets and validate...

16 days ago | 0

what is the role of streaming multiprocessor(multiprocessorcount in gpuDevice()) on GPU coder?

Streaming Multiprocessors (SMs) is a concept from Nvidia GPUs, where each SM processes threads in parallel. More the number of S...

17 days ago | 0

How to extract best features using MRMR function?

As per my understanding, you are looking to get the feature importance using the minimum redundancy maximum relevance algorithm....

17 days ago | 0

How can I reduce the size of machine learning model from classification learner app, to be used by my code?

The size of the model depends on the number of parameters required to define it. Due to their nature, ensembles in general, and ...

17 days ago | 0

How to run Classification Learner App on multiple data sets?

Currently, classification learner app doesn't provide feature to use multiple datasets. One workaround is to export code for on...

1 month ago | 0

| accepted

solving symbolic inverse of big matrix takes long

In this case, using inverse is much faster than mldivide. N = 15; syms s A1=rand(N); A2=rand(N); B1=rand(N,1); B2=rand(N,1...

2 months ago | 0

Adding license agreement to compiled MATLAB program

Aside from including a text license agreement with the application process by including the file in the "Files installed for you...

2 months ago | 0

| accepted

How to run the function again after a error?

I would recommend separating the logic of the function and the code to take inputs from the user. Two of the possible ways to do...

2 months ago | 0

| accepted

Git on Matlab online

Currently git integration / source control integration is not supported in MATLAB Online. I have brought this request to the not...

2 months ago | 0

How can i use Hyperbolic tangent activation function in Neural Network

You can create a custom function, and assign it to transerFcn property. The details are mentioned in the Custom Neural Network H...

2 months ago | 0

| accepted

What is the best way to share matlab code online to general public?

MATLAB doesn't provide a way for users to run MATLAB code without having the license. However, you can use MATLAB Compiler run...

2 months ago | 0

Optimally search for which positions a rectangle is within a polygon, faster way than using shapeID of union?

As the outershape is not convex, there is no quick way to surely say that the rectangle is inside the polygon. One alternative ...

2 months ago | 1

What is the Horizontal axis represent in R value figure in the ANN fitting?

The plot shown is created using plotregression function. It shows relation between the targets on the y axis, and the predicted ...

2 months ago | 0

| accepted

Solving second-order non-linear PDE

As per my understanding, the core issue here is with the variable k which needs to be saturated. In other words, k = min(0, max...

3 months ago | 0

Why is dual boot installation not working?

For any installation related help, contact MathWorks support via the contact us page.

3 months ago | 0

| accepted

Increasing the number of iterations in GeneralizedLinearModel.fit

As per my understanding, you want to get the p values from the fitted model. You can use fitglm for this purpose. You can increa...

3 months ago | 0

Simulink does not work (Ubuntu 20.04)

This might happen due to installation issues. It looks like some files are missing. Reinstall MATLAB, and disable antivirus soft...

3 months ago | 0

Help with a vectorizing: rearranging a matrix

Assuming F itself can be vectorized, first calculate all required values of F. len = 5; F = randi(len, [len, len]); % Replace ...

3 months ago | 0

Have a Problem using CONV2

The plot function requires both arguments to be of same size. While the solution depends on the nature of the data, the most li...

3 months ago | 0

Unrecognized function or variable 'fitrnet'.

fitrnet was introduced in R2021a. Ensure you have the correct release installed, and that you have the statistics and machine le...

3 months ago | 0

Calculating principal component scores from principal component coefficients of the new data

To get the scores for new data, you need to first get the outputs mu and coeff. X = rand(100, 5); XTrain = X(1:75, :) XTest =...

3 months ago | 0

| accepted

speeding up trainbr using more cpu cores or a gpu

Bayesian regularization requires calculating the Jacobian. Jacobian calculation is not supported on GPU. Hence trainbr doesn't s...

3 months ago | 1

Low accuracy of CNN

You can use all the data by passing some data at a time, also called as a MiniBatch. See the MiniBatchSize option in traningopti...

3 months ago | 0

Function 'fmincon' not supported for code generation

fmincon codegen support was added in R2019b. Also, optimOptions is the last argument for fmincon, you should pass other argument...

3 months ago | 1

| accepted

Some CNN architecture are working, other are not

As some of the models are working, but others are not, the issue is likely with the training options used while transfer learnin...

3 months ago | 1

| accepted