Loads in a JSAT dataset as a ClassificationDataSet. An exception will be thrown if the original dataset in the file was not a ClassificationDataSet. @param inRaw the input stream, caller should buffer it @return a ClassificationDataSet object @throws IOException @throws ClassCastExc
(InputStream inRaw)
| 518 | * @throws ClassCastException if the original dataset was a not a ClassificationDataSet |
| 519 | */ |
| 520 | public static ClassificationDataSet loadClassification(InputStream inRaw) throws IOException |
| 521 | { |
| 522 | return (ClassificationDataSet) load(inRaw); |
| 523 | } |
| 524 | |
| 525 | /** |
| 526 | * Loads in a JSAT dataset as a {@link RegressionDataSet}. An exception |