# Sahil Jain

**Statistics**

**MATLAB Answers**

**0** Questions

**50** Answers

RANK**904**

of 275,924

REPUTATION**66**

CONTRIBUTIONS

**0** Questions

**50** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**5**

RANK

of 18,580

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 125,707

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

**Content Feed**

NaN in inputs for test datasets in Neural network (patternnet)

Hi Ahmad, a neural network is essentially a series of matrix multiplications but with a non-linear activation after each matrix ...

1 year ago | 0

Training a neural network from a video

Hi. I'm not sure if you want to classify video sequences or use the frames of a video to classify images. In case you want to cl...

1 year ago | 0

| accepted

Where and with how much data is the initial normalization done when training a network

Hi Iker, the mean and standard deviation statistics are calculated iteratively by computing them for each mini-batch and then me...

1 year ago | 0

Test Object Detection Using YOLO v2 Deep Learning without labels.

Hi Rus. You can use the "detect" function to test your network on images not in the training or testing data as mentioned in the...

1 year ago | 0

| accepted

Why SVM-based fitcecoc function makes unexplainable misclassifications when 'fitPosterior' label is true?

Hi Omar. By default, the software minimizes the Kullback-Leibler divergence to estimate class posterior probabilities. Other tha...

1 year ago | 0

input size mismatch in maxpool

Hi Arijit. The issue here is that you are trying to apply a 4x4 maxpool operation to a 1x1 feature map. I would suggest re-evalu...

1 year ago | 0

Data in 4D array but still getting error and network issue

Hi Nathaniel. I am assuming your data consists of 180 sequences of length 2289 each. For vectors, the "sequenceInputLayer" expec...

1 year ago | 0

Error named "Invalid training data. Predictors and responces must have the same number of observations" in LSTM

Hi Ken. There are a few things you can consider to solve your problem. Fundamentally, LSTMs are used for classifying sequence da...

1 year ago | 0

Pass structure variables one by one to a function (input) and name the outputs based on input names

Hi Antonios. From my understanding of the question, you want to pass the variables of the structure one by one to the "createFit...

1 year ago | 1

output for augmentation results

Hi Arijit. To augment a single image and view the output, you can use the code snippet as shown below. You can change the "Train...

1 year ago | 0

The recomputeModelFromInliers parameter in estimateWorldCameraPose does not work properly.

Hi Jack From my understanding of the question, you want the model to be recomputed using all the inliers instead of only three....

1 year ago | 0

How to get 3 variables value from functions?

Hi. From my understanding of the question, you want to write a function which outputs the values for "fT", "y1" and "y2". This c...

1 year ago | 0

| accepted

Classification Learner App Performance Reporting

Hi Luke. After training in the Classification Learner App, the "Current Model Summary" tab contains a section called "Training R...

1 year ago | 0

how to fill the cells?

Hi Sarah. You can try using the "morphological close" operation to close the cells before filling. You may need to experiment wi...

1 year ago | 0

Is there way to easily change the value of multiple values using a for loop?

Hi Nick. You can try using the "eval" function for your purpose. The following code snippet demonstrates how you may go about it...

1 year ago | 0

Word comparison and Identification.

Hi. You can try computing the mean-squared error on audio features extracted using "audioFeatureExtractor" for better results. Y...

1 year ago | 0

How to do Multivariate Regression Analysis in Matlab

Hi Sebastian. You can use the "mvregress" function to do multivariate linear regression in MATLAB. X=[1 1 1 1 1; 0 1 2 3 4]'; ...

1 year ago | 0

| accepted

factorial command wont accept the input of n in () and keeps asking for n

Hi Christopher, the MATLAB "factorial" command does not prompt for inputs. It looks like there's another "factorial" function on...

1 year ago | 0

It is possible to use of augmentedImageDatastore for image regression?

Hi Antonio, the "augmentedImageDatastore" can be used for regression as well as classification. It is difficult to determine exa...

1 year ago | 0

Find coefficient in order to match two functions with Neural Network

The problem you have described is known as linear regression. You can go through the Linear Regression documentation page to lea...

1 year ago | 0

Sum every n-th row in table

Hi. You can use the same approaches that have been suggested in the answers that you have linked. The only difference would be t...

1 year ago | 0

| accepted

Creating a password checker using basic programming

From my understanding of the question, you want to create a basic password checker using basic programms constructs like "if" st...

1 year ago | 0

| accepted

Maclaurin Series, How can I find the answer?

Hi. You can use a "for" loop to calculate this series as follows. x = pi/3; cosx = 1; n = 10; % number of terms in the series...

1 year ago | 0

How can I continue training a fitrnet network?

As of R2021b, the "fitrnet" function does not support loading weights and biases before training. As a workaround, you can modif...

1 year ago | 1

| accepted

How can I get signal-to-noise ratio (SNR)??

The signal-to-noise ratio can be computed using the "snr" function. Please refer to the documentation for more details.

1 year ago | 1

How is this cyclegan generator layers ordered?

The two calls to "addLayer" only add the encoder and decoder parts to the graph without connecting them with the residual blocks...

1 year ago | 0

| accepted

How do I know and tune the batch size while using patternnet for training a neural network classification model

Hi. As of 2021b, shallow networks such as "patternnet" do not support minibatch training. The training function "traingd" uses t...

1 year ago | 0

Accuracy between from the equation and the validation accuracy

Hi. You have not mentioned what "C" is. Assuming that "C" is the confusion matrix, accuracy values evaluated using both the appr...

1 year ago | 0

how do you format the data for a 3d convolutional network, trainNetwork

Hi. The "image3dInputLayer" expects 4 dimensions per image (height, width, depth and channels). Therefore, the 10x10x100x88 arra...

1 year ago | 0

Problem using cell2mat

Hi. As mentioned by another community member, "cell2mat" works without errors for the scenario you described. I used the followi...

1 year ago | 1