『English Text Classification』 モジュールをトレーニングする際に「<ファイル名> does not have name [target] in header'['input', 'target ']', skipping this file. The csv file must contain a header with at least two columns」エラーが発生する

:grey_question: Question

AI Centerで用意された既存モジュール「English Text Classification」でトレーニングをするため、CSVファイルをデータセットとしてパイプラインでトレーニングしたところ、以下のエラーが発生します。

エラーメッセージ:

Provided data does not have enough training examples to train, you must provide at least 5 training examples of each class

:bulb: Answer

モジュールをトレニンーグする際に、クラス毎に最低5個のデータが必要となります。

ご利用のモジュールにより最低限必要となるトレーニングデータ量は異なりますが、「English Text Classification」では通常10個以上のトレーニングデータを必要とします。