photo

Ayush Aniket


Last seen: 8 days ago Active since 2017

Followers: 1   Following: 0

Programming Languages:
MATLAB

Statistics

All
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Parallel Gradient Based Optimizer, Objective Function Uses Simulink
Hi Sadi, I understand that your objective is to use gradient based optimization function like fmincon with parallel computing o...

8 days ago | 0

Answered
Why does the SAC trainning stop at the first episode? What can trigger it?
Hi Renaldo, The reason for the agent training stopping after first episode could be due to the "Training termination" condition...

8 days ago | 0

Answered
how can i use the output of one genetic algorithm program in another GA programme.
Hi Harsh, I understand that you want to pass the result of one Genetic Algorithm execution to another. Here's how you can do it...

9 days ago | 0

Answered
Error occurred while evaluating listener callback.
Hi Ana, The error message you are encountering suggests that there might be a problem with your MATLAB environment, particular...

11 days ago | 0

Answered
How to direct ECG graph data to mat load file .
Hi Mohidul, I understand that you would like to create a .mat file from live data received from an Arduino in MATLAB. There are...

23 days ago | 0

Answered
How to find location of parameters in a genarized matrix
There is no MATLAB function that would provide you the location of these tunable parameter within the generalized matrix. Howeve...

25 days ago | 0

Answered
In TrainMBPOAgentToBalanceCartPoleSystemExample/ cartPoleRewardFunction ,(nextObs)is what?
Hi Lin, The nextObs variable returns the next state after transition from the current state by the Reinforcement Learning(RL) A...

26 days ago | 0

| accepted

Answered
How to cross-validate a model created by TreeBagger?
The reason your code does not work is because of the syntax for crossval function in the code line: cvrfmodel = crossval(rfmode...

2 months ago | 0

Answered
Predictive Power Score PPS in Matlab?
As of the R2024b release, MATLAB does not include a function for calculating the Predictive Power Score (PPS). However, you can ...

2 months ago | 0

Answered
Does the sampling time of reinforcement learning agents have to be the same as the sampling time of models in simulink? What is the difference between the two?
The sampling time of the Reinforcement Learning (RL) agent does not necessarily have to be the same as the sampling time of the ...

2 months ago | 0

Answered
trainnetwork for mixture density network
As you mentioned, the reason for the error is the mismatch between expected shape of output data. This hapens because the defaul...

2 months ago | 0

Answered
Must centralized trained groups of agents have the same action specification?
Hi Lin, From the error statement: 'Agents in group [1 2] must have the same observation and action specifications.', it seems t...

2 months ago | 0

| accepted

Answered
Mix action channels are not supported in DDPG
Hi Sania, Currently, Reinforcement Learning Toolbox does not support mixed action spaces. As an alternative you could consider ...

2 months ago | 0

| accepted

Answered
matlab reinforcement learning module RL Agent
One way you can implement reinforcement learning in Simulink without using a RL Agent block can be by following these steps: De...

2 months ago | 0

Answered
Unable to reshape the data to 3D on Matlab for LSTM training?
Hi Jingyi, The input format required by the LSTM network in MATLAB for dataset of sequences is a Nx1 cell array where each elem...

3 months ago | 0

Answered
Error running bootstrap model on fitlm function
The bootstrp function in MATLAB is used to perform bootstrapping, which involves resampling your data with replacement and compu...

3 months ago | 0

Answered
How is batch learning executed with the trainnet function ?
Hi Tobias, Refer to the following documentation which shows the process of training a deep learning network on out-of-memory se...

3 months ago | 0

Answered
Does the trainnet function work for time regression tasks?
Hi Tobias, You can use trainnet function to train deep learning models for time series data regression problems. For such probl...

3 months ago | 0

| accepted

Answered
Feature Importance value for SVM, KNN, and Discriminant type classifier?
In MATLAB, there is no direct method to find out feature importance for models like SVM, KNN, and discriminant analysis. Howeve...

3 months ago | 0

Answered
Feature selection for svm classifier
For SVM, Sequential Feature Selection is a suitable feature selection method because it recursively adds the most important feat...

3 months ago | 0

Answered
OPTIMOPTIONS does not support code generation for function 'ga'.
Hi Ghada, The error is related to the fact that optimoptions and the Genetic Algorithm (ga) function are not directly supported...

3 months ago | 1

| accepted

Answered
SAMPLE and TRAINING must have the same number of columns. after using pca
The error you are encountering indicates a mismatch in the number of columns between your SAMPLE (test data) and TRAINING (train...

3 months ago | 0

Answered
Symbolic solution for system of equations
Hi Pavel, You can specify the initial condition for velocity(Z_Dot) and acceleration (Z_DDot) in the following way: 1. While d...

3 months ago | 0

Answered
Unrecognized property 'LearningFrequency' for class 'rl.option.rlPPOAgentOptions'.
Hi Nicolas, The error you get is due to the fact that the LearningFrequency property in the rlPPOAgentOptions class was introdu...

4 months ago | 0

| accepted

Answered
i have a vector in lenght 5, i need to check if a sum of 2 or more elements in the vector is equal to another element at the same vector how to do that?
Hi Omer, You can check for the existence of an element which is the sum of two or more elements in the same vector as follows: ...

4 months ago | 0

| accepted

Answered
How to structure the data using webread
Hi Jorge, To retrieve specific data from the XML file, you can use regexp on the string output of webread function. Refer the f...

4 months ago | 0

| accepted

Answered
Prooving a trained LSTM regression model
Hi James, To find the output using the weights of your trained layers, you will have to implement the equations for all the lay...

5 months ago | 0

| accepted

Answered
How to change the input size of Input layer in actor-critic
The error message indicates that there's a mismatch in the input sizes of the layers within your network, specifically at the ad...

5 months ago | 0

Answered
trainNetwork function features dimensions problem
Hi Marco, The input format required by trainNetwork function in MATLAB for dataset of sequences is a Nx1 cell array where each ...

5 months ago | 0

Answered
Multiple custom libraries in one library browser
Hi Byunghoon, To integrate multiple custom libraries into a single Simulink Library Browser window at the top level, you need t...

5 months ago | 1

Load more