Skip to content

Commit

Permalink
Merge pull request #207 from abstractqqq/typos
Browse files Browse the repository at this point in the history
  • Loading branch information
abstractqqq committed Jul 22, 2024
2 parents 7fee4f5 + 374feef commit cad1619
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# The Project

PDS is a modern take on data science and traditional tabular machine learning. It is dataframe-centric in design, and provides parallelism for free via **Polars**. It offers SQL-like syntax that works both in normal and aggregation contexts, and provides these conveniences to the end user without any additional dependency. It includes the most common functions from NumPy, SciPy, edit distances, KNN-related queries, EDA tools. Yes, it only depends on Polars (unless you want to use the plotting functionalities). Most of the code is rewritten in **Rust** and is on par or even faster than existing functions in SciPy and Scikit-learn. The following are some examples:
PDS is a modern take on data science and traditional tabular machine learning. It is dataframe-centric in design, and provides parallelism for free via **Polars**. It offers Polars syntax that works both in normal and aggregation contexts, and provides these conveniences to the end user without any additional dependency. It includes the most common functions from NumPy, SciPy, edit distances, KNN-related queries, EDA tools. Yes, it only depends on Polars (unless you want to use the plotting functionalities). Most of the code is rewritten in **Rust** and is on par or even faster than existing functions in SciPy and Scikit-learn. The following are some examples:

Parallel evaluations of classification metrics on segments

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Read the [Docs](https://polars-ds-extension.readthedocs.io/en/latest/).

# The Project

PDS is a modern take on data science and traditional tabular machine learning. It is dataframe-centric in design, and provides parallelism for free via **Polars Dataframe**. It offers SQL-like syntax that works both in normal and aggregation contexts, and provides these conveniences to the end user without any additional dependency. It includes the most common functions from NumPy, SciPy, edit distances, KNN-related queries, EDA tools. Yes, it only depends on Polars (unless you want to use the plotting functionalities). Most of the code is rewritten in **Rust** and is on par or even faster than existing functions in SciPy and Scikit-learn. The following are some examples:
PDS is a modern take on data science and traditional tabular machine learning. It is dataframe-centric in design, and provides parallelism for free via **Polars**. It offers Polars syntax that works both in normal and aggregation contexts, and provides these conveniences to the end user without any additional dependency. It includes the most common functions from NumPy, SciPy, edit distances, KNN-related queries, EDA tools. Yes, it only depends on Polars (unless you want to use the plotting functionalities). Most of the code is rewritten in **Rust** and is on par or even faster than existing functions in SciPy and Scikit-learn. The following are some examples:

Parallel evaluations of classification metrics on segments

Expand Down
7 changes: 1 addition & 6 deletions python/polars_ds/num.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ def query_knn_ptwise(
*features: StrOrExpr,
index: StrOrExpr,
k: int = 5,
leaf_size: int = 32,
dist: Distance = "l2",
parallel: bool = False,
return_dist: bool = False,
Expand Down Expand Up @@ -322,7 +321,7 @@ def query_knn_ptwise(
cols.extend(str_to_expr(x) for x in features)
kwargs = {
"k": k,
"leaf_size": leaf_size,
"leaf_size": 32,
"metric": metric,
"parallel": parallel,
"skip_eval": skip_eval,
Expand Down Expand Up @@ -633,8 +632,6 @@ def query_approx_entropy(
"leaf_size": 32,
"metric": "inf",
"parallel": parallel,
"skip_eval": False,
"skip_data": False,
},
returns_scalar=True,
pass_name_to_apply=True,
Expand Down Expand Up @@ -685,8 +682,6 @@ def query_sample_entropy(
"leaf_size": 32,
"metric": "inf",
"parallel": parallel,
"skip_eval": False,
"skip_data": False,
},
returns_scalar=True,
pass_name_to_apply=True,
Expand Down

0 comments on commit cad1619

Please sign in to comment.