Questions tagged [principal-component-analysis]

For questions related to principal component analysis (PCA), which is commonly used in machine learning for dimensionality reduction.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Is there a way to select the subset of most important features using PCA?

Is there a way to select the most important features using PCA? I am not looking for the principal components with the highest scores but a subset of the original features.
1
vote
0answers
24 views

How do I select the number of neurons for each layer in an auto-encoder for dimensionality reduction?

I am trying to apply an auto-encoder for dimensionality reduction. I wonder how it will be applied on a large dataset. I have tried this code below. I have total of 8 features in my data and I want to ...
1
vote
0answers
29 views

Under what circumstances is a fully connected layer similar to PCA?

I am reading this paper on image retrieval where the goal is to train a network that produces highly discriminative descriptors (aka embeddings) for input images. If you are familiar with facial ...
0
votes
0answers
16 views

Can I take some conclusion from two dimension PCA

I have a table of 140 features and try to predict binary classification. I create two dimensions out of this for visualization with PCA. In this visualization I can see, that data is not separable but ...
2
votes
1answer
155 views

Why does PCA of the vertices of a hexagon result in principal components of equal length?

I do PCA on the data points placed in the corners of a hexagon, and get the following principal components: The PCA variance is $0.6$ and is the same for each component. Why is that? Shouldn't it be ...
0
votes
1answer
38 views

Why Autoencoder Weights Are Not Always Tied

To me, tying weights in an autoencoder makes sense if we think of the auto encoder as doing PCA. Why in any situation would it make sense to not tie the weights? If we don't tie the weights, would it ...
3
votes
1answer
55 views

When using PCA for dimensionality reduction of the feature vectors to speed up learning, how do I know that I'm not letting the model overfit?

I'm following Andrew Ng's course for Machine Learning and I just don't quite understand the following. Using PCA to speed up learning Using PCA to reduce the number of features, thus lowering the ...
2
votes
0answers
46 views

Estimating dimensions to reduce input image size to in CNNs

Considering input images to a CNN that have a large dimension (e.g. 256X256), what are some possible methods to estimate the exact dimensions (e.g. 16X16 or 32X32) to which it can be condensed in the ...
0
votes
0answers
21 views

How to improve de-noise algorithm on low signal-to-noise ratio features?

In the following plot, I have features that all have a very small predictive power on y, there is a low signal-to-noise ratio. In order to de-noise them, I tried ...
1
vote
0answers
31 views

Is the 3d convolution associative given that it can be represented as matrix multiplication?

I'm trying to understand if a 3D convolution of the sort performed in a convolutional layer of a CNN is associative. Specifically, is the following true: $$ X \otimes(W \cdot Q)=(X \otimes W) \cdot Q, ...
0
votes
0answers
37 views

Unable to meet desired mean squared error

I wish to get MSE < 0.5 on test data (https://easyupload.io/zr7xf3) which is 20% of given data chosen randomly. But I am reaching 0.73 using both plain Ridge Regression as well as a neural network ...
2
votes
2answers
124 views

How does PCA work when we reduce the original space to 2 or higher-dimensional space?

How does PCA work when we reduce the original space to a 2 or higher-dimensional space? I understand the case when we reduce the dimensionality to $1$, but not this case. $$\begin{array}{ll} \text{...
3
votes
0answers
53 views

Looking for the proper algorithm to compress many lowres images of nearby locations

I have an optimization problem that I'm looking for the right algorithm to solve. What I have: A large set of low-res 360 images that were taken on a regular grid within a certain area. each of these ...
0
votes
2answers
49 views

Is it theoretically possible (or impossible) that principal component analysis worsens the performance of the model?

In case I had a prediction model and decided to add a PCA step prior to the model, is it theoretically possible/impossible that the number of output dimensions that is better for all tests may perform ...
1
vote
0answers
27 views

Multiple-dimension scaling (MDS) objective for MDS and PCA

The following is the MDS Objective. Let's think of a senario where I apply MDS with/from the solution I obtained from PCA. Then I calculate the objective function on the initial PCA solution and MDS ...
5
votes
2answers
79 views

What are examples of approaches to dimensionality reduction of feature vectors?

Given a pre-trained CNN model, I extract feature vector of images in reference and query dataset with several thousands of elements. I would like to apply some augmentation techniques to reduce the ...
1
vote
0answers
34 views

What is the difference between principal component analysis and singular value decomposition in image processing?

What is the difference between principal component analysis and singular value decomposition in image processing? Which one performs better, and why?
3
votes
1answer
36 views

Do the eigenvectors represent the original features?

I've got a test dataset with 4 features and the PCA produces a set of 4 eigenvectors, e.g., ...
1
vote
1answer
62 views

Why does PCA work well while the total variance retained is small?

I'm learning machine learning by looking through other people's kernel on Kaggle, specifically this Mushroom Classification kernel. The author first applied PCA to the transformed indicator matrix. He ...
1
vote
1answer
343 views

How to perform PCA in the validation/test set?

I was using PCA on my whole dataset (and, after that, I would split it into training, validation, and test datasets). However, after a little bit of research, I found out that this is the wrong way to ...