To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit d9c69565 authored by Ard Kastrati's avatar Ard Kastrati
Browse files

Ran SVC with 2000 epochs but still didn't converge (the accuracy does not increase though)

parent 6940e091
......@@ -70,7 +70,7 @@ def try_sklearn_classifiers(X, y):
# LinearSVC(tol=1e-5, C=1, random_state=42, max_iter=1000),
# RandomForestClassifier(n_estimators=30, max_depth=20, max_features='auto', random_state=42, n_jobs=-1),
# GaussianNB(),
LinearSVC(tol=1e-3, C=20, random_state=42, max_iter=500)
LinearSVC(tol=1e-3, C=20, random_state=42, max_iter=2000)
]
X = X.reshape((36223, 500 * 129))
......
Model,Score,Runtime
Linear SVM,0.7055900621118012,5662.836174726486
LinearSVC(tol=1e-3, C=20, random_state=42, max_iter=2000)
INFO:root:Started the Logging
INFO:root:X training loaded.
INFO:root:(129, 500, 36223)
INFO:root:y training loaded.
INFO:root:(1, 36223)
INFO:root:Setting the shapes
INFO:root:(36223, 500, 129)
INFO:root:(36223, 1)
INFO:root:Training the simple classifiers: kNN, Linear SVM, Random Forest and Naive Bayes.
INFO:root:Linear SVM
INFO:root:--- Score: 0.7055900621118012
INFO:root:--- Runtime: 5662.836174726486 for seconds ---
INFO:root:--- Runtime: 5815.404237270355 seconds ---
INFO:root:Finished Logging
Sender: LSF System <lsfadmin@eu-g1-029-2>
Subject: Job 166881910: <python /cluster/home/kard/dl-project/main.py> in cluster <euler> Done
Job <python /cluster/home/kard/dl-project/main.py> was submitted from host <eu-login-28> by user <kard> in cluster <euler> at Wed Mar 24 08:54:11 2021
Job was executed on host(s) <15*eu-g1-029-2>, in queue <bigmem.24h>, as user <kard> in cluster <euler> at Wed Mar 24 08:54:43 2021
</cluster/home/kard> was used as the home directory.
</cluster/home/kard/dl-project> was used as the working directory.
Started at Wed Mar 24 08:54:43 2021
Terminated at Wed Mar 24 10:31:55 2021
Results reported at Wed Mar 24 10:31:55 2021
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
python /cluster/home/kard/dl-project/main.py
------------------------------------------------------------
Successfully completed.
Resource usage summary:
CPU time : 5813.69 sec.
Max Memory : 95790 MB
Average Memory : 93396.83 MB
Total Requested Memory : 120000.00 MB
Delta Memory : 24210.00 MB
Max Swap : -
Max Processes : 3
Max Threads : 4
Run time : 5832 sec.
Turnaround time : 5864 sec.
The output (if any) follows:
2021-03-24 08:54:46.178056: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
(36223, 500, 129)
(36223, 1)
/cluster/apps/nss/gcc-6.3.0/python/3.8.5/x86_64/lib64/python3.8/site-packages/sklearn/svm/_base.py:976: ConvergenceWarning: Liblinear failed to converge, increase the number of iterations.
warnings.warn("Liblinear failed to converge, increase "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment