Interface CART

  • All Known Implementing Classes:
    CARTImpl

    public interface CART
    Generic interface for Classification and Regression Trees (CARTs) based on the Breiman, Friedman, Olshen, and Stone document "Classification and Regression Trees." Wadsworth, Belmont, CA, 1984.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void dumpBinary​(java.io.DataOutputStream os)
      Dumps this CART to the output stream.
      java.lang.Object interpret​(Item item)
      Passes the given item through this CART and returns the interpretation.
    • Method Detail

      • interpret

        java.lang.Object interpret​(Item item)
        Passes the given item through this CART and returns the interpretation.
        Parameters:
        item - the item to analyze
        Returns:
        the interpretation
      • dumpBinary

        void dumpBinary​(java.io.DataOutputStream os)
                 throws java.io.IOException
        Dumps this CART to the output stream.
        Parameters:
        os - the output stream
        Throws:
        java.io.IOException - if an error occurs during output