28
votes
Accepted
Word2Vec vs. Sentence2Vec vs. Doc2Vec
Well the names are pretty straight-forward and should give you a clear idea of vector representations.
The Word2Vec Algorithm builds distributed semantic representation of words. There are two main ...
26
votes
Accepted
Confused about how to apply KMeans on my a dataset with features extracted
For clustering, your data must be indeed integers. Moreover, since k-means is using euclidean distance, having categorical column is not a good idea. Therefore you should also encode the column ...
14
votes
Accepted
How can autoencoders be used for clustering?
Clustering is difficult to do in high dimensions because the distance between most pairs of points is similar. Using an autoencoder lets you re-represent high dimensional points in a lower-...
13
votes
Accepted
Clustering high dimensional data
I don't think any of the clustering techniques "just" work at such scale. The most scalable supposedly is k-means (just do not use Spark/Mahout, they are really bad) and DBSCAN (there are some good ...
11
votes
is it possible to do feature selection for unsupervised machine learning problems?
Take a look at these links-
https://stats.stackexchange.com/questions/108743/methods-in-r-or-python-to-perform-feature-selection-in-unsupervised-learning
http://www.jmlr.org/papers/volume5/dy04a/...
10
votes
Accepted
Does it make sense to train a CNN as an autoencoder?
Yes, it makes sense to use CNNs with autoencoders or other unsupervised methods. Indeed, different ways of combining CNNs with unsupervised training have been tried for EEG data, including using (...
10
votes
What is the difference between topic modeling and clustering?
The purpose of topic modeling methods is to discover the latent themes (topics) assumed to have generated the documents of a corpus. Topic modeling methods are built on the distributional hypothesis, ...
10
votes
Accepted
K-Means vs hierarchical clustering
I would say hierarchical clustering is usually preferable, as it is both more flexible and has fewer hidden assumptions about the distribution of the underlying data.
With k-Means clustering, you ...
8
votes
Accepted
Is Overfitting a problem in Unsupervised learning?
Overfitting happens when the model fits the training dataset more than it fits the underlying distribution. In a way, it models the specific sample rather than producing a more general model of the ...
8
votes
Accepted
Is SVD non-linear while PCA (by eigendecompostion) is linear?
To the best of my knowledge no.
SVD and PCA are both linear dimensionality reduction algorithms. Some nonlinear dimensionality reduction algorithms are e.g. LLE, Kernel-PCA, Isomap, etc.
About t-SNE ...
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 ...
6
votes
Accepted
Combine two sets of clusters
To compare two LDA topics, you're really trying to compute the distance between two probability distributions.
One such measure that's commonly used in these circumstances is the Hellinger Distance. ...
6
votes
Accepted
Why will the accuracy of a highly unbalanced dataset reduce after oversampling?
Imagine that your data is not easily separable. Your classifier isn't able to do a very good job at distinguishing between positive and negative examples, so it usually predicts the majority class for ...
6
votes
Why will the accuracy of a highly unbalanced dataset reduce after oversampling?
Accuracy is probably not a good metric for your problem.
For the original dataset, if the model just makes a dummy prediction that all samples belong to the bigger class, the accuracy will be 83% (...
6
votes
Confused about the different aspects in Machine Learning
Good question and welcome to Datascience
Imagine you have the tree as follows.
...
6
votes
Accepted
What does it mean by “t-SNE retains the structure of the data”?
You should break this down one step further: retaining local structure and retaining global structure.
Other well-understood methods, such as Principal Component Analysis are great at retaining ...
6
votes
How to do feature selection for clustering and implement it in python?
Often people confuse unsupervised feature selection (UFS) and dimensionality reduction (DR) algorithms as the same. For instance, a famous DR algorithm is Principal Component Analysis (PCA) which is ...
6
votes
Accepted
Can a novelty detection model overfit?
Answering your question: yes, depending on the hyperparameters you choose, you could overfit the considered normal data, if you fit your separating hyperplane between normal and novel points being too ...
6
votes
How to do clustering assuring more than one class per cluster?
This is a very strange design:
The goal is to train an ensemble classification model. In general there is no strong reason to use only subsets of the data to train the individual learners, let alone ...
5
votes
How to use GAN for unsupervised feature extraction from images?
Typically to extract features, you can use the top layer of the network before the output. The intuition is that these features are linearly separable because the top layer is just a logistic ...
5
votes
Intuition Behind Restricted Boltzmann Machine (RBM)
In addition to the existing answers, I would like to talk about this energy function, and the intuition behind that a bit. Sorry if this is a bit long and physical.
The energy function describes a so-...
5
votes
Accepted
Intuition Behind Restricted Boltzmann Machine (RBM)
RBM's are an interesting beast. To answer your question, and to jog my memory on them, I'll derive RBMs and talk through the derivation. You mentioned that you're confused on the likelihood, so my ...
5
votes
Accepted
What is the meaning of spherical dataset?
In this case, a picture is a worth a thousand words. They literally mean data whose distribution on X,Y is roughly a sphere. Different clustering algorithms work better on different distributions. For ...
5
votes
Accepted
Unsupervised feature reduction for anomaly detection with autoencoders
I have used stacked auto-encoders to reduce our 40 features step by step to 5 features and then output back to 40 features (some of my features were all zeros/ non deviating features). Training this ...
5
votes
Accepted
What approach other than Tf-Idf could I use for text-clustering using K-Means?
You will likely see an improvement by using an algorithm like GloVe in place of Tf-Idf. Like Tf-Idf, GloVe represents a group of words as a vector. Unlike Tf-Idf, which is a Bag-of-Words approach, ...
5
votes
Anomaly detection on time series
You can have a look here, where many open-source algorithms specifically for anomaly detection on time-series data (e.g. metrics) are collected, both for online of offline settings.
Almost all of ...
5
votes
Accepted
Anomaly detection thresholds issue
Instead of mean and standard deviation, you could estimate the median and mean absolute deviation. The median is immune to outliers, and the MAD should be at least more robust than the standard ...
5
votes
Accepted
What is major difference between different dimensionality reduction algorithms?
A detailed answer would require many pages of explanation, but I think a brief answer may point to the right direction for further research.
First of all the choice of dimensionality reduction ...
4
votes
Does it make sense to train a CNN as an autoencoder?
Yes, you can use a convolutional network in an autoencoder setup. There is nothing strange with it. People have problems figuring out deconvolution layers, though.
Here you can find an example of a ...
4
votes
Which outlier detection can detect these outliers?
You may view your data as a time series where an ordinary measurement produce a value very close to the previous value and a re-calibration produce a value with a large difference to the predecessor.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
unsupervised-learning × 446machine-learning × 175
clustering × 166
python × 69
anomaly-detection × 58
k-means × 53
supervised-learning × 52
deep-learning × 33
nlp × 32
neural-network × 29
time-series × 28
data-mining × 25
classification × 22
scikit-learn × 21
autoencoder × 15
outlier × 15
feature-selection × 14
r × 12
predictive-modeling × 12
topic-model × 12
statistics × 11
categorical-data × 11
semi-supervised-learning × 11
data-science-model × 10
text-mining × 9