contrastive icon indicating copy to clipboard operation
contrastive copied to clipboard

Contrastive PCA

Results 14 contrastive issues
Sort by recently updated
recently updated
newest added

Using the default implementation with something as simple as the iris dataset, I don't seem to be getting the background data being plotted, but just the foreground? Is this intentional?

I was wondering if this is not what we would want in the case where n_components is >2

Hi, Thanks for sharing your code. First of all, this is not an issue, but a question. I applied CPCA to my data and I get an array of complex...

First of all, this is not an issue. Thanks for developing this algorithm. The question is, is it possible to reverse cPCA in order to obtain the "corrected" matrix with...

It seems that the legend argument is unused in `transform()` or `fit_transform()`

It is great to have sklearn-like interface! However, when trying to workaround #13 I noted that `.fit()` does not return self. This is a minor thingy, but would make it...

For a dataset with n_features=1001 and n_samples=999 we will get: ```python ValueError: n_components=1000 must be between 0 and min(n_samples, n_features)=999 with svd_solver='full' ``` The default value of `preprocess_with_pca_dim` causes problems...

In line 293 of contrastive/__init__.py: ` w, v = LA.eig(sigma) ` It seems that np.linalg.eig sometimes gives complex eigenvalues due to truncation error even though my sigmas are symmetrical matrices....

When I am trying to use Kernel cPCA, it is throwing the following error “NameError: name 'cpca_alpha' is not defined”. The code snippet is similar to that is used for...

Dear all thank you for developing this method! its very useful indeed. I would like to understand more about this method/ i.e. how does this consider as unsupervised learning when...