public class ProbabilityFilter extends Object
Constructor and Description |
---|
ProbabilityFilter() |
Modifier and Type | Method and Description |
---|---|
static ArrayList<ArrayList<Double>> |
getFilteredInput(ArrayList<Double> x,
ArrayList<Double> y,
double p)
Returns a list containing first the filtered xs and then the filtered ys.
|
public static ArrayList<ArrayList<Double>> getFilteredInput(ArrayList<Double> x, ArrayList<Double> y, double p)
x
- x seriesy
- y seriesp
- the (non cumulative) probability to use for filtering, e.g. 0.95
for 95%Copyright © 2016. All rights reserved.