Download the PHP package torian257x/ai-php-rubix-wrap-laravel without Composer
On this page you can find all versions of the php package torian257x/ai-php-rubix-wrap-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download torian257x/ai-php-rubix-wrap-laravel
More information about torian257x/ai-php-rubix-wrap-laravel
Files in torian257x/ai-php-rubix-wrap-laravel
Package ai-php-rubix-wrap-laravel
Short Description Meant for AI using a wrapped Rubix ML library to make it very approachable
License MIT
Homepage https://github.com/torian257x/rubixai
Informations about the package ai-php-rubix-wrap-laravel
torian257x/ai-php-rubix-wrap-laravel
This package is about Artificial Intelligence, Machine Learning and Pattern Recognition in Laravel.
The video tutorial with examples on how to use the library can be found here:
Video tutorial
how to use AI in Laravel (full playlist)
Example code
Do AI with 2 lines of code:
that's it.
This creates a file in your laravel storage/ai_rubix/ folder that contains the model.
This model then will be used to predict:
Installation
If there are any issues, please have a look at https://docs.rubixml.com/latest/installation.html in case you are trying to do something special. I recommend as well installing tensor https://github.com/Scien-ide/Tensor .
Default Estimator
new KDNeighborsRegressor()
for regression (say estimation of price)
new KDNeighbors()
for classification (say choose dog or cat)
Default Transformers
Customize
You can choose your own estimator if you don't like the default
Just be sure to pass it as argument to RubixAi::train(..., estimator_algorithm:<>)
Same for transformers.
You can customize the model file name as well as what attributes / columns to ignore.
References
This library is using a PHP standalone AI wrapper of Rubix ML
All versions of ai-php-rubix-wrap-laravel with dependencies
calebporzio/sushi Version ^2.2
torian257x/ai-php-rubix-wrap Version ^0.9