This method converts a datapoint into the sequence of bytes used by the underlying file format. @param dp the data point to be converted to set of bytes @param label the label of the point to convert to the set of bytes @param byteOut the location to write the bytes to.
(DataPoint dp, double label, ByteArrayOutputStream byteOut)
| 114 | * @param byteOut the location to write the bytes to. |
| 115 | */ |
| 116 | abstract protected void pointToBytes(DataPoint dp, double label, ByteArrayOutputStream byteOut); |
| 117 | |
| 118 | /** |
| 119 | * To be called after all threads are done calling {@link #writePoint(jsat.classifiers.DataPoint, double) }. |