Class Dart

    • Field Detail

      • num_class

        protected int num_class
    • Method Detail

      • loadModel

        public void loadModel​(ModelReader reader,
                              boolean with_pbuffer)
                       throws IOException
        Description copied from interface: GradBooster
        Loads model from stream.
        Specified by:
        loadModel in interface GradBooster
        Overrides:
        loadModel in class GBTree
        Parameters:
        reader - input stream
        with_pbuffer - whether the incoming data contains pbuffer
        Throws:
        IOException - If an I/O error occurs
      • setNumClass

        public void setNumClass​(int num_class)
        Specified by:
        setNumClass in interface GradBooster