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

📄 testis.java

📁 机器学习算法中的CHC算法
💻 JAVA
字号:
package chc;public class TestIs {  public static int[] one = { 1, 1, 1, 1, 1 };  public static int[] two = { 0, 0, 1, 1, 1 };   public static void main(String[] args) {    Hypothesis o = new Hypothesis(0, one);    Hypothesis t = new Hypothesis(0, two);    Hypothesis three = new Hypothesis(0, one);    if ( o.is(three) ) {      System.out.println("IS");    }    else {      System.out.println("IS NOT");    }    if ( o.equals(three) ) {      System.out.println("Equals");    }    else {      System.out.println("Not Equal");    }  }}

⌨️ 快捷键说明

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