Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add class-distinctiveness function and its example code (#215)
* Add class-distinctiveness function and its example code * Make class_dis function support more than two classes, apply flake8 on scripts, move the function to preprocessing.py and delete featureselection.py * Add the test of class_dis function, fix the class_dis formula, move the function to classification, and incorporate class_dis example into plot_toy_classification * update doc, change a bit figure example + factorize tests * flake8 * update whatsnew + add argument 'metric' * update test * improve doc * add private func + add parameter p * change the parameter name to exponent * improve doc * fix equation display and add last modifs Co-authored-by: Alexandre Gramfort <agramfort@fb.com> Co-authored-by: qbarthelemy <q.barthelemy@gmail.com>
- Loading branch information
1 parent
b4741f7
commit 56cf653
Showing
5 changed files
with
224 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters