is_train_image

mastml.html_helper.is_train_image(path)[source]

Method used to assess whether an image is for training data

Args:

path: (str), source path of the image to be displayed

Returns:

(bool), True if path is an image (.png) and is for training data (has ‘train’ in path)