You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2023/02/23 00:26:22 UTC

[datasketches-java] branch fixes_from_characterization created (now 4e0b4b47)

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a change to branch fixes_from_characterization
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git


      at 4e0b4b47 Spelling errors, and one public qualifier

This branch includes the following new commits:

     new 4e0b4b47 Spelling errors, and one public qualifier

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-java] 01/01: Spelling errors, and one public qualifier

Posted by le...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch fixes_from_characterization
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git

commit 4e0b4b4766fa7b7027f2b8f5b73bd0b159aaf2fc
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Wed Feb 22 16:26:00 2023 -0800

    Spelling errors, and one public qualifier
---
 .../org/apache/datasketches/cpc/CompressionCharacterization.java    | 4 ++--
 .../org/apache/datasketches/quantiles/DoublesSketchSortedView.java  | 6 +++---
 .../apache/datasketches/quantilescommon/QuantilesDoublesAPI.java    | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/java/org/apache/datasketches/cpc/CompressionCharacterization.java b/src/main/java/org/apache/datasketches/cpc/CompressionCharacterization.java
index 08d3d734..852a3ba4 100644
--- a/src/main/java/org/apache/datasketches/cpc/CompressionCharacterization.java
+++ b/src/main/java/org/apache/datasketches/cpc/CompressionCharacterization.java
@@ -66,7 +66,7 @@ public class CompressionCharacterization {
   private CompressedState[] compressedStates2;
   private CpcSketch[] unCompressedSketches;
 
-  CompressionCharacterization(
+  public CompressionCharacterization(
       final int lgMinK,
       final int lgMaxK,
       final int lgMinT,
@@ -88,7 +88,7 @@ public class CompressionCharacterization {
     assembleFormats();
   }
 
-  void start() {
+  public void start() {
     printf(hfmt, (Object[]) hStrArr); //print header
     doRangeOfLgK();
   }
diff --git a/src/main/java/org/apache/datasketches/quantiles/DoublesSketchSortedView.java b/src/main/java/org/apache/datasketches/quantiles/DoublesSketchSortedView.java
index 543b4fe7..b0226816 100644
--- a/src/main/java/org/apache/datasketches/quantiles/DoublesSketchSortedView.java
+++ b/src/main/java/org/apache/datasketches/quantiles/DoublesSketchSortedView.java
@@ -39,7 +39,7 @@ import org.apache.datasketches.quantilescommon.QuantilesUtil;
  */
 public final class DoublesSketchSortedView implements DoublesSortedView {
   private final double[] quantiles;
-  private final long[] cumWeights; //comes in as individual weights, converted to cumulative natural weights at the end
+  private final long[] cumWeights; //comes in as individual weights, converted to cumulative natural weights
   private final long totalN;
 
   /**
@@ -266,13 +266,13 @@ public final class DoublesSketchSortedView implements DoublesSortedView {
    *  Performs two merges in tandem. One of them provides the sort keys
    *  while the other one passively undergoes the same data motion.
    * @param qSrc quantiles source
-   * @param cwSrc cum wts source
+   * @param cwSrc cumulative weights source
    * @param arrStart1 Array 1 start offset
    * @param arrLen1 Array 1 length
    * @param arrStart2 Array 2 start offset
    * @param arrLen2 Array 2 length
    * @param qDst quantiles destination
-   * @param cwDst cum wts destination
+   * @param cwDst cumulative weights destination
    * @param arrStart3 Array 3 start offset
    */
   private static void tandemMerge(final double[] qSrc, final long[] cwSrc,
diff --git a/src/main/java/org/apache/datasketches/quantilescommon/QuantilesDoublesAPI.java b/src/main/java/org/apache/datasketches/quantilescommon/QuantilesDoublesAPI.java
index 8613a419..c256f853 100644
--- a/src/main/java/org/apache/datasketches/quantilescommon/QuantilesDoublesAPI.java
+++ b/src/main/java/org/apache/datasketches/quantilescommon/QuantilesDoublesAPI.java
@@ -172,7 +172,7 @@ public interface QuantilesDoublesAPI extends QuantilesAPI {
    * Gets the lower bound of the quantile confidence interval in which the quantile of the
    * given rank exists.
    *
-   * <p>Although it is possible to estimate the probablity that the true quantile
+   * <p>Although it is possible to estimate the probability that the true quantile
    * exists within the quantile confidence interval specified by the upper and lower quantile bounds,
    * it is not possible to guarantee the width of the quantile confidence interval
    * as an additive or multiplicative percent of the true quantile.</p>
@@ -188,7 +188,7 @@ public interface QuantilesDoublesAPI extends QuantilesAPI {
    * Gets the upper bound of the quantile confidence interval in which the true quantile of the
    * given rank exists.
    *
-   * <p>Although it is possible to estimate the probablity that the true quantile
+   * <p>Although it is possible to estimate the probability that the true quantile
    * exists within the quantile confidence interval specified by the upper and lower quantile bounds,
    * it is not possible to guarantee the width of the quantile interval
    * as an additive or multiplicative percent of the true quantile.</p>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org