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

View file

@ -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: # Remove all files but:
* src/ * src/
* LICENSE * LICENSE
@ -8,6 +8,3 @@ Current version is 0.8.0
# Copy LICENSE file to /path/to/moodle/lib/mlbackend/php/phpml # Copy LICENSE file to /path/to/moodle/lib/mlbackend/php/phpml
# Applied patch https://github.com/jorgecasas/php-ml/pull/5 # Applied patch https://github.com/jorgecasas/php-ml/pull/5
2023/01/26
----------
- Changing the repository URL to https://github.com/jorgecasas/php-ml

View file

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

View file

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

View file

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