Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for leastSquaresFit (0.21 sec)

  1. 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,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  2. 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,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K 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(),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  4. android/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(),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. 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();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  6. 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();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
Back to top