# \#libsvm

**URL:** https://discourse.julialang.org/tag/libsvm/1280.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Crash when tuning SVC with multithreading in MLJ.jl](https://discourse.julialang.org/t/crash-when-tuning-svc-with-multithreading-in-mlj-jl/122908)

<div class="topic-metadata">

**Author:** [@Yuan-Ru-Lin](https://discourse.julialang.org/u/Yuan-Ru-Lin)\
**Replies:** 4\
**Last updated:** [November 21, 2024, 10:11pm UTC](https://discourse.julialang.org/t/crash-when-tuning-svc-with-multithreading-in-mlj-jl/122908 "2024-11-21T22:11:41Z")

</div>

I have been trying to tune a set of hyper-parameters of a SVC. The SVC is from LIBSVM.jl. It works when I use only one thread, but crashes indeterministically with multiple threads. Not only did it may or may not crash,…

---

## [Multithreaded LIBSVM and XGBoost crashing](https://discourse.julialang.org/t/multithreaded-libsvm-and-xgboost-crashing/103179)

<div class="topic-metadata">

**Author:** [@dbass](https://discourse.julialang.org/u/dbass)\
**Replies:** 7\
**Last updated:** [August 25, 2023, 5:02pm UTC](https://discourse.julialang.org/t/multithreaded-libsvm-and-xgboost-crashing/103179 "2023-08-25T17:02:34Z")

</div>

Hello, I would like to perform crossvalidation and grid search using SVM (and XGBoost), using a parameter grid defined for each method. In MATLAB, within each split, I can run parfor, and each thread will train some mo…

---

## [Reading LIBSVM format](https://discourse.julialang.org/t/reading-libsvm-format/99466)

<div class="topic-metadata">

**Author:** [@ymalitsky](https://discourse.julialang.org/u/ymalitsky)\
**Replies:** 3\
**Last updated:** [August 12, 2023, 6:59pm UTC](https://discourse.julialang.org/t/reading-libsvm-format/99466 "2023-08-12T18:59:30Z")

</div>

Hi! How one can read files in the libsvm format in Julia? The LIBSVM.jl package seems to implement only algorithms. My current solution would be to read the file in python, save it in other format and then load it into J…

---

## [LIBSVM.jl with imbalanced dataset](https://discourse.julialang.org/t/libsvm-jl-with-imbalanced-dataset/94635)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [February 14, 2023, 4:36pm UTC](https://discourse.julialang.org/t/libsvm-jl-with-imbalanced-dataset/94635 "2023-02-14T16:36:47Z")

</div>

I am trying to use LIBSVM.jl with an imbalanced dataset. Providing weights for each class doesn’t seem to affect the result: using CSV using DataFrames using LIBSVM df = CSV.read("svm.csv", DataFrame) X = \[df.x1 df.x…
