From e5c8cf636b7dd103e5291f7701be39ee731d6a7d Mon Sep 17 00:00:00 2001 From: Andrew DalPino Date: Sat, 16 Apr 2022 22:12:00 -0500 Subject: [PATCH] Update to ML 2.0 --- LICENSE | 2 +- composer.json | 2 +- train.php | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 20a4be0..cb0d0cd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Andrew DalPino +Copyright (c) 2022 Andrew DalPino Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/composer.json b/composer.json index 428db37..be86810 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ ], "require": { "php": ">=7.4", - "rubix/ml": "^1.0" + "rubix/ml": "^2.0" }, "scripts": { "predict": "@php predict.php", diff --git a/train.php b/train.php index 1bb1df8..357a204 100644 --- a/train.php +++ b/train.php @@ -13,8 +13,6 @@ use Rubix\ML\Regressors\RegressionTree; use Rubix\ML\Persisters\Filesystem; -use function Rubix\ML\array_transpose; - ini_set('memory_limit', '-1'); $logger = new Screen();