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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 1

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 1

| aceptada

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

Cargar más