Community Profile

photo

Aditya Patil

MathWorks

Last seen: Today Active 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.

Statistics

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

View badges

Content Feed

View by

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

7 days ago | 0

| accepted

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

1 month ago | 0

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

1 month ago | 0

| accepted

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

1 month ago | 0

| accepted

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

1 month ago | 0

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

1 month ago | 0

| accepted

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

1 month ago | 0

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

1 month ago | 1

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

1 month ago | 0

| accepted

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

1 month ago | 0

Answered
Why is dual boot installation not working?
For any installation related help, contact MathWorks support via the contact us page.

1 month ago | 0

| accepted

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

1 month ago | 0

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

1 month ago | 0

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

1 month ago | 0

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

1 month ago | 0

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

1 month ago | 0

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

1 month ago | 0

| accepted

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

1 month ago | 1

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

1 month ago | 0

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

1 month ago | 1

| accepted

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

1 month ago | 1

| accepted

Answered
Why do I have the same validation accuracy for every epoch?
As per my understanding, the data you have in unidimensional, and is time variant. It might be a better option to consider this...

2 months ago | 1

| accepted

Answered
Random forest prediction probabilities
Getting a probability of 1 suggests that the model has overfitted, and the observation is being predicted as belonging to the sp...

2 months ago | 0

| accepted

Answered
How to re-train a neural network
Check the documentation on how to resume training from checkpoint. In short, save the model to a mat file using the CheckpointP...

2 months ago | 0

Answered
How to create a matrix with all possibles cambinations between nodes of 3 sets?
You can use meshgrid function as below [x,y,z] = meshgrid(C,O,P); This gives you all combinations of C/O/P.

3 months ago | 0

Answered
Clustering of 1d array data set
You can use dbscan on 1d array, as below X = rand(100,1); dbscan(X, 0.1, 5) However, it might not be the most appropriate one...

3 months ago | 0

Answered
Number of leaf nodes used by regression tree
The IsBranchNode Property of RegressionTree is false for leaf nodes. So you can use it as follows, X = rand(100, 4); y = rand(...

3 months ago | 0

Answered
Calculating std and 95% confidence intervals in a 3d matrix along the 3rd dimension
std(std(M)) would give you std deviations of the std deviations, which I assume is not what you are expecting. If you want std d...

3 months ago | 0

Answered
Rank on symbolic matrices
Rank does not take identities satisfied by functions into account. As a workaround, substitute values into variables, and then c...

3 months ago | 0

Answered
Classification Learner multi labels
Multi class classification can be considered as a regression problem, where the model predicts the probability of each of the cl...

3 months ago | 0

Load more