> 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:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/datasets/manage-datasets/manage-classes.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.
