__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace Phpml\Helper;
trait Trainable
{
/**
* @var array
*/
private $samples = [];
/**
* @var array
*/
private $targets = [];
public function train(array $samples, array $targets): void
{
$this->samples = array_merge($this->samples, $samples);
$this->targets = array_merge($this->targets, $targets);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Optimizer | Folder | 0777 |
|
|
| OneVsRest.php | File | 4.91 KB | 0777 |
|
| Predictable.php | File | 550 B | 0777 |
|
| Trainable.php | File | 406 B | 0777 |
|