# Sahil Jain

**Statistics**

**MATLAB Answers**

**0** Questions

**50** Answers

RANK**924**

of 281,679

REPUTATION**68**

CONTRIBUTIONS

**0** Questions

**50** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**5**

RANK

of 19,057

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 134,008

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 years 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]'; ...

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

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

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

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

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

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

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

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

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

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

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

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

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

2 years ago | 1