• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java DefaultNodeSettingsPane类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane的典型用法代码示例。如果您正苦于以下问题:Java DefaultNodeSettingsPane类的具体用法?Java DefaultNodeSettingsPane怎么用?Java DefaultNodeSettingsPane使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



DefaultNodeSettingsPane类属于org.knime.core.node.defaultnodesettings包,在下文中一共展示了DefaultNodeSettingsPane类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: createNodeDialogPane

import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@SuppressWarnings("unchecked")
@Override
public NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            // nr of elements control element
            addDialogComponent(new DialogComponentNumber(
                    ElementSelectorSettingsModels.createNumElementsModel(),
                    "Number of elements:", /* step */1));

            addDialogComponent(new DialogComponentButtonGroup(
                    ElementSelectorSettingsModels
                            .createElementSelectionStrategyModel(),
                    false, "Selection Strategy",
                    EnumUtils.getStringListFromToString(
                            ElementSelectionStrategy.values())));
            // column to use
            addDialogComponent(new DialogComponentColumnNameSelection(
                    ElementSelectorSettingsModels.createColumnModel(),
                    "Column to use", 0, DoubleValue.class));
        }
    };
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:27,代码来源:ElementSelectorNodeFactory.java


示例2: createNodeDialogPane

import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@SuppressWarnings("unchecked")
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            addDialogComponent(new DialogComponentColumnNameSelection(
                    DBGActiveLearnLoopEndNodeModel
                            .createGroundTruthClassColumnModel(),
                    "Ground Truth Class Column",
                    DBGActiveLearnLoopEndNodeModel.LABELED_PORT,
                    StringValue.class));

            addDialogComponent(new DialogComponentNumber(
                    DBGActiveLearnLoopEndNodeModel
                            .createMaxIterationsModel(),
                    "Number of Iterations", 1));
        }
    };
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:23,代码来源:DBGActiveLearnLoopEndNodeFactory.java


示例3: createNodeDialogPane

import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@SuppressWarnings("unchecked")
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            addDialogComponent(new DialogComponentNumber(
                    PBACScorerNodeModel.createExploitationModel(),
                    "Exploitation Factor", 0.1));

            addDialogComponent(new DialogComponentNumber(
                    PBACScorerNodeModel.createConstRAlphaModel(),
                    "Radius Alpha Model", 0.1));

            addDialogComponent(new DialogComponentNumber(
                    PBACScorerNodeModel.createSMNumNeighbors(),
                    "Number of Neighbors", 0.1));

            addDialogComponent(new DialogComponentColumnNameSelection(
                    PBACScorerNodeModel.createClassColModel(),
                    "Class Column (Port 1)", 1, StringValue.class));
        }
    };
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:27,代码来源:PBACScorerNodeFactory.java


示例4: createNodeDialogPane

import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@SuppressWarnings("unchecked")
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            addDialogComponent(new DialogComponentColumnNameSelection(
                    UncertaintyDistributionScorerNodeModel
                            .createExploitationColumnModel(),
                    "Exploitation Score Column", 0, true,
                    DoubleValue.class));

            addDialogComponent(new DialogComponentColumnNameSelection(
                    UncertaintyDistributionScorerNodeModel
                            .createExplorationColumnModel(),
                    "Exploration Score Column", 0, true,
                    DoubleValue.class));

            addDialogComponent(new DialogComponentNumber(
                    UncertaintyDistributionScorerNodeModel
                            .createExploitationFactorModel(),
                    "Exploitation Factor", 0.1));
        }
    };
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:28,代码来源:UncertaintyDistributionScorerNodeFactory.java


示例5: createNodeDialogPane

import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            createNewGroup("Scoring Settings");
            setHorizontalPlacement(true);
            addDialogComponent(new DialogComponentNumber(
                    GraphDensityScorerNodeModel.createNumNeighborsModel(),
                    "Number of Neighbors", 5));

            addDialogComponent(new DialogComponentNumber(
                    GraphDensityScorerNodeModel.createSigmaModel(), "Sigma",
                    1));

            setHorizontalPlacement(false);

            createNewGroup("Column Selection");
            addDialogComponent(new DialogComponentColumnFilter2(
                    GraphDensityScorerNodeModel.createColumnFilterModel(),
                    0));
        }
    };
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:27,代码来源:GraphDensityScorerNodeFactory.java


示例6: createNodeDialogPane

import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            createNewGroup("Scoring Settings");
            addDialogComponent(new DialogComponentNumber(
                    NodePotentialScorerNodeModel.createConstRAlphaModel(),
                    "Radius Alpha", 0.1));

            createNewGroup("Column Selection");
            addDialogComponent(new DialogComponentColumnFilter2(
                    NodePotentialScorerNodeModel.createColumnFilterModel(),
                    0));
        }
    };
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:20,代码来源:NodePotentialScorerNodeFactory.java


示例7: createNodeDialogPane

import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@SuppressWarnings("unchecked")
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            addDialogComponent(new DialogComponentColumnNameSelection(
                    ActiveLearnLoopEndSettingsModels.createRepColumnModel(),
                    "Representative Column", 0, DataValue.class));

            addDialogComponent(new DialogComponentColumnNameSelection(
                    ActiveLearnLoopEndSettingsModels
                            .createClassColumnModel(),
                    "Class  Column", 0, StringValue.class));

            addDialogComponent(new DialogComponentOptionalString(
                    ActiveLearnLoopEndSettingsModels
                            .createDefaultClassModel(),
                    "Automatically label rows with default class:"));

            addDialogComponent(new DialogComponentBoolean(
                    ActiveLearnLoopEndSettingsModels
                            .createAutoTerminateModel(),
                    "Automatically terminate when no unlabeled rows are left"));
        }
    };
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:30,代码来源:ActiveLearnLoopEndNodeFactory.java


示例8: createNodeDialogPane

import org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected NodeDialogPane createNodeDialogPane() {
    return new DefaultNodeSettingsPane() {
        {
            createNewGroup("Column Selection");
            addDialogComponent(new DialogComponentColumnFilter2(
                    AbstractUncertaintyNodeModel.createColumnFilterModel(),
                    0, false));
        }
    };
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:15,代码来源:AbstractUncertaintyNodeFactory.java



注:本文中的org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ModbusTCPTransaction类代码示例发布时间:2022-05-23
下一篇:
Java DOMDocument类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap