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

📄 testaddhypo.java

📁 机器学习算法中的CHC算法
💻 JAVA
字号:
package chc;public class TestAddHypo {  private static int[][] dat = { {0, 0, 0, 0, 0},                                 {0, 0, 1, 1, 0},                                 {1, 1, 1, 1, 1} };  private static Hypothesis one;  private static Hypothesis two;  private static Hypothesis three;  public static void main (String[] args) {    one = new Hypothesis(0, dat[0]);    two = new Hypothesis(0, dat[1]);    three = new Hypothesis(0, dat[2]);    Hypothesis[] temphypo = new Hypothesis[4];    temphypo[0] = one;    temphypo[1] = two;    temphypo = CHC.addHypo(temphypo, three, 10);    temphypo = CHC.cleanHypo(temphypo);    System.out.println(Population.getHypothesisString(temphypo, 0));  }}

⌨️ 快捷键说明

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