17
votes
Anconda R version - How to upgrade to 4.0 and later
You need to create a new environment and then you can install R 4.+ in Anaconda. Follow these steps.
conda create --name r4-base
After activating ...
8
votes
Accepted
Working with Data which is not Normal/Gaussian
There are models that do not make assumption that the underlying data distribution is a normal distribution.
For example, support vector machine just cares about the boundaries of the separating ...
8
votes
Why does PCA assume Gaussian Distribution?
TL;DR
PCA does assume normal distribution of features See p.55 SAS book1 or Rummel, 19702 or Mardia, 19793.
If you expect the PCs to be independent, then PCA might fail to live to your expectations.
...
8
votes
Accepted
Gaussian Mixture Models as a classifier?
Some unsupervised models can make predictions, but not ones that necessarily match the original class labels. Once a GaussianMixture model has been fitted, it can ...
5
votes
Accepted
Why Gaussian latent variable (noise) for GAN?
Why people often choose the input to a GAN (z)
to be samples from a Gaussian?
Generally, for two reasons: (1) mathematical simplicity, (2) working well enough in practice. However, as we explain, ...
4
votes
Why does PCA assume Gaussian Distribution?
Someone correct me if I'm wrong, but the PCA process itself doesn't assume anything about the distribution of your data. The PCA algorithm is simple -
find the direction of greatest variance in ...
4
votes
Accepted
Gaussian Mixture Models EM algorithm use average log likelihood to test convergence
It makes unit testing easier; invariant to the size of the sample.
Reference: the github discussion that led to the change.
4
votes
Fast way of computing covariance matrix of nonstationary kernel in Python
I still would apply numpy's covaranice function using numpy.apply_along_axis
...
4
votes
why naive is needed in Naive Bayes ,what happens if naive is not included in Bayes theorem?
I do not think your formulation is correct. What you have described are just conditional distributions for each word in the sentence but not the joint conditional distribution, given a specific class.
...
3
votes
Accepted
A2C Continuous for Pendulum-v0 working implementation, negation for loss and entropy calculation
Again, the entropy equation coded was this: entropy = K.sum(0.5 * (K.log(2. * np.pi * sigma_sq) + 1.)) which looks different from what's given in the textbook photo above.
They are the same after ...
3
votes
Accepted
Classification followed by regression to handle response variable that is usually zero
This sounds entirely reasonable, and the usual name for this structure I have heard for this is just "pipeline" which also applies to other system-feeds-next-system structures - it might also be "...
3
votes
Accepted
Replacing missing value by class conditional mean
Your intuition about 'no effect' is true in some sense. But this replacement may be not the best use of the information you have.
The choice of missing value treatment depends on your initial ...
2
votes
Which Normal distribution a point belongs to?
A common distance measure between a point and a normal distribution is the number of standard deviations away from the mean.
In your case:
$$d_0 = |x-μ_0|/σ_0 = 15.4$$
$$d_1 = |x-μ_1|/σ_1 = 15.82$$
...
2
votes
Accepted
GausianNB: Could not convert string to float: 'Thu Apr 16 23:58:58 2015'
To cast that column of your data-frame as type float try:
k_train = train['cols_to_use'].astype(float)
target = train['final_status'].astype(float)
More ...
2
votes
How to check if a data is in gaussian distribution in R or excel?
The Normal distribution is the same as the Gaussian distribution. Its just two names for the same thing. Whatever you do - fit parameters, compute goodness-of-fit, etc - if the documentation says its ...
2
votes
Working with Data which is not Normal/Gaussian
Gaussian models are often used (and maybe sometimes over-used) because of their mathematical convenience (many statistical models can be found as built-in functions, when based on the Gaussian ...
2
votes
How do i use the Gaussian function with a Naive Bayes Classifier?
You got the Bayes theorem wrong. There should be a plus in the denominator:
(child gauss x child prob)/(child gauss x child prob + adult gauss x adult prob)
(adult gauss x adult prob)/(child gauss ...
2
votes
Accepted
Mixture Density Network: determine the parameters of each Gaussian component
Actually, the upper alpha and the upper sigma are not free parameters to be set, they are just used to represent the output activations corresponding to the mixture coefficients and the variances, ...
2
votes
Accepted
Where can we find the application of bayes's theorem in Bayesian optimiation with gaussian processing
It is a 49 page long paper, so following observations are based only on a cursory reading.
The optimisation is for finding best value of parameters for cost function of machine learning models.
...
2
votes
Understanding GMM-MMI
Multiclass Discriminative Training of i-vector Language Recognition,
this article contains update formulas for mean and covariance (diagonal).
First you should obtain parameter estimations using ML (...
2
votes
Accepted
Prove GDA decision boundary is linear
If you expand the terms, you can see that the quadratic terms cancel out.
\begin{align}
a &= \ln \frac{P(C_0)}{P(C_1)} + \frac12(x - \mu_1)^T\Sigma^{-1}(x - \mu_1) - \frac12(x-\mu_0)^T\Sigma^{-1}(...
2
votes
Gaussian distribution in python without using libraries
You need to sort arr. For example you sort df.Age then apply the function and after plotting you will get a beautiful chart.
For example, I used your function and a range from 0 to 99 that is already ...
2
votes
Accepted
What is a latent space vector?
The latent vector $z$ is just random noise.
The most frequent distributions for that noise are uniform: $z \sim U[-1,+1]$ or Gaussian: $z \sim \mathcal{N}(0, 1)$ . I am not aware of any theoretical ...
2
votes
Accepted
Modifying a distribution by adding in samples incrementally
Calculation of standard deviation on the fly is possible (turn to our brothers at math.stackexchange):
https://math.stackexchange.com/questions/198336/how-to-calculate-standard-deviation-with-...
2
votes
Anconda R version - How to upgrade to 4.0 and later
Rstudio does not support Anaconda so you are stuck with the version they provide. Your best option is to install R and RStudio outside Anaconda.
2
votes
Accepted
Does standardization result in normal distribution?
No, standardization does not change the shape of the distribution. It centers the distribution by subtracting the mean and scales it by dividing by the standard deviation.
2
votes
Normalizing data from same variable but different individuals
This is a tricky, common problem. The fundamental issue is that a bias may exist between training and production (deployment) data. This video (at ~minute 19) describes a case where an AI X-ray system ...
1
vote
Is it possible to train probabilistic model to return several distributions?
That data can be modeled as a statistical process, where the distributions and parameters change as a function of x. This is in contrast to modeling it as a typical statistical distribution which ...
1
vote
How to create a complex Gaussian random noise with a specific covariance matrix
Might be a bit late, but if you're still looking for an answer, here it is. You can use np.random.multivariate_normal. You need to provide the said covariance ...
1
vote
Accepted
Can I call this graph as a gaussian?
If you left out the large blue and yellow peaks, then maybe. Otherwise, no.
With all three distinct peaks, you might call it a multi-modal Guassian - meaning it is a mixture of three standard ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gaussian × 84machine-learning × 25
python × 16
neural-network × 9
clustering × 8
distribution × 8
deep-learning × 6
classification × 6
bayesian × 6
anomaly-detection × 5
scikit-learn × 4
statistics × 4
autoencoder × 4
naive-bayes-classifier × 4
regression × 3
predictive-modeling × 3
optimization × 3
numpy × 3
probability × 3
markov-hidden-model × 3
gaussian-process × 3
discriminant-analysis × 3
dataset × 2
computer-vision × 2
pca × 2