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
42 changes: 22 additions & 20 deletions configs/sklearn_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"source": "make_blobs",
"generation_kwargs": {
"centers": 2,
"n_samples": 1000,
"n_samples": 5000,
"n_features": [16, 64]
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.

Do we need the case with 16 features?

Copy link
Copy Markdown
Contributor Author

@ethanglaser ethanglaser Apr 24, 2026

Choose a reason for hiding this comment

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

I think this may have been originally added to demonstrate to users that configs can take lists instead of just individual values - so I'd be in favor of keeping it as is

},
"split_kwargs": { "ignore": true }
Comment thread
ethanglaser marked this conversation as resolved.
Expand All @@ -33,53 +33,55 @@
}
]
},
"multi clsf data": {
"regression data": {
"data": {
"source": "make_classification",
"source": "make_regression",
"generation_kwargs": {
"n_classes": 4,
"n_samples": 1000,
"n_features": 10,
"n_informative": "[SPECIAL_VALUE]0.75"
"n_samples": 10000,
"n_features": 100,
"n_informative": 50,
"noise": 0.1
},
"split_kwargs": { "test_size": 0.1 }
"split_kwargs": { "test_size": 0.2 }
Comment thread
ethanglaser marked this conversation as resolved.
}
},
"regression algorithms": {
"algorithm": [
{ "estimator": "LinearRegression" }
]
},
"unsupervised algorithms": {
"algorithm":
[
{
"estimator": "PCA",
"estimator_params": { "svd_solver": "auto", "n_components": 3 }
},
"algorithm": [
{
"estimator": "KMeans",
"estimator_params": { "n_init": 10, "n_clusters": "[SPECIAL_VALUE]auto" },
"estimator_methods": { "inference": "predict" }
},
{
"estimator": "DBSCAN",
"estimator_params": { "eps": 3, "min_samples": 5 }
}
]
},
"supervised algorithms": {
"algorithm": [
{
"estimator": ["KNeighborsClassifier", "KNeighborsRegressor"],
"estimator_params": { "n_neighbors": 5, "algorithm": "brute" }
"estimator_params": { "n_neighbors": 5, "algorithm": "kd_tree" }
},
{ "estimator": "ElasticNet" },
{ "estimator": "SVC" }
]
}
},
"TEMPLATES": {
"multi clsf": {
"SETS": ["common", "multi clsf data"],
"algorithm": { "estimator": "LogisticRegression" }
},
"supervised": {
"SETS": ["common", "binary clsf data", "supervised algorithms"]
},
"unsupervised": {
"SETS": ["common", "blobs data", "unsupervised algorithms"]
},
"regression": {
"SETS": ["common", "regression data", "regression algorithms"]
}
}
}
Loading