> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-jp/datasets/manage-datasets/manage-classes.md).

# データセットのクラスを設定する

プロジェクトの「Settings」ページにある「Classes」タブから、アノテーションクラスを表示、変更、管理できます。これらの変更は、プロジェクト内のすべての画像に影響します（いくつかの [前処理ステップ](/roboflow/roboflow-jp/datasets/dataset-versions/image-preprocessing.md)はバージョンにのみ影響します）。プロジェクト内のすべての画像に変更を加えたいと確信している場合に、これらの操作を行ってください。

コンピュータビジョンツール全体での互換性を最大化するため、英数字のクラス名を推奨します。Roboflow は、...以外の特殊文字を含むアノテーションクラスをサポートしていません。 `-`.

## クラス名の変更

1. プロジェクトの「Settings」ページで「Classes」タブを開きます。
2. チェックボックス列を使って、名前を変更したいクラスを選択します。
3. ツールバーに表示される「Rename」ボタンをクリックします。
4. 各クラスの新しい名前を入力します。クラスを統合するには、複数のクラスを同じ名前に変更します。
5. 「Review Changes」をクリックして、旧名と新名の概要を確認します。
6. 「Confirm Changes」をクリックして適用します。

{% hint style="warning" %}
名前の変更と統合は、プロジェクト内のすべての画像に適用されます。
{% endhint %}

## クラスの削除

1. チェックボックス列を使って、削除したいクラスを選択します。
2. ツールバーの「Delete」ボタンをクリックします。
3. 削除されるクラスの一覧を確認し、確定します。

{% hint style="danger" %}
クラスを削除すると、そのクラスのすべてのアノテーションがプロジェクト内のすべての画像から削除されます。この操作は元に戻せません。
{% endhint %}

## クラスのロック

ツールバーで「Lock Classes」を切り替えて、新しいクラスの作成を防ぎます。これは、ラベリング作業中にアノテーターが誤って新しいクラスを追加しないようにするのに役立ちます。

「Lock Classes」が有効な場合、自由入力によって新しいクラスを作成できてしまうため、ラベリングエディタでは「Find Objects with AI」ボタンと「Text Prompting」ツールバー機能が非表示になります。既存のクラスの横にある、クラスごとの「Prompt with SAM3」アイコンは引き続き利用できます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/datasets/manage-datasets/manage-classes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
