-
Notifications
You must be signed in to change notification settings - Fork 12
[DOC] Section 1 of user guide/definition of concepts #408
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
Draft
man-shu
wants to merge
9
commits into
mind-inria:main
Choose a base branch
from
man-shu:userguide_section1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
b2a620d
init definition of concepts
man-shu 240d499
point to specific VI classes
man-shu 9a71090
only d0crt works rn
man-shu 0eb1d1d
section on types of variable imp methods
man-shu 84aadca
minor
man-shu c5f4c3a
definition
AngelReyero e0bb238
Statistical Inference and concept description
AngelReyero 2b9e618
Add explicit information about the gap between variable importance an…
AngelReyero f5b8afb
Merge branch 'main' into userguide_section1
lionelkusch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,4 +3,93 @@ | |||||
|
|
||||||
| ====================== | ||||||
| Definition of concepts | ||||||
| ====================== | ||||||
| ====================== | ||||||
|
|
||||||
| Variable Importance | ||||||
| ------------------- | ||||||
|
|
||||||
| Variable Importance (VI) aims to assign a measure of | ||||||
| relevance to each feature :math:`X^j` with respect to a target :math:`y` in the | ||||||
| data-generating process. In Machine Learning, it can be seen as a measure | ||||||
| of how much a variable contributes to the predictive power of a model. We | ||||||
| can then define "important" variables as those whose absence degrades | ||||||
| the model's performance :footcite:p:`Covert2020`. | ||||||
|
|
||||||
| So if ``VI`` is a variable importance method, ``X`` a variable matrix and ``y`` | ||||||
| the target variable, the importance of all the variables | ||||||
| can be estimated as follows: | ||||||
|
|
||||||
| .. code-block:: | ||||||
|
|
||||||
| # instantiate the object | ||||||
| vi = VI() | ||||||
| # fit the models in the method | ||||||
| vi.fit(X, y) | ||||||
| # compute the importance and the pvalues | ||||||
| importance = vi.importance(X, y) | ||||||
| # get importance for each feature | ||||||
| importance = vi.importances_ | ||||||
|
|
||||||
| It allow us to rank the variables from more to less important. | ||||||
|
|
||||||
| Here, ``VI`` can be a variable importance method implemented in HiDimStat, | ||||||
| such as :class:`hidimstat.D0CRT` (other methods will support the same API | ||||||
| soon). | ||||||
|
|
||||||
| (Controlled) Variable Selection | ||||||
| ------------------------------- | ||||||
|
||||||
| ------------------------------- | |
| ------------------ |
man-shu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
man-shu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
man-shu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
man-shu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
man-shu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
man-shu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
Collaborator
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
| ----------------------------------- | |
| ------------------------------ |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.