Question

Could anyone help me on what basis the number of hidden layers are chosen for deep neural network.

Let me explain in brief. I have generated the code for deep neural network for regression purpose using numerical data to predi...

presque 3 ans il y a | 1 réponse | 1

Question

Could anyone please help me how to extract the desired array size inside the cell.

I am a cell array A=15x1 cell 1x1 cell-[1,2,3,4] 1x2 cell-[1,2,3] [4] 1x2 cell-[1,2,4] [3] 1x2 cell-[1,2] [3,4] 1x3 cell-...

presque 3 ans il y a | 1 réponse | 0

Question

could anyone help me how to manually create the structured arrays

I want to create the strucured array automatically as 1x1SequenceInputLayer 1x1FullyConnected Layer. Could anyone please he...

presque 3 ans il y a | 1 réponse | 0

Question

Could anyone help me how to edit the values in net created by training the model

In my code i am having layers generated in workspace as 12x1 layer I tried to edit it like editing the array but there is no o...

presque 3 ans il y a | 1 réponse | 0

Question

could anyone help me how I can different different activation function for training the model

As matlab provides reLu layer for performing reLu activation function please help me to know how to perform sine, cosine and tan...

presque 3 ans il y a | 1 réponse | 0

Question

could you anyone help me how to include sine, cosine and tanh activation function for training the neural network

