<commit_before>KdTree
======

A fast, generic, multi-dimensional Binary Search Tree written in C#

# Install
Install via Nuget Package Manager

```
PM> Install-Package KdTree
```

# Examples 

## Find nearest point in two dimensions
```cs

var tree = new KdTree<float, int>(2, new FloatMath());
var coords = new[] { 0.0f, 0.0f };
tree.Add(new[] { 50.0f, 80.0f }, 100);
tree.Add(new[] { 20.0f, 10.0f }, 200);

var nodes = tree.GetNearestNeighbours(new[] { 30.0f, 20.0f }, 1);

```<commit_msg>cleanup example<commit_after>KdTree
======

A fast, generic, multi-dimensional Binary Search Tree written in C#

# Install
Install via Nuget Package Manager

```
PM> Install-Package KdTree
```

# Examples 

## Find nearest point in two dimensions
```cs

var tree = new KdTree<float, int>(2, new FloatMath());
tree.Add(new[] { 50.0f, 80.0f }, 100);
tree.Add(new[] { 20.0f, 10.0f }, 200);

var nodes = tree.GetNearestNeighbours(new[] { 30.0f, 20.0f }, 1);

```
{'fraction_non_alphanumeric': 0.17386722866174922, 'fraction_numerical': 0.059009483667017915, 'mean_word_length': 4.337078651685394, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6042145', 'n_tokens_mistral': 402, 'n_tokens_neox': 345, 'n_words': 104}