Exportable machine learning backend interface.
More...
|
| export (string $uniqueid, string $modeldir) |
| Exports the machine learning model. More...
|
|
| import (string $uniqueid, string $modeldir, string $importdir) |
| Imports the provided machine learning model. More...
|
|
Exportable machine learning backend interface.
- Copyright
- 2019 David Monllao http://www.davidmonllao.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ export()
core_analytics\packable::export |
( |
string |
$uniqueid, |
|
|
string |
$modeldir |
|
) |
| |
Exports the machine learning model.
- Exceptions
-
- Parameters
-
string | $uniqueid | The model unique id |
string | $modeldir | The directory that contains the trained model. |
- Return values
-
string | The path to the directory that contains the exported model. |
Implemented in mlbackend_python\processor, and mlbackend_php\processor.
◆ import()
core_analytics\packable::import |
( |
string |
$uniqueid, |
|
|
string |
$modeldir, |
|
|
string |
$importdir |
|
) |
| |
Imports the provided machine learning model.
- Parameters
-
string | $uniqueid | The model unique id |
string | $modeldir | The directory that will contain the trained model. |
string | $importdir | The directory that contains the files to import. |
- Return values
-
Implemented in mlbackend_python\processor, and mlbackend_php\processor.
The documentation for this interface was generated from the following file: