Skip to content
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

Some improvements to OOB notebook #431

Merged
merged 19 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ pylint.html
# Saved data
runs/
data/models/
*.pkl

# Docs
docs_build
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ cells which are then hidden in the documentation.

In order to do this, cells are marked with tags understood by the mkdocs
plugin [`mkdocs-jupyter`](https://github.com/danielfrg/mkdocs-jupyter#readme),
namely adding the following to the relevant cells:
namely adding the following to the metadata of the relevant cells:

```yaml
"tags": [
Expand Down
13 changes: 6 additions & 7 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ a.autorefs-external:hover::after {
}

.md-typeset h2 {
font-size: 1.7em;
font-size: 1.3em;
font-weight: 300;
}

.md-typeset h3 {
font-size: 1.1em;
font-weight: 300;
}

Expand Down Expand Up @@ -77,12 +82,6 @@ a.autorefs-external:hover::after {
user-select: none;
}

/* Nicer style of headers in generated API */
h2 code {
font-size: large!important;
background-color: inherit!important;
}

/* Remove cell input and output prompt */
.jp-InputArea-prompt, .jp-OutputArea-prompt {
display: none !important;
Expand Down
8 changes: 4 additions & 4 deletions docs/value/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ alias:
training set which reflects its contribution to the final performance of some
model trained on it. Some methods attempt to be model-agnostic, but in most
cases the model is an integral part of the method. In these cases, this number
not an intrinsic property of the element of interest, but typically a function
of three factors:
is not an intrinsic property of the element of interest, but typically a
function of three factors:

1. The dataset $D$, or more generally, the distribution it was sampled
from (with this we mean that *value* would ideally be the (expected)
Expand All @@ -28,8 +28,8 @@ of three factors:
of a linear model.

3. The performance metric of interest $u$ for the problem. When value depends on
a model, it must be measured in some way which uses it. E.g. the $R^2$ score or
the negative MSE over a test set.
a model, it must be measured in some way which uses it. E.g. the $R^2$ score
or the negative MSE over a test set.

pyDVL collects algorithms for the computation of data values in this sense,
mostly those derived from cooperative game theory. The methods can be found in
Expand Down
Loading
Loading