public boolean learn(Instance instance)
    {
        if (instance == null) return false;
        model.update(instance);
        return true;
    }
public boolean learn ( Instance instance ) { if ( instance == null ) return false ; model . update ( instance ) ; return true ; }
在线学习

@param instance
@return