# Edit Classes

Edit Classes is in the Classify tool under the ViDi EL Tools in the Inspect application step. The Edit Classes panel of the Classify tool allows you to import a large number of already existing images and predict their class.

Note: The Classify tool can only use a limited number of images for training. The maximum number of images you can train with the Classify tool is 300. The recommended number of training images is between 5 and 15 for each defined class.

- To open the Edit Classes panel, click Edit Classes in the Classify tool.

  The Edit Classes panel appears.

- By hovering over the images it displays a zoomed version of the image, with the location path on the top of the zoomed image.

- To import images, click Import on the top left under the toolbar.

- After importing the images, Edit Classes runs all tools and then applies labels to the images, or gives an error message if it does not succeed in applying labels. In the image below you can see that Edit Classes classified the imported images correctly. However, sometimes the images are still under the Unlabeled Images.

  Edit Classes allows you to correct labeling mistakes on your already labeled or unlabeled images by dragging and dropping the images to the correct labeled image class.

Note: The Model Health looks at the percentage of conformity between the images you have trained and what it predicts for the untrained image. It gives you the information how well you train the tool. The Model Health percentage stops changing as you train your tool. This indicates that the training process is successful.

- To define what pass/fail result the tool produces for the images in a class, open the drop-down in the Tool Result column and select Fail or Pass. Old jobs are upgraded with the ability to fail classes, but existing job results default to a pass.

- To remove any image you select from the tool database, click Remove Selected.

- To unlabel any image you select in the tool database, click Unlabel Selected.