Skip to content
Open
Changes from all 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
37 changes: 37 additions & 0 deletions configs/regular/preprocessing.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"INCLUDE": ["../common/sklearn.json"],
"PARAMETERS_SETS": {
"preprocessing parameters": {
"algorithm": {
"estimator": "MaxAbsScaler",
"estimator_methods": { "training": "fit", "inference": "transform" }
}
},
"preprocessing datasets": [
{
"data": {
"source": "make_regression",
"generation_kwargs": [
{ "n_samples": 100000, "n_features": 5000, "noise": 1.0 },
{ "n_samples": 1000000, "n_features": 500, "noise": 1.0 },
{ "n_samples": 10000000, "n_features": 50, "noise": 1.0 }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it could add cases with sparse data instead of something this large.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/uxlfoundation/scikit-learn-intelex/blob/main/sklearnex/preview/preprocessing/_data.py#L83 unfortunately not something we handle in the current moment (due to IncrementalBasicStatistics not handling sparse data).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the reason for such big data is to match order of magnitude to linear regression sizing https://github.com/IntelPython/scikit-learn_bench/blob/main/configs/regular/linear_model.json#L11

],
"split_kwargs": { "train_size": 0.5, "test_size": 0.5 },
"dtype": ["float32", "float64"]
}
},
{
"data": {
"dataset": ["sift", "gist", "svhn"],
"split_kwargs": { "train_size": 0.5, "test_size": 0.5 },
"dtype": ["float32", "float64"]
}
}
]
},
"TEMPLATES": {
"sklearn preprocessing": {
"SETS": ["sklearn-ex[cpu,gpu] implementations", "preprocessing parameters", "preprocessing datasets"]
}
}
}
Loading