# SVM

**Support Vector Machine (SVM)** là mô hình phân loại dựa trên việc tìm siêu phẳng (hyperplane) tối ưu để phân tách dữ liệu.

Mục tiêu:

Maximize margin between classes\text{Maximize margin between classes}Maximize margin between classes

SVM có thể dùng:

* Linear kernel
* RBF kernel
* Polynomial kernel

***

### SVM có phải baseline không?

* Nếu dùng **Linear SVM**, có thể xem là baseline trung bình
* Nếu dùng kernel phi tuyến (RBF), thì không còn là baseline đơn giản

SVM mạnh hơn Logistic Regression trong nhiều trường hợp.

***

### Ví dụ

Phân loại email spam:

* Dữ liệu được biểu diễn thành vector đặc trưng
* SVM tìm đường phân cách tối ưu giữa spam và không spam


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://deeplearningcoban.gitbook.io/deeplearningcoban.com/tham-khao/glossary/s/svm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
