-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from RubixML/0.3.0-beta
0.3.0 beta
- Loading branch information
Showing
38 changed files
with
1,166 additions
and
760 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: [RubixML, andrewdalpino] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<span style="float:right;"><a href="https://github.com/RubixML/Extras/blob/master/src/Graph/Trees/VPTree.php">[source]</a></span> | ||
|
||
# VP Tree | ||
A Vantage Point Tree is a binary spatial tree that divides samples by their distance from the center of a cluster called the *vantage point*. Samples that are closer to the vantage point will be put into one branch of the tree while samples that are farther away will be put into the other branch. | ||
|
||
**Interfaces:** Binary Tree, Spatial | ||
|
||
**Data Type Compatibility:** Depends on distance kernel | ||
|
||
## Parameters | ||
| # | Param | Default | Type | Description | | ||
|---|---|---|---|---| | ||
| 1 | max leaf size | 30 | int | The maximum number of samples that each leaf node can contain. | | ||
| 2 | kernel | Euclidean | Distance | The distance kernel used to compute the distance between sample points. | | ||
|
||
## Example | ||
```php | ||
use Rubix\ML\Graph\Trees\VPTree; | ||
use Rubix\ML\Kernels\Distance\Euclidean; | ||
|
||
$tree = new VPTree(30, new Euclidean()); | ||
``` | ||
|
||
## Additional Methods | ||
This tree does not have any additional methods. | ||
|
||
### References | ||
>- P. N. Yianilos. (1993). Data Structures and Algorithms for Nearest Neighbor Search in General Metric Spaces. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<span style="float:right;"><a href="https://github.com/RubixML/Extras/blob/master/src/Kernels/Distance/Levenshtein.php">[source]</a></span> | ||
|
||
# Levenshtein | ||
Levenshtein distance is defined as the number of single-character edits (such as insert, delete, or replace) needed to change one word to another. | ||
|
||
**Data Type Compatibility:** Categorical | ||
|
||
## Parameters | ||
This kernel does not have any parameters. | ||
|
||
## Example | ||
```php | ||
use Rubix\ML\Kernels\Distance\Levenshtein; | ||
|
||
$kernel = new Levenshtein(); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<span style="float:right;"><a href="https://github.com/RubixML/Extras/blob/master/src/Persisters/Serializers/Bzip2.php">[source]</a></span> | ||
|
||
# Bzip2 | ||
A compression format based on the Burrows–Wheeler transform. Bzip2 is slightly smaller than Gzip format but is slower and requires more memory. | ||
|
||
> **Note:** This serializer requires the Bzip2 PHP extension. | ||
## Parameters | ||
| # | Param | Default | Type | Description | | ||
|---|---|---|---|---| | ||
| 1 | block size | 4 | int | The size of each block between 1 and 9 where 9 gives the best compression. | | ||
| 2 | work factor | 0 | int | Controls how the compression phase behaves when the input is highly repetitive. | | ||
| 3 | serializer | Native | Serializer | The base serializer | | ||
|
||
## Example | ||
```php | ||
use Rubix\ML\Persisters\Serializers\Bzip2; | ||
use Rubix\ML\Persisters\Serializers\Native; | ||
|
||
$serializer = new Bzip2(4, 125, new Native()); | ||
``` | ||
|
||
### References | ||
>- J. Tsai. (2006). Bzip2: Format Specification. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.