本文整理汇总了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;未经允许,请勿转载。 |
请发表评论