Repository navigation
638 khiopscore train predictor function documentation about sample percentage parameter - #648
Merged
popescu-v merged 2 commits intoNov 23, 2026
Conversation
State that one can start with 0 for initial analysis. related_to #638
popescu-v
force-pushed
the
638-khiopscore-train_predictor-function-documentation-about-sample_percentage-parameter
branch
from
November 18, 2026 18:38
bf35ecf to
d12d20f
Compare
popescu-v
marked this pull request as ready for review
November 18, 2026 18:38
marcboulle
requested changes
Nov 19, 2026
|
|
||
| selection_value: str or int or float, default "" | ||
| See `selection_variable` option above. Ignored if equal to "". | ||
|
|
There was a problem hiding this comment.
Il y a déjà une note pour selection_variable.
Celle ci est inutile (cf. autre fonction de l'API, ou cette redondance est absente)
Collaborator
Author
There was a problem hiding this comment.
Right. Note removed.
| is `True`. | ||
| sample_percentage : float, default 70.0 | ||
| See the `sampling_mode` option below. | ||
| Percentage of samples retained during exploratory analysis and model |
There was a problem hiding this comment.
Je garderais le même commentaire laconique partout, celui de check_database
Percentage of samples retained. See also the `sampling_mode` option
below.
!!! note
A selection variable can also be applied to select samples, via the
`selection_variable` parameter (see below). The effects are
orthogonal and additive.
Pourquoi:
- c'est plus simple et concis
- c'est plus proche de la GUI, ou ce paramètre unique est utilisé par toutes les action
- préciser le contexte
during exploratory analysis and model traininget inutile et redondant, puisque l'on sait de quelle fonction on est le paramètre (on ne reprécise pas le contexte pour chaque paramètre de la fonction) - avoir exactement le même texte d'explication permettra lors du refactoring par extraction automatique des prototypes et documentations de l'API d'implémenter des check de type linter, pour vérifier la cohérence des paramètres inter-fonction
Domaine d'application: toutes les fonctions de l'API et des helpers utilisant ce paramètre
…e Core API closes #638
popescu-v
force-pushed
the
638-khiopscore-train_predictor-function-documentation-about-sample_percentage-parameter
branch
from
November 20, 2026 10:38
d12d20f to
fe36caa
Compare
popescu-v
deleted the
638-khiopscore-train_predictor-function-documentation-about-sample_percentage-parameter
branch
November 23, 2026 12:18
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
closes #638
TODO Before Asking for a Review
main(ormain-v10)Unreleasedsection ofCHANGELOG.md(no date)index.html