类 Ball
- java.lang.Object
-
- org.meteoinfo.math.stats.kde.Ball
-
public class Ball extends java.lang.Object
-
-
构造器概要
构造器 限定符 构造器 说明 protectedBall(double[] ll, double[] ur, Event event, int numPoints, Ball leftBall, Ball rightBall, double minBW, double maxBW)Creating a Ball on split, saving all necessary sufficient statistics for the region.protectedBall(java.util.List<Event> ballData)Creates a ball from the given data - for case where no more split is needed
-
-
-
构造器详细资料
-
Ball
protected Ball(java.util.List<Event> ballData)
Creates a ball from the given data - for case where no more split is needed- 参数:
ballData-
-
Ball
protected Ball(double[] ll, double[] ur, Event event, int numPoints, Ball leftBall, Ball rightBall, double minBW, double maxBW)Creating a Ball on split, saving all necessary sufficient statistics for the region.- 参数:
ll- - Lower left corner of the regionur- - Upper right corner of the regionevent- - The data point on which we splitnumPoints- - #Points in that regionleftBall- - Left childrightBall- - Right ChildminBW- - Minimum BW in that regionmaxBW- - Maximum BW in that region
-
-
方法详细资料
-
minPdf
protected double minPdf(Event e)
Minimum log probability that can be obtained from the region- 参数:
e- - The point to estimate the log probability for- 返回:
- Minimum log probability
-
maxPdf
protected double maxPdf(Event e)
Maximum log probability that can be obtained from the region- 参数:
e- - The point to estimate the log probability for- 返回:
- Maximum log probability
-
main
public static void main(java.lang.String... args) throws java.lang.Exception- 抛出:
java.lang.Exception
-
-