photo

Aditya


Last seen: 14 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Sequence-to-Label Classification Using 1-D Convolutions
For a sequence-to-one classification task using a Time Convolutional Network (TCN) rather than an LSTM, you indeed need to modif...

21 days ago | 0

| accepted

Answered
How to use x2fx (or alternatives) for polynomial feature creation to the 3rd degree?
For generating polynomial features up to the 3rd degree (or any specified degree) in MATLAB, especially when x2fx does not direc...

21 days ago | 0

Answered
Is it possible to merge two experience buffers generated during training of the same agent?
Merging the experience buffers of two separately trained agents to continue training a single agent is a practical approach to l...

21 days ago | 0

Answered
Fitting a function with constraints
To fit a 2nd order polynomial function with specific constraints based on the shape of the curve (ascending, descending, or U-sh...

21 days ago | 0

Answered
confidence interval of non linear fit of multiple data set
To estimate the confidence intervals for your fitting parameters using the bootci function, you need to follow a few steps. Sinc...

21 days ago | 0

Answered
Custom fittype gives nonsensical parameters in 3 variables but not 2
It looks like there are a few issues and possible misunderstandings in your approach to fitting the custom function a/(1+e^(b(x-...

21 days ago | 0

Answered
Normalization across time dimension in "Sequence-to-Sequence Classification Using 1-D Convolutions"
Yes, your understanding is correct on several points. Let's break down the implications of the code snippet you've provided, esp...

21 days ago | 0

Answered
Error using fit>iFit (line 348) Error while trying to evaluate FITTYPE function... with FASTCORMICS
The error message you're encountering in MATLAB when using the fit function within the FASTCORMICS tool indicates an issue with ...

2 months ago | 0

Answered
How to get last observations for the last action taken in an episode before a new episode begins
To achieve the behavior you're describing in a custom reinforcement learning environment in MATLAB Simulink, where the environme...

2 months ago | 0

Answered
Using classification learner for ensemble tree modeling, errors out
The error message "An error occurred during function call" in MATLAB's Classification Learner app when trying to train a Bagged ...

2 months ago | 0

Answered
Generate normally distributed random variable using acceptance-rejection method given trail distribution as cauchy
It looks like you are trying to implement a rejection sampling method to sample from a normal distribution using a Cauchy distri...

2 months ago | 0

Answered
Addon Library for Adafruit 16-channel 12 bit PWM servo driver with Arduino use
It is feasible to use MATLAB to control devices over an I2C connection with an Arduino and a 16-channel Adafruit PCA9685 PWM/Ser...

2 months ago | 0

Answered
Custom DQN enviroment & Loss function.
Creating a custom environment for a DQN (Deep Q-Network) that involves the dismantling of networks (graphs) and modifying the lo...

2 months ago | 0

Answered
How to implement spatial attention mechanism in Deep Network Designer
To implement a spatial attention mechanism within a deep learning model using MATLAB's Deep Network Designer, you would typicall...

2 months ago | 0

Answered
Question regarding implementation of source code for Generalised regression neural network (newgrnn)
The use of sqrt(-log(0.5)) instead of 1/sqrt(2) is a specific choice that relates to how the bias influences the shape and spr...

2 months ago | 0

Answered
Encoder InitialCount Data acquisition object
Switching from Data Acquisition Sessions to Data Acquisition Objects in MATLAB introduces some changes in how things are handled...

3 months ago | 0

Answered
Error in 'SMIB/GENERATOR/DC1A EXCITATION SYSTEM/MODEL/LOWPASS FILTER 1//(Tr.s+1)' :failed to evaluate mask initialization command.Caused by:failed to find initial condition.
The error message you're encountering indicates a problem with initializing a component within a Simulink model, specifically wi...

3 months ago | 0

Answered
Why is the estimation using tfest with EnforceStability = true only so bad compared to a unstable estimation?
When using tfest in MATLAB to estimate the transfer function of a system from its measured frequency response, enforcing stabili...

3 months ago | 0

Answered
How to build the Simulink structure of the MPC model?
The issue you're encountering during the "Cosimulate MPC Controller and Nonlinear Plant" step, particularly at the point of buil...

3 months ago | 0

Answered
Default LDA fitting algorithm used in fitcdiscr, classification algorithm used by predict, formula for DeltaPredictor property
Linear Discriminant Analysis (LDA) in MATLAB, especially when using the fitcdiscr function, is a powerful method for both classi...

3 months ago | 0

Answered
When I use TCN+DDPG algorithm ,an error was reported at: trainingStats = train(agent,env,trainOpts); : There was an error executing the ProcessExperienceFcn.
The error message you're encountering, "Variables of this type do not support indexing with curly braces," is likely related to ...

3 months ago | 0

Answered
Is it possible to train a gaussian process regression (GPR) using input and output multidimensional arrays?
Given that you have 100 time series each with 10k data points and 20 characteristics, it seems that you may want to predict one ...

4 months ago | 0

Answered
Reinforcement learning agent not being saved during training
In MATLAB, when using the reinforcement learning toolbox and the train function, there is an option to save the agent when certa...

4 months ago | 0

Answered
[Reinforcement Learning] Deny an action already taken by the agent
It seems you want to prevent the reinforcement learning (RL) agent from taking an action that has already been taken in the curr...

4 months ago | 0

Answered
Clustering 3D data based on Euclidean distance turns out insufficient
Hierarchical clustering is a method that seeks to build a hierarchy of clusters based on a chosen distance metric and linkage cr...

4 months ago | 1

| accepted

Answered
IRDataCurve.bootstrap 似乎忽略了 'InstrumentBasis' 参数.
The MATLAB function IRDataCurve.bootstrap is used to create an interest rate curve from market instruments. The 'InstrumentBasis...

4 months ago | 0

Answered
BiLSTM Empty Backward Cell states and Hidden states
Although it might not be a bug, it might be a feature unique to MATLAB's handling of state updates in bidirectional LSTM (BiLSTM...

4 months ago | 0

Answered
Possible bug in regress when y and x are complex
The MATLAB function `regress` is not designed to handle complex numbers directly. When you pass complex numbers to `regress`, it...

4 months ago | 0

Answered
how to plot prediction and confidence interval for non-parametric distribution?
For non-parametric regression methods like ksdensity (Kernel Density Estimation) or quantile regression, the prediction interval...

4 months ago | 0

Answered
Is there a supported method for fully connected layers with dlarrays containing complex numbers (2021b)?
Deep Learning Toolbox in the 2021b release indeed introduced support for complex values in dlarray objects. However, certain ope...

4 months ago | 0

Load more