py2ls 0.2.4.22__py3-none-any.whl → 0.2.4.23__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
py2ls/ml2ls.py
CHANGED
@@ -2391,9 +2391,10 @@ def predict(
|
|
2391
2391
|
if isinstance(y_train, np.ndarray):
|
2392
2392
|
y_train = ips.df_encoder(data=pd.DataFrame(y_train), method="label")
|
2393
2393
|
y_train = np.asarray(y_train)
|
2394
|
-
if
|
2395
|
-
|
2396
|
-
|
2394
|
+
if y_true is not None:
|
2395
|
+
if isinstance(y_train, np.ndarray):
|
2396
|
+
y_true = ips.df_encoder(data=pd.DataFrame(y_true), method="label")
|
2397
|
+
y_true = np.asarray(y_true)
|
2397
2398
|
# Hyperparameter grids for tuning
|
2398
2399
|
if cv_level in ["low", "simple", "s", "l"]:
|
2399
2400
|
param_grids = {
|
@@ -2416,8 +2417,8 @@ def predict(
|
|
2416
2417
|
}
|
2417
2418
|
),
|
2418
2419
|
"SVM": {
|
2419
|
-
"C": [1],
|
2420
|
-
"gamma": ["scale"],
|
2420
|
+
"C": [0.1, 1, 10],
|
2421
|
+
"gamma": ["scale", 0.1, 1],
|
2421
2422
|
"kernel": ["rbf"],
|
2422
2423
|
},
|
2423
2424
|
"Lasso": {
|
@@ -236,7 +236,7 @@ py2ls/freqanalysis.py,sha256=F4218VSPbgL5tnngh6xNCYuNnfR-F_QjECUUxrPYZss,32594
|
|
236
236
|
py2ls/ich2ls.py,sha256=3E9R8oVpyYZXH5PiIQgT3CN5NxLe4Dwtm2LwaeacE6I,21381
|
237
237
|
py2ls/ips.py,sha256=2TWuOSFquwhmPdxkmmvU_pcIbE5M0S9aRPtuQgs5B7A,297706
|
238
238
|
py2ls/ml2ls copy.py,sha256=iZJrFLIrdfTieAY2BDsxQFTm29smwnJh0aC4hRB9VGM,113314
|
239
|
-
py2ls/ml2ls.py,sha256=
|
239
|
+
py2ls/ml2ls.py,sha256=1pN6nACn5XEKuipg-44EWSn5QlZ9q6Kzx6uMCdqQiBo,146129
|
240
240
|
py2ls/mol.py,sha256=AZnHzarIk_MjueKdChqn1V6e4tUle3X1NnHSFA6n3Nw,10645
|
241
241
|
py2ls/netfinder.py,sha256=R70NkrnO8LlXjT1y7bf2TN-yE4yOeAYhb0jDBiNp8XA,57536
|
242
242
|
py2ls/ocr.py,sha256=5lhUbJufIKRSOL6wAWVLEo8TqMYSjoI_Q-IO-_4u3DE,31419
|
@@ -246,6 +246,6 @@ py2ls/sleep_events_detectors.py,sha256=bQA3HJqv5qnYKJJEIhCyhlDtkXQfIzqksnD0YRXso
|
|
246
246
|
py2ls/stats.py,sha256=qBn2rJmNa_QLLUqjwYqXUlGzqmW94sgA1bxJU2FC3r0,39175
|
247
247
|
py2ls/translator.py,sha256=77Tp_GjmiiwFbEIJD_q3VYpQ43XL9ZeJo6Mhl44mvh8,34284
|
248
248
|
py2ls/wb_detector.py,sha256=7y6TmBUj9exCZeIgBAJ_9hwuhkDh1x_-yg4dvNY1_GQ,6284
|
249
|
-
py2ls-0.2.4.
|
250
|
-
py2ls-0.2.4.
|
251
|
-
py2ls-0.2.4.
|
249
|
+
py2ls-0.2.4.23.dist-info/METADATA,sha256=qTj4hYB953DQ2bxJdW3SyIAm_jyRQGNRRlHbgFCO7MI,20078
|
250
|
+
py2ls-0.2.4.23.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
251
|
+
py2ls-0.2.4.23.dist-info/RECORD,,
|
File without changes
|