import com.rapidminer.operator.learner.igss.utility.Utility; //导入依赖的package包/类

@Override

public List getParameterTypes() {

List types = super.getParameterTypes();

ParameterType type = new ParameterTypeInt(PARAMETER_ITERATIONS, "the number of iterations", 1, 50, 10);

type.setExpert(false);

types.add(type);

type = new ParameterTypeBoolean(PARAMETER_FORCE_ITERATIONS,

"make all iterations even if termination criterion is met", false);

type.setExpert(false);

types.add(type);

types.add(new ParameterTypeDouble(PARAMETER_EPSILON, "approximation parameter", 0.01, 1.0, 0.04));

types.add(new ParameterTypeDouble(PARAMETER_DELTA, "desired confidence", 0.01, 1.0, 0.1));

types.add(new ParameterTypeDouble(PARAMETER_MIN_UTILITY_PRUNING, "minimum utility used for pruning", -1.0d, 1.0d,

0.0d));

types.add(new ParameterTypeDouble(PARAMETER_MIN_UTILITY_USEFUL, "minimum utility for the usefulness of a rule",

-1.0, 1.0, 0.0d));

types.add(new ParameterTypeInt(PARAMETER_STEPSIZE, "the number of examples drawn before the next hypothesis update",

1, 10000, 100));

types.add(new ParameterTypeInt(PARAMETER_LARGE,

"the number of examples a hypothesis must cover before normal approximation is used", 1, 10000, 100));

types.add(new ParameterTypeInt(PARAMETER_MAX_COMPLEXITY, "the maximum complexity of hypothesis", 1, 10, 1));

types.add(new ParameterTypeInt(PARAMETER_MIN_COMPLEXITY, "the minimum complexity of hypothesis", 1, 10, 1));

types.add(new ParameterTypeBoolean(PARAMETER_USE_BINOMIAL,

"Switch to binomial utility funtion before increasing complexity", false));

types.add(new ParameterTypeCategory(PARAMETER_UTILITY_FUNCTION, "the utility function to be used",

Utility.UTILITY_TYPES, 4));

types.add(new ParameterTypeBoolean(PARAMETER_USE_KBS, "use kbs to reweight examples after each iteration", true));

types.add(new ParameterTypeBoolean(PARAMETER_REJECTION_SAMPLING,

"use rejection sampling instead of weighted examples", true));

types.add(new ParameterTypeCategory(PARAMETER_USEFUL_CRITERION,

"criterion to decide if the complexity is increased ", IteratingGSS.CRITERION_TYPES, 1));

types.add(new ParameterTypeDouble(PARAMETER_EXAMPLE_FACTOR,

"used by example criterion to determine usefulness of a hypothesis", 1.0, 5.0, 1.5));

types.add(new ParameterTypeBoolean(PARAMETER_GENERATE_ALL_HYPOTHESIS, "generate h->Y+/Y- or h->Y+ only.", false));

types.add(new ParameterTypeBoolean(PARAMETER_RESET_WEIGHTS, "Set weights back to 1 when complexity is increased.",

false));

return types;

}

java utility 是什么_Java Utility类代码示例相关推荐

  1. java特粗宋体_Java IdentityPlusMapper类代码示例

    import org.docx4j.fonts.IdentityPlusMapper; //导入依赖的package包/类 public Mapper getFontMapper() throws E ...

  2. mimemessage类是什么_Java MimeMessage类代码示例

    本文整理汇总了Java中javax.mail.internet.MimeMessage类的典型用法代码示例.如果您正苦于以下问题:Java MimeMessage类的具体用法?Java MimeMes ...

  3. JAVA WEB之XSS防御工具类代码示例

    简述 人们经常将跨站脚本攻击(Cross Site Scripting)缩写为CSS,但这会与层叠样式表(Cascading Style Sheets,CSS)的缩写混淆.因此,有人将跨站脚本攻击缩写 ...

  4. java中utilities类_Java PHUtilities类代码示例

    import com.philips.lighting.hue.sdk.utilities.PHUtilities; //导入依赖的package包/类 private void setLampSta ...

  5. 9路棋盘java代码_Java ServiceContext类代码示例

    import org.omg.IOP.ServiceContext; //导入依赖的package包/类 /** * does not contain an etry for that ID, BAD ...

  6. java immutable系列_Java Immutable类代码示例

    import com.jcabi.aspects.Immutable; //导入依赖的package包/类 /** * This class is immutable? * @param type T ...

  7. java feature类_Java FeatureCollection类代码示例

    import org.cleartk.ml.feature.FeatureCollection; //导入依赖的package包/类 public static XStream createXStre ...

  8. java path类_Java PathParser类代码示例

    import org.apache.batik.parser.PathParser; //导入依赖的package包/类 @Override public void start(Stage prima ...

  9. 源码天空java新闻_Java UpdateRequest类代码示例

    import es.tid.pce.pcep.constructs.UpdateRequest; //导入依赖的package包/类 private void sendUpdate(LSPTEInfo ...

  10. java model类_Java Model类代码示例

    import com.baomidou.mybatisplus.activerecord.Model; //导入依赖的package包/类 /** * * 预处理配置 * * * @param con ...

最新文章

  1. linux shell (()) 双括号运算符使用
  2. 深入理解 __doPostBack
  3. 10没有基于策略的qos_基于强化学习的用户移动场景下空中基站3D位置高效部署...
  4. 二叉树---根据【先序、中序序列】and【中序、后序序列】,画出二叉树!
  5. Python技术之Number数据类型介绍
  6. antd vue 多个下拉 联动_Antd下拉选择,自动匹配功能的实现
  7. linux进程创建过程,Linux 进程创建过程的分析
  8. 【月报】Java知音的五月汇总
  9. 编程调节Win7/Win8系统音量的一种方法
  10. mysql怎么看历史最高连接数_MySQL数据库怎么查看和修改最大连接数
  11. 服务器迁移中心 SMC 最佳实践及新特性介绍
  12. python抠图教程视频_3行Python代码实现8秒抠图的AI神器,根本无需PS(附视频教程)...
  13. 博弈论模型(巴什博弈)
  14. Docker 入门教程
  15. 第十二周助教心得体会
  16. 高德地图自定义定位当前位置按钮
  17. 数据分析的同比和环比以及其在excel中的应用
  18. Requirement already satisfied的解决方案
  19. 对《java程序员上班那点事》笔者对数组占用内存质疑
  20. canvas学习(html5)画画

热门文章

  1. 双稳态电路的两个稳定状态是什么_干货|常见的脉冲电路到底有何用途和特点?终于了解了!...
  2. Netty实战:设计一个IM框架就这么简单!
  3. 边境的悍匪—机器学习实战:第四章 训练模型
  4. 【源码】食肉植物算法Carnivorous Plant Algorithm (CPA)
  5. xxx.com和www.xxx.com的区别
  6. 狐妖小红娘手游服务器维护多久,狐妖小红娘手游:《狐妖小红娘》手游停服公告...
  7. SAP开发-同时定义同名的工作区、内表 OCCURS 0 WITH HEADER LINE
  8. android phone 模块分析
  9. 【带机器人】在线客服系统多商户客服源码 im即时通讯聊天 带注册 自适应网页 自动回复客服
  10. 腾达路由器显示远程服务器无响应,腾达路由器设置及可能出现的问题