8000 accelerate plot_kernel_ridge_regression.py by melemo2 · Pull Request #21791 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@melemo2
Copy link
Contributor
@melemo2 melemo2 commented Nov 25, 2021

Reference Issues/PRs
References #21598
@ogrisel
Only the part that calculates the execution time has been modified
24.2 s -> 16.8 s

[reduce]
train_data size -30%

[modify]
randomState 0 -> 42
Ridge(alpha=0.1, gamma=10) -> Ridge(alpha=0.01, gamma=10)
SVR(C=1e1, gamma=10) -> SVR(C=1e2, gamma=10)

I think the Execution Time graph before is incorrect
In the training of medium-sized training data

KRR Train time < SVR Train time
KRR Test time > SVR Test time

is correct.
But, before graph is

KRR Train time > SVR Train time
KRR Test time > SVR Test time

There may be differences in the environment..

[Before]
image

[After]
image

@adrinjalali adrinjalali mentioned this pull request Nov 29, 2021
41 tasks
@adrinjalali adrinjalali merged commit 257e0a2 into scikit-learn:main Mar 18, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0