In my code i have written the layers = [ ... sequenceInputLayer(inputSize) fullyConnectedLayer(numHiddenUnits1) ...

presque 3 ans il y a | 1 réponse | 0

Question

could anyone help me how to feed the validation data into the options in deep neural network.

I have done the matlab code written by myself instead of using tool box to train and test the model. For training i am using ne...

presque 3 ans il y a | 1 réponse | 0

Question

could anyone help me how to validate the neural network

I am developing neural network model to train, validate and test the network. For training I am using net = trainNetwork(XTrain...

presque 3 ans il y a | 1 réponse | 0

Question

Could anyone help me to get the result for the following code.

I am having a cell array B=6x1 cell as 1x1 cell -[1] 1x1 cell-[1] 1x1 cell-[1,2] 1x2 cell-[1] [2] 1x2 cell-[1] [2,3] 1x2 c...

presque 3 ans il y a | 1 réponse | 0

Question

Could anyone help me how to extract different specific number of rows in a matrix.

I am a matrix of size A= rand(100,1) I want to generate matrix by extracting 2 rows in interval of 5. B=A([1:2,6:7,11:12,16:17...

presque 3 ans il y a | 2 réponses | 0

Question

Could anyone help me how to consider the rows of matrix part by part.

Code: B = partitions(2); G=rand(4,1); P=rand(4,1); for d=1:length(B) for e=1:length(B{d}) for v =1:size(P,2) for u =1:siz...

presque 3 ans il y a | 1 réponse | 0

Question

could anyone help me how to convert the values in cell array into double.

I am having cell array A=9x1 cell as 2x1 double - A{1,1} [1;2] 2x1 double - A{2,1} [5;6] 2x1 double - A{3,1} [8;5] 2x2 doubl...

presque 3 ans il y a | 1 réponse | 0

Question

could anyone help me how to convert double to cell in an array.

I am having a cell array A in the folllowing manner where A=3x1 cell 1x3 double - [1,1,1] 1x3 double - [1,2,2] 1x3 doubl...

presque 3 ans il y a | 1 réponse | 0

Question

How to find the difference in values present in each row of two cell arrays of same size.

I am having two cell arrays A and B of same size as follows A ...

presque 3 ans il y a | 1 réponse | 0

Question

how to train and test the deep neural network using cell array inputs and targets.

I want to train a deep neural network for predicting the formation of clusters. My inputs and targets are in cell array. For ex...

presque 3 ans il y a | 1 réponse | 0

Question

how to sort the rows in an cell array.

I am having cell array of size 3x1 [5,6] [1,2] [5,8] could anyone help me how to sort the rows to get the result in the fol...

presque 3 ans il y a | 1 réponse | 0

Question

how to sort the values of each rows in the cell array

I am having a randomly generated cell array for example B=15x1 cell array with values in each row of the cell array 1 1 1 ...

presque 3 ans il y a | 1 réponse | 0

Question

how to generate cell array based on the size of it.

My command is B = arrayfun(@(N) randi(2,1,N), repelem((1:3).',5), 'uniform', 0) when i run it generates B= 15×1 cell array ...

presque 3 ans il y a | 2 réponses | 0

Question

could anyone help me to solve the issue in the following command

when i run the command B = arrayfun(@(N) randi(2,N), repelem((1:3).',5), 'uniform', 0) i am getting B = 15×1 cell array ...

presque 3 ans il y a | 1 réponse | 0

Question

Could anyone help me how to generate the round values like 1,2,3 in a cell array in a single step.

could anyone help me how to generate these values in a 15x1 cell array in a single step as I used the command for each row to ge...

presque 3 ans il y a | 1 réponse | 0

Question

Could anyone help me how to train the neural network model for regression, clustering using the inputs and targets as specified.

my inputs = 15×1 cell array {2×1 double} {2×1 double} {2×1 double} {2×1 double} {2×1 double} {2×2 ...

presque 3 ans il y a | 1 réponse | 0

Question

how to simplify the command line that generates cell array

I am having C = 6×1 cell array {2×1 double} {2×1 double} {2×2 double} {2×2 double} {2×3 double} ...

presque 3 ans il y a | 1 réponse | 0

Question

how to convert cell to double inside cell array

I am having A = 15×1 cell array {2×1 double} {2×1 double} {2×1 double} {2×1 double} {2×1 double} ...

presque 3 ans il y a | 1 réponse | 0

Question

could to create the categorical values for 2x2 cell array

I having cell array of 15x1. A (input training data for clustering)=15×1 cell array {2×1 double} {2×1 double} {2×...

presque 3 ans il y a | 1 réponse | 0

Question

Could anyone help me how to simplify the following code.

A = cell(1,15) B=A' B{1}=cell(2,1) B{2}=cell(2,1) B{3}=cell(2,1) B{4}=cell(2,1) B{5}=cell(2,1) B{6} = cell(2,2) B{7}= ce...

presque 3 ans il y a | 1 réponse | 0

Question

how to include four hidden layers by taking away LSTM.

I am having a code that implements LSTM layer as below: inputSize = 12; numHiddenUnits1 = 48; numHiddenUnits2 = 48; numHidde...

presque 3 ans il y a | 1 réponse | 0

Question

Could anyone help me to solve the error undefined operator

Undefined operator '==' for input arguments of type 'cell'. Error in five (line 32) acc = sum(YPred == YTest)./numel(YTest);

presque 3 ans il y a | 1 réponse | 0

Réponse apportée

Could anyone help me how to solve the error stating Y must be a vector of categorical responses or a cell array of categorical response sequences.

With the help of your command I can execute Y(in my code Y is YTrain) but when i tried to implement in my neural network code, e...

Could anyone help me how to solve the error stating Y must be a vector of categorical responses or a cell array of categorical response sequences.

With the help of your command I can execute Y(in my code Y is YTrain) but when i tried to implement in my neural network code, e...

presque 3 ans il y a | 0

Question

Could anyone help me how to solve the error stating Y must be a vector of categorical responses or a cell array of categorical response sequences.

In my code Y is {3x1} cell where Y{1,1}=12x1 double Y{2,1}=12x2 double Y{3,1}=12x3 double Could anyone help me how should I...

presque 3 ans il y a | 2 réponses | 0

Question

Could anyone help me how to change the values of the matrix to a desired range.

N = 10 X = zeros(N) X(1:2,:) = 1 If i run the code i am getting the result as 1 1 ...

presque 3 ans il y a | 1 réponse | 0