Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for leastSquaresFit (0.06 sec)

  1. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

      public void testLeastSquaresFit() {
        assertThrows(IllegalStateException.class, () -> emptyAccumulator.leastSquaresFit());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.leastSquaresFit());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.leastSquaresFit());
        assertThrows(
            IllegalStateException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/PairedStatsAccumulator.java

       * @throws IllegalStateException if the dataset is empty or contains a single pair of values, or
       *     both the {@code x} and {@code y} dataset have zero population variance
       */
      public final LinearTransformation leastSquaresFit() {
        checkState(count() > 1);
        if (isNaN(sumOfProductsOfDeltas)) {
          return LinearTransformation.forNaN();
        }
        double xSumOfSquaresOfDeltas = xStats.sumOfSquaresOfDeltas();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/PairedStats.java

       * @throws IllegalStateException if the dataset is empty or contains a single pair of values, or
       *     both the {@code x} and {@code y} dataset must have zero population variance
       */
      public LinearTransformation leastSquaresFit() {
        checkState(count() > 1);
        if (isNaN(sumOfProductsOfDeltas)) {
          return LinearTransformation.forNaN();
        }
        double xSumOfSquaresOfDeltas = xStats.sumOfSquaresOfDeltas();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top