mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2025-01-09 16:36:34 +00:00
remove osx from travis - dont work with php 7.0
This commit is contained in:
parent
62fc7b9efd
commit
be7693ff2e
@ -1,6 +1,5 @@
|
|||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
|
||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- 7.0
|
- 7.0
|
||||||
|
@ -67,7 +67,7 @@ class KNearestNeighbors implements Classifier
|
|||||||
*
|
*
|
||||||
* @throws \Phpml\Exception\InvalidArgumentException
|
* @throws \Phpml\Exception\InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
private function kNeighborsDistances(array $sample): array
|
private function kNeighborsDistances(array $sample)
|
||||||
{
|
{
|
||||||
$distances = [];
|
$distances = [];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user