Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for LinearTransformation (0.1 seconds)

  1. guava/src/com/google/common/math/PairedStatsAccumulator.java

        }
        double xSumOfSquaresOfDeltas = xStats.sumOfSquaresOfDeltas();
        if (xSumOfSquaresOfDeltas > 0.0) {
          if (yStats.sumOfSquaresOfDeltas() > 0.0) {
            return LinearTransformation.mapping(xStats.mean(), yStats.mean())
                .withSlope(sumOfProductsOfDeltas / xSumOfSquaresOfDeltas);
          } else {
            return LinearTransformation.horizontal(yStats.mean());
          }
        } else {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

          PairedStatsAccumulator accumulatorByAddAllPartitionedPairedStats =
              createPartitionedFilledPairedStatsAccumulator(values.asIterable(), OTHER_MANY_VALUES, 2);
          LinearTransformation fit = accumulator.leastSquaresFit();
          LinearTransformation fitByAddAllPartitionedPairedStats =
              accumulatorByAddAllPartitionedPairedStats.leastSquaresFit();
          if (values.hasAnyNonFinite()) {
            assertLinearTransformationNaN(fit);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

          PairedStatsAccumulator accumulatorByAddAllPartitionedPairedStats =
              createPartitionedFilledPairedStatsAccumulator(values.asIterable(), OTHER_MANY_VALUES, 2);
          LinearTransformation fit = accumulator.leastSquaresFit();
          LinearTransformation fitByAddAllPartitionedPairedStats =
              accumulatorByAddAllPartitionedPairedStats.leastSquaresFit();
          if (values.hasAnyNonFinite()) {
            assertLinearTransformationNaN(fit);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        // x-values:
        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES);
          LinearTransformation fit = stats.leastSquaresFit();
          if (values.hasAnyNonFinite()) {
            assertLinearTransformationNaN(fit);
          } else {
            assertDiagonalLinearTransformation(
                fit,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 14K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/PairedStatsTest.java

        // x-values:
        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES);
          LinearTransformation fit = stats.leastSquaresFit();
          if (values.hasAnyNonFinite()) {
            assertLinearTransformationNaN(fit);
          } else {
            assertDiagonalLinearTransformation(
                fit,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 14K bytes
    - Click Count (0)
Back to Top