Community Profile

photo

Venu


Last seen: Today Active since 2023

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • First Answer

View badges

Content Feed

View by

Answered
How to convert 3-axis data to 2DCNN input like image data?
Hi @颯一郎 中坂, Given that each cell of your Xdata contains a 1921x3 numeric array, and you're attempting to feed this into a 2D CN...

2 days ago | 1

Answered
matlab DRSN:how to cutom my layer?
Hi @BB The "predict" method in your custom layer should only take two arguments: layer and X. Your implementation attempts to t...

15 days ago | 0

Answered
WHAT WILL BE THE FEATURE LAYER ? IF I USE DIFFERENT NETWORKS LIKE mobilenetv2, DENSENET201, VGG16?
Hi @Sahik Ha.adi The selection of feature layers is guided by a balance of theoretical considerations (such as the depth of the...

28 days ago | 0

| accepted

Answered
Error using dlarray/dlgradient : Value to differentiate is non-scalar. It must be a traced real dlarray scalar.
Hi @Hossemeddine Saidi Try making these 2 modifications: 1. Use "mean(meanAbsoluteError, 'all')" to calculate the MAE. This s...

28 days ago | 0

| accepted

Answered
PPO Agent - Initialization of actor and critic newtorks
Hi @Federico Toso Random initialization can encourage initial exploration by starting the policy and value functions in a non-d...

28 days ago | 0

| accepted

Answered
sequence to sequence, working in batches for LSTM and/or NLARX
Hi @Leon You might find these documentations helpful https://www.mathworks.com/help/deeplearning/ug/sequence-to-sequence-regre...

1 month ago | 0

Answered
How to train a CNN for two or three inputs
Hi @JOEL PATERNE KOUAME For a network with multiple inputs, MATLAB expects the training data to be organized in a specific way....

1 month ago | 0

| accepted

Answered
Deep Learning Error - how to fix code?
Hi @Manny, To pass the data properly to preparets, make these two adjustments in your code. Pass FilteredCIVOnly as a cell arr...

1 month ago | 0

Answered
neural network time series "Export"
Hi @Michele You can refer to these documentations https://www.mathworks.com/help/deeplearning/ug/design-time-series-narx-feedb...

2 months ago | 0

Answered
Mixed input (Image/Feature Data) question (Deep Learning Toolbox)
Hi @Hendric Based on the problem statement you provided, it appears you are trying to train a neural network using a combinatio...

2 months ago | 0

Answered
TDNN for EMG signal analysis giving this error: "Inputs and targets have different numbers of timesteps." Help?
Hi @Nia, Try reshaping x,t before converting them into sequences.This ensures that each column of the matrices became a separat...

2 months ago | 0

Answered
DDPG Agent (used to set a temperature) 41% faster training time per Episode with Warm-up than without. Why?
Hi @Milan B, Based on info u have provided, I can infer the following points: With warm-up experiences, the agent might be exp...

3 months ago | 1

| accepted

Answered
How to create a LSTM model for multivariate time dependent time series
Hi @Omid, You can refer to this example to train a multi-output LSTM network using a custom training loop: https://www.mathwo...

3 months ago | 0

Answered
Custom deep learning layers in MATLAB
Hi @Kaja Mohideen When you use the default settings for the imageInputLayer, it automatically assumes that the input data repre...

3 months ago | 0

Answered
Custom DDPG Algorithm in MATLAB R2023b: Performing Gradient Ascent for Actor Network
Hi @roham farhadi, Gradient ascent is the same as gradient descent except that you don't multiply your step (learning_rate * gr...

3 months ago | 0

| accepted

Answered
Difficulties in training ANNs with multiple outputs: always constant outputs
Hi @Clemens H., In your case, I suspect factors and attributes of your custom layer 'ProjectAndReshapeLayer'. You can check wit...

3 months ago | 0

Answered
I am modeling Hybrid model for load forecasting. I have ran the HW and FOA part but when I merge LSTM then I am getting error of "TrainNetwork"
Hi @Muhammad Farhan, The 'permute' function is used to rearrange the dimensions of an array without changing the total number o...

3 months ago | 0

Answered
How can get the code in c by Matlab coder ?
Hi @CL P, In the given code, functions like 'readtable', 'spreadsheetimportoption', 'setvaropts' are not supported for code gen...

3 months ago | 0

Answered
how to apply k folder validation in simulink
Hi @Patient Sony, You can create a k-fold cross-validation partition for your data in MATLAB. This can be done using the "cvpar...

4 months ago | 0

Answered
how to get PointNet network (no pointnet++) Layers?
Hi @mohammad, I can suggest you a series network based on https://de.mathworks.com/help/vision/ug/point-cloud-classification-us...

4 months ago | 0

Answered
How to generate equation (correlation) based on the ANN?
Hi @CL P, If you want to express that output as a single equation, it would look extremely complex due to the nested nature of ...

4 months ago | 1

Answered
How to update the weights of a Shallow neural network by supplying one sample at a time?
Hi @EngM, You can refer to the documentation below to start with. https://www.mathworks.com/help/deeplearning/ug/multilayer-ne...

4 months ago | 0

Answered
Does custom mini-batch datastore support Background Dispatch
Hi @Xie Shipley, To enable background dispatch for your custom mini-batch datastore, you must ensure that it adheres to the req...

4 months ago | 0

Answered
PPO and LSTM agent creation
Hi @Sourabh, The error is likely occurring because the LSTM layers require explicit handling of their states, which is not just...

4 months ago | 0

Answered
How to summarise the perdictions acquired from Named Entity Recognition Model
Hi @Sunpreet Sharma, You can follow the below code format to generate a summary table in MATLAB and save it as an Excel sheet. ...

4 months ago | 0

| accepted

Answered
Why is the error thrown: Inputs to concatenations layer must have consistent formats.
Hi @Andrey Puchkov, I understand that you are concatenating two fully connected layers along 1st dimension based on this line "...

4 months ago | 2

| accepted

Answered
Invalid training data. for network with 1 inputs and 1 output, datastore read function function must return a cell array with 2 columns but it returns cell array with 1 column
Hi @YangHui, To resolve the issue you are facing, you need to make sure that the data returned by your datastore's read functio...

4 months ago | 0

Answered
I have two different ground truth datasets in my workspace
Hi @BASHIR AHMAD RASHEEDY, To merge two distinct ground truth datasets with different classes into a single file for training d...

4 months ago | 0

Answered
Could you help clarify the terminology and usage of Exploratory Policy and Exploratory Model in TD3 Reinforcement Learning
Hi @Bay Jay, The correct procedure during training for the TD3 agent is to set the exploratory policy to 1. When the explorat...

4 months ago | 0

Answered
My controlled object is an object with three inputs and three outputs, I now use three parallel reinforcement learning agents to control these three channels, such a scheme is
Hi @嘻嘻, You can perform parallel computing for multiple agents in the context of using three parallel reinforcement learning ag...

4 months ago | 0

Load more