⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kstarconstants.java

📁 为了下东西 随便发了个 datamining 的源代码
💻 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.lazy.kstar;

/*
 * @author Len Trigg (len@reeltwo.com)
 * @author Abdelaziz Mahoui (am14@cs.waikato.ac.nz)
 * @version $Revision 1.0 $
 */
public interface KStarConstants {

  /** Some usefull constants */
  int    ON            = 1;
  int    OFF           = 0;
  int    NUM_RAND_COLS = 5;
  double FLOOR         = 0.0;
  double FLOOR1        = 0.1;
  double INITIAL_STEP  = 0.05;
  double LOG2          = 0.693147181;
  double EPSILON       = 1.0e-5;

  /** How close the root finder for numeric and nominal have to get */
  int    ROOT_FINDER_MAX_ITER = 40;
  double ROOT_FINDER_ACCURACY = 0.01;

  /** Blend setting modes */
  int B_SPHERE  = 1; /* Use sphere of influence */
  int B_ENTROPY = 2; /* Use entropic blend setting */

  /** Missing value handling mode */

  /* Ignore the instance with the missing value */
  int M_DELETE  = 1; 
  /* Treat missing values as maximally different */
  int M_MAXDIFF = 2; 
  /* Normilize over the attributes */
  int M_NORMAL  = 3; 
  /* Average column entropy curves */
  int M_AVERAGE = 4; 
  
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -