Answered
How can I get Same Results form multiple networks with same network architecture, network options and training and validation data ?
Even if you set Shuffle, never in trainingOptions, the results can vary between runs unless you control all sources of randomnes...

6 months ago | 0

Answered
Clustering data and then classifying a new set of data
After performing k-means clustering, you can use the resulting cluster centroids to classify new data points by assigning each n...

6 months ago | 1

Answered
Help with Probability density functions?
Yes, what you are describing is a Monte Carlo simulation where you randomly sample from specified distributions to generate scen...

6 months ago | 0

Answered
Can we use the output of a regression ML algorithm as an input for another ML algorithm?
The drop in performance when using predicted values from the first regression decision tree as inputs to the second model is a c...

6 months ago | 0

Answered
How to color each cluster of Expectation maximization EM for my data which is (5000,2). I chose the number of cluster is 15
For plotting each cluster with a unique color, you should plot them individually using scatter function in a loop. Refer the exa...

6 months ago | 0

Answered
how to recall matrix in nntool
If the requirement is to import your 120x2 dimension matrix, you can easily do so using the Import button on the left upper corn...

6 months ago | 0

Answered
Exploration in Deep Reinforcement Learning
In the provided example explicit exploration techniques are not directly implemented. However, exploration is inherently handled...

6 months ago | 0

Answered
How to import input into the custom forwardLoss and backwardLoss function?
In addition to @BartGoris's approach, another way to achieve this is to write your own training loop using dlnetwork and dlfeval...

6 months ago | 0

Answered
How to using the Neural net fitting in MATLAB to acquire the empirical parameters?
As far as I understand, you have an empirical model y = f(x, t; a, b, c, d, e, f) with known coefficients (a–f) recommended by p...

6 months ago | 0

Answered
How is multiclass classification and finding accuracy using ANN from the exracted features by LBP done?
A simple way to do this would be as follows: Load Features and Labels - % Load features data = importdata('features....

6 months ago | 0

Answered
RL AGENT toolbox. [do i have to set initial action?]
The error message indicates an algebraic loop in your Simulink model. Algebraic loops occur when there is a circular dependency ...

7 months ago | 0

Answered
Error using readtable: An error occurred while trying to determine whether "readData" is a function name
The error looks unusual from the "readtable" function. It could be due to several reasons. Try the following steps: Ensure that...

7 months ago | 0

Answered
How to use fitrgp in Simulink?
When using MATLAB functions like fitrgp within a MATLAB Function block in Simulink, you must handle the fact that Simulink does ...

8 months ago | 0

Answered
How can we run for loop in order to get several fitting parameters?
The error occurs because you are trying to store fittype objects in an array using subscripts. In MATLAB, arrays of objects like...

8 months ago | 0

Answered
How to use index an image using color inequality?
One of the ways you can do this is by computing the Euclidean distance between each pixel's color and the target RGB, and then c...

9 months ago | 0

Answered
How does multithresh and imquantize works
In MATLAB, multithresh is used to compute multiple threshold values for image segmentation. It is an extension of Otsu's method,...

9 months ago | 0

Answered
Regarding Regression cofficient in ANN
In the context of Artificial Neural Networks (ANN) in MATLAB, the regression plot typically shows the correlation coefficient (R...

9 months ago | 0

Answered
How is ComponentProportion calculated by fitgmdist
The ComponentProportion values in a Gaussian Mixture Model (GMM) created using fitgmdist in MATLAB do not directly reflect the o...

9 months ago | 0

| accepted

Answered
Could I use a function to achieve this task?
To automate the generation of multiple wave sources along a diagonal line and introduce a time delay between each, you can defin...

9 months ago | 0

Answered
Hi, help with bootsrap
You want to draw 10,000 samples of size 120 from a vector of size 532 with replacement following bootstrap resampling. Using the...

9 months ago | 0

Answered
How to plot a function using gradient descent method?
To plot function and iterative value of the variables in MATLAB using gradient descent, you need to: Define the function. Com...

9 months ago | 0

Answered
How will an Optimization Algorithm search inside an already trained neural network??
You can write a custom objective function and use it in the fmincon MATLAB function to link a trained ANN with an optimization a...

9 months ago | 0

Answered
Correct anova1 application
In the context of your simulations and the use of one-way ANOVA in MATLAB, the concept of "groups" is crucial for setting up you...

9 months ago | 0

Answered
How to quantify variance explained from PCA?
To quantify the variance explained by PCA and apply the principal components derived from your training data to your test data, ...

9 months ago | 0

Answered
Adjust classifier performance (sensitivity & specificity)
To balance the sensitivity and specificity of your classifier, especially in the context of imbalanced binary data, you can try ...

9 months ago | 0

Answered
Apply 'rotatefactors' on the observations to represent them in the new factorial design (PCA)
Yes, your approach to compute the new scores after applying a rotation to the principal components is correct. When you apply ro...

9 months ago | 0

Answered
How to specify same length scale for different predictors in fitrgp?
To fix the same length scale for certain predictors in a Gaussian Process Regression (GPR) model using MATLAB's fitrgp, you can ...

9 months ago | 0

Answered
Is there an alternative for biplot to plot Principle Component Analysis (PCA) scores (like frequency/density score plot)?
When dealing with large datasets, plotting all the data points can indeed exhaust your system's memory. Here are a few strategie...

9 months ago | 0

Answered
How to decide value of 'ndim' when using ,[residuals,reconstructed] = pcares(X,ndim) , for Feature size reduction using PCA?
In MATLAB, you can experiment with different values of ndim (the number of retained components) to see which works best for your...

9 months ago | 0

Answered
How do I test the significance of a population correlation coefficient?
There is no direct fundtion in MATLAB for testing the significance of the population correlation coefficient. To assess the si...

9 months ago | 0

Load more