📄 classstreamveci.java
字号:
package tclass; import java.io.*; /** * Interface for a set of streams, including the classification. * <p> * When you think about it, the classification of a set of instances * and the instances themselves are separate. For example, a different * representation of the stream still has the same class. * This technique of having a representation for streams and classifications * separately simplifies representation conversion (which, as you can guess, * we do in several places in the code, since representation conversion * is the basis of the learning algorithm). * <p> * You should make sure that the classification vector and the vector of streams * are the same size. * <p> * @author Waleed Kadous * @version $Id: ClassStreamVecI.java,v 1.1.1.1 2002/06/28 07:36:16 waleed Exp $ */public interface ClassStreamVecI extends Cloneable, Serializable { public boolean hasClassification(); public StreamVecI getStreamVec(); public void setStreamVec(StreamVecI sv); public ClassificationVecI getClassVec(); public void setClassVec(ClassificationVecI classes); /** * Adds an instance to both. */ public void add(StreamI strm, ClassificationI classn); /** * Get the size of the current stream */ public int size(); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -