# Tính Class Weight cho Dataset mất cân bằng

> Hồ sơ MCP chính thức, sinh từ registry BOP.INK.

| Trường | Giá trị |
| --- | --- |
| Slug | `tinh-class-weight-cho-dataset-mat-can-bang` |
| Danh mục V2 | AI & Machine Learning (`ai-machine-learning`) |
| Danh mục con V2 | Dataset Utilities (`ai-machine-learning.dataset-utilities`) |
| Route legacy tương thích | `lap-trinh-dev` |
| Taxonomy V2 | `ai-machine-learning` / `ai-machine-learning.dataset-utilities` |
| Phạm vi áp dụng | `global` |
| Trạng thái thực thi MCP | `remote_executable` |
| Nguồn giao diện/schema | `calculators/tinh-class-weight-cho-dataset-mat-can-bang` |
| Website | [Mở công cụ](https://bop.ink/lap-trinh-dev/tinh-class-weight-cho-dataset-mat-can-bang/) |

Tính trọng số cân bằng lớp (balanced class weights) theo chuẩn Scikit-learn để xử lý bài toán Imbalanced Classification.

## Cách dùng qua MCP

### Tính Class Weight cho Dataset mất cân bằng

- Capability: `calculator.lap_trinh_dev.tinh_class_weight_cho_dataset_mat_can_bang`
- MCP availability: `remote-executable`
- MCP tool: `bop_execute_calculator_lap_trinh_dev_tinh_class_weight_cho_dataset_mat_can_bang`
- Mô tả: Tính trọng số cân bằng lớp (balanced class weights) theo chuẩn Scikit-learn để xử lý bài toán Imbalanced Classification.

Các trường đầu vào:

- `samplesClass0`: Theo canonical schema.
- `samplesClass1`: Theo canonical schema.

Ví dụ đầu vào:

```json
{}
```
