Beantwortet
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...

fast 2 Jahre vor | 0

Beantwortet
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...

fast 2 Jahre vor | 0

Beantwortet
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...

fast 2 Jahre vor | 0

Beantwortet
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...

fast 2 Jahre vor | 0

Beantwortet
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-...

fast 2 Jahre vor | 0

Beantwortet
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...

fast 2 Jahre vor | 0

Beantwortet
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 ...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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 ...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 1

Beantwortet
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...

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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 ...

etwa 2 Jahre vor | 0

Beantwortet
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 ...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
[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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 1

| akzeptiert

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

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
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...

etwa 2 Jahre vor | 0

Beantwortet
Fitness function in GA
To develop a fitness function from an Artificial Neural Network (ANN) with two input variables and one output variable, you'll n...

etwa 2 Jahre vor | 0

Mehr laden