Hands-On Machine Learning With PHP, Part One

By Liam Wiltshire

When you’re dealing with data, sooner or later, someone is likely to ask about machine learning. Start researching machine learning, and you’d be forgiven for thinking you need to use Python or R, TensorFlow, or PyTorch. This doesn’t have to be the case! With PHP and some basic knowledge, we can start to experiment and learn from our data without needing to learn new languages or tools. This article looks at some common machine learning problems such as classification and clustering and, using a language we know and an excellent Composer package, php-ai/php-ml, to get you up and running with your data experiments.

This article was originally published in the April 2020 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Related Articles

Leave a comment

Use the form below to leave a comment: