public static LabelledInstance instance(File f) {
        String path = f.getAbsolutePath();
        return new LabelledInstance(path, JSON.readInstance(f));
    }
public static LabelledInstance instance ( File f ) { String path = f . getAbsolutePath ( ) ; return new LabelledInstance ( path , JSON . readInstance ( f ) ) ; }
Make an instance.
@param f the file that store the instance
@return the parsed instance. The instance label is the file name