Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for datasets (0.03 sec)

  1. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

      private final double[][] datasets = new double[0x100][];
    
      @BeforeExperiment
      void setUp() {
        Random rng = new Random();
        for (int i = 0; i < 0x100; i++) {
          datasets[i] = new double[datasetSize];
          for (int j = 0; j < datasetSize; j++) {
            datasets[i][j] = rng.nextDouble();
          }
        }
      }
    
      private double[] dataset(int i) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThat(manyValuesAccumulatorByAddAllPartitionedPairedStats.populationCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / MANY_VALUES_COUNT);
        // For datasets of many double values, we test many combinations of finite and non-finite
        // x-values:
        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStatsAccumulator accumulator =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        long[] dataset = Longs.toArray(SIXTEEN_SQUARES_LONGS);
        assertThat(Quantiles.scale(10).index(1).compute(dataset))
            .isWithin(ALLOWED_ERROR)
            .of(SIXTEEN_SQUARES_DECILE_1);
        assertThat(dataset).asList().isEqualTo(SIXTEEN_SQUARES_LONGS);
      }
    
      public void testScale_index_compute_intVarargs() {
        int[] dataset = Ints.toArray(SIXTEEN_SQUARES_INTEGERS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/QuantilesTest.java

        long[] dataset = Longs.toArray(SIXTEEN_SQUARES_LONGS);
        assertThat(Quantiles.scale(10).index(1).compute(dataset))
            .isWithin(ALLOWED_ERROR)
            .of(SIXTEEN_SQUARES_DECILE_1);
        assertThat(dataset).asList().isEqualTo(SIXTEEN_SQUARES_LONGS);
      }
    
      public void testScale_index_compute_intVarargs() {
        int[] dataset = Ints.toArray(SIXTEEN_SQUARES_INTEGERS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_MEAN);
        assertThat(manyValuesAccumulatorByAddAllStatsAccumulator.mean())
            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_MEAN);
        // For datasets of many double values created from an iterable, we test many combinations of
        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LinearTransformation.java

      public static LinearTransformation horizontal(double y) {
        checkArgument(isFinite(y));
        double slope = 0.0;
        return new RegularLinearTransformation(slope, y);
      }
    
      /**
       * Builds an instance for datasets which contains {@link Double#NaN}. The {@link #isHorizontal}
       * and {@link #isVertical} methods return {@code false} and the {@link #slope}, and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

        }
    
        /**
         * Exports all crawling information parameters to CSV format.
         * The CSV output includes: SessionId, SessionCreatedTime, Key, Value, CreatedTime.
         * Uses cursor-based selection to handle large datasets efficiently.
         *
         * @param writer the Writer to output CSV data to
         */
        public void exportCsv(final Writer writer) {
            final CsvConfig cfg = new CsvConfig(',', '"', '"');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

              .immutableCopy();
    
      private double[] dataset;
    
      @Override
      protected void setUp() {
        dataset = new double[DATASET_SIZE];
        for (int i = 0; i < DATASET_SIZE; i++) {
          dataset[i] = rng.nextDouble();
        }
      }
    
      public void testSingleQuantile_median() {
        double referenceValue = REFERENCE_ALGORITHM.singleQuantile(1, 2, dataset.clone());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

         *
         * @param dataset the dataset to do the calculation on, which must be non-empty, and which will
         *     be arbitrarily reordered by this method call
         * @return the quantile value
         */
        public double computeInPlace(double... dataset) {
          checkArgument(dataset.length > 0, "Cannot calculate quantiles of an empty dataset");
          if (containsNaN(dataset)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

        }
    
        public void test_setEcsEventDataset() {
            activityHelper.setEcsEventDataset("test-dataset");
            activityHelper.useEcsFormat = true;
            activityHelper.login(OptionalThing.empty());
            assertTrue(localLogMsg.get().contains("\"event.dataset\":\"test-dataset\""));
        }
    
        public void test_setEnvMap() {
            Map<String, String> testEnv = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top