1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-23 09:23:09 +02:00

MDL-78252 libraries: upgrade to version 0.10.0 of PHP-ML.

This commit is contained in:
Paul Holden 2023-06-12 21:22:59 +01:00
parent 1b1a15a308
commit ecff15e2e6
No known key found for this signature in database
GPG Key ID: A81A96D6045F6164
4 changed files with 5 additions and 8 deletions
lib/mlbackend/php

@ -1,6 +1,6 @@
Current version is 0.8.0
Current version is 0.10.0
# Download latest stable version from https://github.com/jorgecasas/php-ml
# Download latest stable version from https://gitlab.com/php-ai/php-ml
# Remove all files but:
* src/
* LICENSE
@ -8,6 +8,3 @@ Current version is 0.8.0
# Copy LICENSE file to /path/to/moodle/lib/mlbackend/php/phpml
# Applied patch https://github.com/jorgecasas/php-ml/pull/5
2023/01/26
----------
- Changing the repository URL to https://github.com/jorgecasas/php-ml

@ -39,7 +39,7 @@ class Bagging implements Classifier
/**
* @var array
*/
protected $classifierOptions = ['depth' => 20];
protected $classifierOptions = ['maxDepth' => 20];
/**
* @var array

@ -14,7 +14,7 @@ final class FeatureUnion implements Transformer
private $pipelines = [];
/**
* @var Pipeline[]
* @param Pipeline[] $pipelines
*/
public function __construct(array $pipelines)
{

@ -4,7 +4,7 @@
<location>phpml</location>
<name>PHP-ML</name>
<description>Machine learning library used to generate data for the Analytics system.</description>
<version>0.9.0</version>
<version>0.10.0</version>
<license>MIT</license>
<repository>https://gitlab.com/php-ai/php-ml</repository>
<copyrights>