# Aditya Patil

### MathWorks

Followers: 0 Following: 0

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

**MATLAB Answers**

**0** Questions

**175** Answers

RANK**294**

of 292,737

REPUTATION**292**

CONTRIBUTIONS

**0** Questions

**175** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**30**

RANK

of 19,936

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 147,904

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Cluster Standard Errors with fitlm

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

3 years ago | 1

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

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

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

3 years ago | 0

| accepted

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

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

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

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

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

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

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

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

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

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

3 years ago | 5

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

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

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

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

3 years 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 years ago | 0

Why is dual boot installation not working?

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

3 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years ago | 1

| accepted