Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for leastSquaresFit (0.12 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThrows(IllegalStateException.class, () -> ONE_VALUE_PAIRED_STATS.leastSquaresFit());
        assertThrows(
            IllegalStateException.class,
            () -> createSingleStats(Double.POSITIVE_INFINITY, 1.23).leastSquaresFit());
        assertDiagonalLinearTransformation(
            TWO_VALUES_PAIRED_STATS.leastSquaresFit(),
            TWO_VALUES_PAIRED_STATS.xStats().mean(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top