-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvar.py
37 lines (34 loc) · 836 Bytes
/
var.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import numpy as np
# parameters_rbf = {
# "C": [1, 10, 100, 1000, 2000],
# "gamma": [
# 1.0e-100,
# 7.89652287e-94,
# 4.92388263e-80,
# 3.07029063e-66,
# 1.91791026e-52,
# 1.19421878e-38,
# 7.44380301e-25,
# 4.64158883e-11,
# 3.66524124e-4,
# 2.89426612e3,
# 2.28546386e10,
# 1.42510267e24,
# 8.88178420e37,
# 5.54102033e51,
# 3.45662002e65,
# 2.15443469e79,
# 1.34339933e93,
# 1.06081836e100,
# 8.37677640e106,
# ],
# }
# parameters_rbf = {
# "C": list(np.logspace(-30, 10, 15)),
# "gamma": ["scale"],
# }
#
# parameters_linear = {"C": [1, 10, 100, 1000, 2000]}
parameters = [
{"C": list(np.logspace(-15, 15, 15)), "gamma": ["scale"], "kernel": ["rbf"]},
]