Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
refactor: manually extracted refined types (#46)
Browse files Browse the repository at this point in the history
* Refactor the manually extracted refined types for classes KMeans, PCA, TruncatedSVD, CountVectorizer and TfIdfVectorizer

* refactor refinedtypes for DecisionTreeClassifier

* refactor json for model_selection,neighbors,preprocessing,svm,tree

* refactoring for metrics,linearmodel,impute

* refactored json for feature_extraction

* updated BoundaryTypes and NamedTypes and the remaining classes

* Refactor manually extracted refined types for cluster, decomposition, ensemble

* Refactor manually extracted refined types for feature_extraction, impute and linear_model

* refactored manually extracted refined types for metrics,model_selection,neighbors,preprocessing,svm,tree

* Format the json files from the manual extraction of refined types

* Extract the boundary types in another json and the docstring part that is related to the boundary

* style: apply automatic fixes of linters

Co-authored-by: Dushko Klincharov <[email protected]>
Co-authored-by: mmdoja <[email protected]>
Co-authored-by: duklin <[email protected]>
  • Loading branch information
4 people authored Jan 14, 2022
1 parent 2af8763 commit 3efa424
Show file tree
Hide file tree
Showing 44 changed files with 3,363 additions and 3,579 deletions.
16 changes: 16 additions & 0 deletions refined_types/CategorizedBoundaries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Keywords for boundaries extraction:
- `non-negative float`
- `Must be of range [0.0, infinity)`
- `Must be between 0 and 1`
- `Thus, max_samples should be in the interval (0.0, 1.0]`
- `float > 0 and <= 1`
- `If float in range [0.0, 1.0]`
- `float in range [0.0, 1.0]`
- `Must be strictly positive`
- `tuple (q_min, q_max), 0.0 < q_min < q_max < 100.0`
- `The ElasticNet mixing parameter, with 0 <= l1_ratio <= 1`
- `must be a positive float`
- `For the liblinear and lbfgs solvers set verbose to any positive number for verbosity`
- `Must be at least 2`
- `If float, should be between 0.0 and 1.0 and represent the proportion of the dataset to include in the test split`
- `If float, should be between 0.0 and 1.0 and represent the proportion of the dataset to include in the train split`
461 changes: 461 additions & 0 deletions refined_types/boundaries.json

Large diffs are not rendered by default.

218 changes: 0 additions & 218 deletions refined_types/docstrings.txt

This file was deleted.

Loading

0 comments on commit 3efa424

Please sign in to comment.