congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Kurtosis.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.commons.math3.stat.descriptive.moment.Kurtosis
constructor

Best Java code snippets using org.apache.commons.math3.stat.descriptive.moment.Kurtosis.<init> (Showing top 17 results out of 315)

origin: org.apache.commons/commons-math3

/**
 * {@inheritDoc}
 */
@Override
public Kurtosis copy() {
  Kurtosis result = new Kurtosis();
  // No try-catch because args are guaranteed non-null
  copy(this, result);
  return result;
}
origin: jtablesaw/tablesaw

  @Override
  public Double summarize(NumericColumn<?> column) {
    double[] data = removeMissing(column);
    return new Kurtosis().evaluate(data, 0, data.length);
  }
};
origin: prestodb/presto

@Override
public Number getExpectedValue(int start, int length)
{
  if (length < 4) {
    return null;
  }
  double[] values = new double[length];
  for (int i = 0; i < length; i++) {
    values[i] = start + i;
  }
  Kurtosis kurtosis = new Kurtosis();
  return kurtosis.evaluate(values);
}
origin: prestodb/presto

@Override
public Number getExpectedValue(int start, int length)
{
  if (length < 4) {
    return null;
  }
  double[] values = new double[length];
  for (int i = 0; i < length; i++) {
    values[i] = start + i;
  }
  Kurtosis kurtosis = new Kurtosis();
  return kurtosis.evaluate(values);
}
origin: joinery/joinery-dataframe

  public Kurtosis() {
    super(new org.apache.commons.math3.stat.descriptive.moment.Kurtosis());
  }
}
origin: cardillo/joinery

  public Kurtosis() {
    super(new org.apache.commons.math3.stat.descriptive.moment.Kurtosis());
  }
}
origin: io.virtdata/virtdata-lib-realer

/**
 * {@inheritDoc}
 */
@Override
public Kurtosis copy() {
  Kurtosis result = new Kurtosis();
  // No try-catch because args are guaranteed non-null
  copy(this, result);
  return result;
}
origin: geogebra/geogebra

/**
 * {@inheritDoc}
 */
@Override
public Kurtosis copy() {
  Kurtosis result = new Kurtosis();
  // No try-catch because args are guaranteed non-null
  copy(this, result);
  return result;
}
origin: tech.tablesaw/tablesaw-core

  @Override
  public Double summarize(NumericColumn<?> column) {
    double[] data = removeMissing(column);
    return new Kurtosis().evaluate(data, 0, data.length);
  }
};
origin: org.datavec/datavec-dataframe

  @Override
  public double reduce(double[] data) {
    return new Kurtosis().evaluate(data, 0, data.length);
  }
};
origin: ca.mcgill/Sholl_Analysis

/**
 * Calculates the kurtosis.
 *
 * @param fittedData
 *            If {@code true}, calculation is performed on polynomial fitted
 *            values, otherwise from sampled data
 *
 * @return kurtosis of intersection counts
 */
public double getKurtosis(final boolean fittedData) {
  if (fittedData)
    validateFit();
  final Kurtosis k = new Kurtosis();
  return k.evaluate(fittedData ? fCounts : inputCounts);
}
origin: prestosql/presto

@Override
public Number getExpectedValue(int start, int length)
{
  if (length < 4) {
    return null;
  }
  double[] values = new double[length];
  for (int i = 0; i < length; i++) {
    values[i] = start + i;
  }
  Kurtosis kurtosis = new Kurtosis();
  return kurtosis.evaluate(values);
}
origin: io.prestosql/presto-main

@Override
public Number getExpectedValue(int start, int length)
{
  if (length < 4) {
    return null;
  }
  double[] values = new double[length];
  for (int i = 0; i < length; i++) {
    values[i] = start + i;
  }
  Kurtosis kurtosis = new Kurtosis();
  return kurtosis.evaluate(values);
}
origin: io.prestosql/presto-main

@Override
public Number getExpectedValue(int start, int length)
{
  if (length < 4) {
    return null;
  }
  double[] values = new double[length];
  for (int i = 0; i < length; i++) {
    values[i] = start + i;
  }
  Kurtosis kurtosis = new Kurtosis();
  return kurtosis.evaluate(values);
}
origin: prestosql/presto

@Override
public Number getExpectedValue(int start, int length)
{
  if (length < 4) {
    return null;
  }
  double[] values = new double[length];
  for (int i = 0; i < length; i++) {
    values[i] = start + i;
  }
  Kurtosis kurtosis = new Kurtosis();
  return kurtosis.evaluate(values);
}
origin: zavtech/morpheus-core

public static void main(String[] args) {
  final double[] values = new java.util.Random().doubles(5000).toArray();
  final Kurtosis stat1 = new Kurtosis();
  final org.apache.commons.math3.stat.descriptive.moment.Kurtosis stat2 = new org.apache.commons.math3.stat.descriptive.moment.Kurtosis();
  for (double value : values) {
    stat1.add(value);
    stat2.increment(value);
  }
  final double result1 = stat1.getValue();
  final double result2 = stat2.getResult();
  if (result1 != result2) {
    throw new RuntimeException("Error: " + result1 + " != " + result2);
  }
}
origin: osmlab/atlas

  return new GeometricMean();
case Kurtosis:
  return new Kurtosis();
case Max:
  return new Max();
org.apache.commons.math3.stat.descriptive.momentKurtosis<init>

Javadoc

Construct a Kurtosis

Popular methods of Kurtosis

  • evaluate
    Returns the kurtosis of the entries in the specified portion of the input array. See Kurtosis for d
  • copy
    Copies source to dest.Neither source nor dest can be null.
  • getDataRef
  • setData
  • test
  • getResult
  • increment
    Note that when #Kurtosis(FourthMoment) is used to create a Variance, this method does nothing. In th
  • clear

Popular in Java

  • Reactive rest calls using spring rest template
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JPanel (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now