photo

Sahil Jain

Last seen: 1 year ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Revival Level 1

View badges

Feeds

View by

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 1

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 1

| accepted

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

3 years ago | 1

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 1

Load more