-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design for Linear Discriminant Analysis (LDA) #25
Comments
What's PythonCov? What's the state of Julia packages for robust covariance matrices? Should we let the user pass a function as an argument? |
|
I was thinking that there will be a general technology for covariance matrix estimation: simple, multiple robust methods, maybe something that works for spare matrices in big data, etc. So there should be a default (simple) but the caller should be able to supply a function that computes the covariance matrix. Or alternatively maybe there will be a function compute.cov(X, method), the caller to LDA should be able to supply the method. |
Humm -- I like both ideas. Idea 1) covariance matrix estimation: simple, multiple robust methods, shrinkage estimation methods etc. Idea 2) a function I like the second idea with a default |
@ajaynshah @ayushpatnaikgit @codetalker7 @ShouvikGhosh2048 Struggling to decide - should we use MultivariateStat.jl for LDA. AND/OR should we use Aman's Julia code from scratch for LDA Ayush's point if we rely on too many packages - then some people will never able to use CRRao because some package will be broken On the other hand - why bother we are going to rely on lazy load in any way... Requesting your comment -- now I want to move to LDA development for CRRao |
For now, I am thinking about developing the LDA with Aman's code which is faster than R and Python sklearn but slower than MultivariateStat.jl Once MultivariateStat.jl becomes stable - we can later adapt the LDA of MultivariateStat.jl as a fast option. |
We will raise an issue with Otherwise, we will contribute in |
Yes, great, let's put all our knowledge on LDA to work to make MultivariateStat.jl stronger. And then in CRRao we will just call that LDA. Let's do the usual hard work:
so that it gets rapidly accepted into the main package. |
I have created this issue with JuliaStats/MultivariateStats.jl#204 Basically I said the |
I am thinking about how we should do the Linear Discriminant Analysis (LDA) in CRRao. I am thinking out loud. Please correct me if I am saying something wrong. The design that I am thinking of is as follows:
Example: For binary classification:
Example: For multi-class classification:
The default covariance type would be sample covariance.
The text was updated successfully, but these errors were encountered: