Java NormalDistribution.getUpperBound方法代码示例

本文整理汇总了Java中com.rapidminer.tools.math.distribution.NormalDistribution.getUpperBound方法的典型用法代码示例。如果您正苦于以下问题:Java NormalDistribution.getUpperBound方法的具体用法?Java NormalDistribution.getUpperBound怎么用?Java NormalDistribution.getUpperBound使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.rapidminer.tools.math.distribution.NormalDistribution的用法示例。


Java NormalDistribution.getUpperBound方法代码示例

在下文中一共展示了NormalDistribution.getUpperBound方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getUpperBound

import com.rapidminer.tools.math.distribution.NormalDistribution; //导入方法依赖的package包/类
@Override
public double getUpperBound(int attributeIndex) {
	if (!nominal[attributeIndex]) {
		double upperBound = Double.NEGATIVE_INFINITY;
		for (int i = 0; i < numberOfClasses; i++) {
			double currentUpperBound = NormalDistribution.getUpperBound(
					distributionProperties[attributeIndex][i][INDEX_MEAN],
					distributionProperties[attributeIndex][i][INDEX_STANDARD_DEVIATION]);
			if (!Double.isNaN(currentUpperBound)) {
				upperBound = Math.max(upperBound, currentUpperBound);
			}
		}
		return upperBound;
	} else {
		return Double.NaN;
	}
} 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:18,代码来源:SimpleDistributionModel.java

示例2: getUpperBound

import com.rapidminer.tools.math.distribution.NormalDistribution; //导入方法依赖的package包/类
@Override
public double getUpperBound() {
	double maxMean = Double.NEGATIVE_INFINITY;
	double maxStandardDeviation = DEFAULT_BANDWIDTH;
	for (NormalKernel kernel : kernels) {
		double mean = kernel.getMean();
		double standardDeviation = kernel.getStandardDeviation();
		if (mean > maxMean) {
			maxMean = mean;
		}
		if (standardDeviation > maxStandardDeviation) {
			maxStandardDeviation = standardDeviation;
		}
	}
	return NormalDistribution.getUpperBound(maxMean, maxStandardDeviation);
} 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:17,代码来源:GreedyKernelDistribution.java

示例3: getUpperBound

import com.rapidminer.tools.math.distribution.NormalDistribution; //导入方法依赖的package包/类
@Override
public double getUpperBound(int attributeIndex) {
	if (!nominal[attributeIndex]) {
		double upperBound = Double.NEGATIVE_INFINITY;
		for (int i = 0; i < numberOfClasses; i++) {
			double currentUpperBound = NormalDistribution.getUpperBound(distributionProperties[attributeIndex][i][INDEX_MEAN], distributionProperties[attributeIndex][i][INDEX_STANDARD_DEVIATION]);
			if (!Double.isNaN(currentUpperBound)) {
				upperBound = Math.max(upperBound, currentUpperBound);
			}
		}
		return upperBound;
	} else {
		return Double.NaN;
	}
} 
开发者ID:rapidminer,项目名称:rapidminer-5,代码行数:16,代码来源:SimpleDistributionModel.java

示例4: getUpperBound

import com.rapidminer.tools.math.distribution.NormalDistribution; //导入方法依赖的package包/类
@Override
public double getUpperBound() {
	updateBandwidth();
	return NormalDistribution.getUpperBound(maxValue, bandwidth);
} 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:6,代码来源:FullKernelDistribution.java

示例5: getUpperBound

import com.rapidminer.tools.math.distribution.NormalDistribution; //导入方法依赖的package包/类
@Override
public double getUpperBound() {
    updateBandwidth();
    return NormalDistribution.getUpperBound(maxValue, bandwidth);
} 
开发者ID:rapidminer,项目名称:rapidminer-5,代码行数:6,代码来源:FullKernelDistribution.java

本文标签属性:

示例:示例图

代码:代码大全可复制

java:java游戏

NormalDistribution:NormalDistribution

getUpperBound:getUpperBound

上一篇:Java VaadinRequest.getParameter方法代码示例
下一篇:思考的意思思考的意思是什么(思考是什么意思)

为您推荐