perf: switch SVM default kernel to linear for better performance
This commit is contained in:
parent
af365cfe68
commit
e1f727831f
2 changed files with 21 additions and 11 deletions
5
main.py
5
main.py
|
|
@ -35,11 +35,10 @@ STRATEGY = RandomForestStrategy(
|
|||
random_state=42,
|
||||
)
|
||||
|
||||
# Option 2: Support Vector Machine
|
||||
# # Option 2: Support Vector Machine
|
||||
# STRATEGY = SVMStrategy(
|
||||
# kernel="rbf",
|
||||
# kernel="linear", # Fast prediction; use 'rbf' for better accuracy but much slower
|
||||
# C=1.0,
|
||||
# gamma="scale",
|
||||
# random_state=42,
|
||||
# )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue