Skip to content

php-ai/php-ml-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2432a85 · Mar 26, 2019

History

27 Commits
Nov 8, 2018
Mar 21, 2019
Mar 20, 2019
Mar 20, 2019
Mar 21, 2019
Mar 10, 2019
Mar 21, 2019
Mar 20, 2019
Mar 21, 2019
Apr 4, 2017
Jul 31, 2018
Mar 26, 2019
Mar 21, 2019
Mar 21, 2019

Repository files navigation

PHP-ML - Machine Learning library for PHP - Examples

Examples of the use of PHP-ML library

Projects

Interesting demo/examples projects using php-ml:

Articles

Many of samples from this repository was used in my articles

Examples

To test example, select one of the following and run it from main folder (each category has its own folder).

php classification/languageDetection.php

Classification:

  • languageDetection.php - classifier build for language detection
  • minst.php - recognize handwritten digits from MNIST dataset (to download dataset use bin/download-mnist.sh)
  • spamFilter.php - simple spam filter with example dataset
  • bbc.php - example of text classification

Regression:

  • wineQuality.php - regression model to assess the quality of the wine

License

PHP-ML is released under the MIT Licence. See the bundled LICENSE file for details.

Author

Arkadiusz Kondas (@ArkadiuszKondas)