package yi.iu.imgdb.learn;

import java.util.*;
/**
 * ImgDBLearner learns the object descriptions of images.  It is given the
 * images, their object descriptions (or keywords), and their feature vectors.
 * From those, it learns the feature characteristic of objects.
 */

public interface ObjImgModel {
  /**
   * Add a training case which includes the image name, the corresponding object
   * description, and the feature vectors
   * @param img_name the image name
   * @param obj_names the collection of object names
   * @param ft_vects the collection of feature vectors (eg. double[])
   */
  public void addImageInst(String img_name, Collection obj_names, Collection ft_vects);

  public void learnTheModel();

}