Community Profile

photo

Prince Kumar

Last seen: 3 days ago Active since 2021

Statistics

  • Revival Level 3
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Classification learner is slow to train other than Decision Tree
Hi, There are two important things to take care here : Please check whether k-fold cross validation is happening or not in Cla...

3 days ago | 0

Answered
NaNs and regress lead to error?
Hi Chiefjia, Yes, if the rows contains NaNs, then the corresponding rows of independent variable will also be removed. This mea...

4 days ago | 0

Answered
I wish to plot a data with 5 axes variables together.
Hi Anurag, You can plot 5 separate heatmaps but plotting all the 5 axes with corresponding output is not possible. To create h...

4 days ago | 0

| accepted

Answered
Can i find the KernelScale that was found automatically in fitcsvm?
Hi Eva de Bock, Yes you can find the kernel scale by using the executing the following code in MATALB terminal >> mdl.KernelPa...

4 days ago | 1

Answered
Readcell and opening excel files is not working
Hi Parth, You can use readtable function to read the excel files into MATLAB. This function reads the data in a table. T = rea...

4 days ago | 0

Answered
How to import many csv files in matlab and export one excel file?
Hi, You can use readtable function to read the csv files and combine them into a single excel file. t1 = readtable('data1.csv'...

4 days ago | 0

Answered
how can we use for loop to get index of matrix and letters ?
Hi Manav, You can do it via the following code: s = 'orange'; v = [1 2 5]; for i=1:numel(v) fprintf("Char at %d is %s\n...

5 days ago | 0

Answered
Random Forest - How to create every tree with only a certain amount of random features?
Hi Laurynas Angelbeck, In a random forest, variables are selected randomly for every split. However selecting a subset of predi...

5 days ago | 0

Answered
Is SVM sensitive to unbalanced observations? The observations in one class is 3-4 times of the observation in an other class in binary classification
Hi Zeynab Mousavikhamene, Yes, SVM is sensitive to imbalanced dataset and this gives suboptimal models. You can use 'Cost' Nam...

6 days ago | 0

Answered
How to resolve if Validation and Testing accuracy are widely different?
Hi Sahil Bajaj, This generally happens when your model is learning the data instead of learning the pattern. This scenario is c...

9 days ago | 0

Answered
How to use the dataset in Visual question Answering
Hi Suheer Al-Hadhrami, You can make use of 'Multiple-Input Networks". Please refer to the documentation for the same : https:...

9 days ago | 0

Answered
how to apply multiple feature set to a classify images
Hi, You can use 'Classification Learner app'. Below is the link of the documentation for the same- https://www.mathworks.com/h...

10 days ago | 0

Answered
[Machine learning] image input layer의 사이즈 관련 문의
Hi, You can use "replaceLayers" function to achieve this. Please have a look at the following link to get a better understandi...

10 days ago | 0

Answered
Deep neural network demension & change array dimension 2D to 3D array
Hi, Kindly refer to the following links: https://www.mathworks.com/matlabcentral/answers/21992-singleton-dimention-as-last-dim...

10 days ago | 0

Answered
I need to put the put the datas given under "group 3" in this attached excel file to two different arrays and plot them but i can't becuase they are writtien with a comma ","
Hi Erdem Turan, You can do it using "readtable" and "table2array" functions. T = readtable('TensileTest_Data(1).xls'); x = ta...

10 days ago | 0

Answered
Collecting multiple .json objects in one .json file?
You can open the json files and append them one after another. Following is how you can achieve it. st1 = fileread('data/label...

11 days ago | 0

Answered
How can I see the predicted labels for all my validation set images? I used deep network designer to modify a pre-trained network .
You can pass all the validation set as a batch to get the all predictions at once instead of doing it one by one. For example: ...

11 days ago | 0

Answered
Import Keras Network: The value of 'TrainedVariance' is invalid. Expected input to be positive.
Hello, If your "modelfile" contains the weights of the model then there is no need to pass "WeightFile" as parameter to the "im...

3 months ago | 0

Answered
Support Vector Machines for Binary Classification
Hello, Please refer to this answer https://in.mathworks.com/matlabcentral/answers/391217-quadprog-for-constrained-maximisation...

3 months ago | 0

Answered
Input shape for the LSTM model
Your train dataset X and Y should have dimension 50000x1. Refer the example in this article. It has a sequence classification e...

3 months ago | 0

Answered
leave one person out cross validation
You can try the following methods: Remove features Feature Selection Regularization Ensemble models if you are ok with tryin...

3 months ago | 0

Answered
How can I change my role and department on MathWorks?
You cannot change the "role" and the "department" once you have entered it. However, these fields will not affect the working of...

3 months ago | 0

Answered
How do I Run the below program? The sample program sums various column vectors. How do I Modify the first of the program (i.e., ignore the xsum2part) to calculate averages.
You can use "mean" function to find the average. Please have a look at the code below : x=[1;2;7;5;9;3;6;9;1;11;1]; avg = mean...

3 months ago | 0

Answered
Handling out-of-vocabulary word in word embedding
From my understanding your want to handle OOV(out-of-vocabulary) words for your abbreviations detection task. For now MATLAB fas...

3 months ago | 0

Answered
Calling static method of a class from within same class
From my understating you are trying to call a static method IsEnsembleRelated of class VariableContainer from the same c...

4 months ago | 0

| accepted

Answered
for recursive formula index value
From my understanding T(2) is getting updated after running the program but you have assumed T(2) to be 2 at the staring of the ...

4 months ago | 0