Method for training the classifier without including the corresponding samples. It uses the generated frequency vector. So, use this method when you want to control the generation of the Word Space Model.
@param classes Number of target classes.
@param sampleCount Number of samples to be loaded.
@param attributeCount Number of attributes in the Word Space Model.
@param samples The frequency matrix for training the classifier. Use the first dimension for controlling the sample number and the second dimension for controlling the Word Space Model (attribute number). I.E.: samples[2][1] will contain the weight of the second word on the third sample. The class is included as the last attribute of each sample.
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.