📄 kstarconstants.java
字号:
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *//** * KStarConstants.java * Copyright (c) 1995-97 by Len Trigg (trigg@cs.waikato.ac.nz). * Java port to Weka by Abdelaziz Mahoui (am14@cs.waikato.ac.nz). * */package weka.classifiers.kstar;/* * @author Len Trigg (len@intelligenesis.net) * @author Abdelaziz Mahoui (am14@cs.waikato.ac.nz) * @version $Revision 1.0 $ */public interface KStarConstants { /** Some usefull constants */ public static final int ON = 1; public static final int OFF = 0; public static final int NUM_RAND_COLS = 5; public static final double FLOOR = 0.0; public static final double FLOOR1 = 0.1; public static final double INITIAL_STEP = 0.05; public static final double LOG2 = 0.693147181; public static final double EPSILON = 1.0e-5; /** How close the root finder for numeric and nominal have to get */ public static final int ROOT_FINDER_MAX_ITER = 40; public static final double ROOT_FINDER_ACCURACY = 0.01; /** Blend setting modes */ public static final int B_SPHERE = 1; /* Use sphere of influence */ public static final int B_ENTROPY = 2; /* Use entropic blend setting */ /** Missing value handling mode */ /* Ignore the instance with the missing value */ public static final int M_DELETE = 1; /* Treat missing values as maximally different */ public static final int M_MAXDIFF = 2; /* Normilize over the attributes */ public static final int M_NORMAL = 3; /* Average column entropy curves */ public static final int M_AVERAGE = 4; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -