Package edu.uci.jforestsx.dataset

Examples of edu.uci.jforestsx.dataset.ShortNumericArray


      } else if (numValues <= 2) {
        bins[i] = new BitNumericArray(instanceCount);
      } else if (numValues <= Byte.MAX_VALUE) {
        bins[i] = new ByteNumericArray(instanceCount);
      } else if (numValues <= Short.MAX_VALUE) {
        bins[i] = new ShortNumericArray(instanceCount);
      } else {
        throw new Exception("One of your features have more than " + Short.MAX_VALUE
            + " distinct values. The support for this feature is not implemented yet.");
      }
      System.out.println("Feature: " + i + ", type: " + bins[i].getType().toString());
View Full Code Here

TOP

Related Classes of edu.uci.jforestsx.dataset.ShortNumericArray

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.