/SentimentAnalysis_RubixML

SentimentAnalysis using PHP RubixML library!

Primary LanguagePHP

SentimentAnalysis_RubixML

SentimentAnalysis using PHP RubixML library!

Install

  • Use PHP composer to install dependencies!
  • Extract train and test 7z files using 7zip or any decompression tool
  • Run train.php to train the model and generate a file
  • (optional) Use PHP Composer Zlib extension to fasten the whole process. Then the model generated will only work with zlib!
  • Use predict.php to predict positive / negative statements!

Credits to rubix_ml (this program was taken from rubix_ml samples)