{"id":28383,"date":"2018-02-15T09:19:30","date_gmt":"2018-02-15T07:19:30","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=28383"},"modified":"2018-02-15T09:19:30","modified_gmt":"2018-02-15T07:19:30","slug":"how-to-analyze-tweet-sentiments-with-php-machine-learning","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2018\/02\/15\/how-to-analyze-tweet-sentiments-with-php-machine-learning\/","title":{"rendered":"How to Analyze Tweet Sentiments with PHP Machine Learning"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Machine learning is rarely mentioned in the same sentence (or article, for that matter) with PHP, so each time this happens, I&#8217;m all ears.\u00a0 Here&#8217;s one that I came across recently &#8211;\u00a0<a href=\"https:\/\/www.sitepoint.com\/how-to-analyze-tweet-sentiments-with-php-machine-learning\/\">How to Analyze Tweet Sentiments with PHP Machine Learning<\/a>.<\/p>\n<p>Unlike many other &#8220;hello world&#8221; kind of examples, this article examines a real and quite common problem, which can be easily adopted to other similar problems &#8211; SPAM filtering, marketing segmentation, fraud detection, etc.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Machine learning is rarely mentioned in the same sentence (or article, for that matter) with PHP, so each time this happens, I&#8217;m all ears.\u00a0 Here&#8217;s one that I came across recently &#8211;\u00a0How to Analyze Tweet Sentiments with PHP Machine Learning. Unlike many other &#8220;hello world&#8221; kind of examples, this article examines a real and quite &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2018\/02\/15\/how-to-analyze-tweet-sentiments-with-php-machine-learning\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to Analyze Tweet Sentiments with PHP Machine Learning<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"How to Analyze Tweet Sentiments with PHP Machine Learning #WebDev #PHP #AI #MachineLearning #social #Twitter","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,62,1334],"tags":[1462,3493,38,1152,1111,1330],"keyring_services":[],"class_list":["post-28383","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-technology","category-web-work","tag-artificial-intelligence","tag-machine-learning","tag-php","tag-social-networks","tag-twitter","tag-web-development"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":28179,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/11\/06\/php-ml-machine-learning-library-for-php\/","url_meta":{"origin":28383,"position":0},"title":"PHP-ML &#8211; Machine Learning library for PHP","author":"Leonid Mamchenkov","date":"November 6, 2017","format":false,"excerpt":"PHP-ML is a machine learning library for PHP.\u00a0 Given, PHP is probably not the best choice when it comes to machine learning, but sometimes one is limited in technology stack choices, so it's good have options like this one. Fresh approach to Machine Learning in PHP. Algorithms, Cross Validation, Neural\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28588,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/05\/19\/pvm-php-process-virtual-machine-for-building-and-executing-workflows\/","url_meta":{"origin":28383,"position":1},"title":"pvm &#8211; PHP Process virtual machine for building and executing workflows","author":"Leonid Mamchenkov","date":"May 19, 2018","format":false,"excerpt":"At some point last year I wrote the blog post titled \"Getting started with workflows in PHP\".\u00a0 I received quite a bit of feedback about it, but, unfortunately, the priorities at work shifted and I haven't done much more with workflows since than. The world, however, hasn't stopped.\u00a0 The tools\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/05\/pizza-process-500x211.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22151,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/07\/08\/testframeworkinatweet-php-a-php-unit-testing-framework-in-a-tweet\/","url_meta":{"origin":28383,"position":2},"title":"TestFrameworkInATweet.php &#8211; a PHP unit testing framework in a tweet","author":"Leonid Mamchenkov","date":"July 8, 2014","format":"link","excerpt":"TestFrameworkInATweet.php - a PHP unit testing framework in a tweet. \u00a0This is brilliant in its own way. \u00a0It reminds me of the Perl Golf Apocalypse.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":42711,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/06\/12\/top-20-apis-you-should-know-in-ai-and-machine-learning\/","url_meta":{"origin":28383,"position":3},"title":"Top 20 APIs You Should Know In AI and Machine Learning","author":"Leonid Mamchenkov","date":"June 12, 2019","format":false,"excerpt":"If you are playing around with the artificial intelligence and machine learning, have a look at this list of \"Top 20 APIs You Should Know In AI and Machine Learning\". These are nicely organized by subject as well: Machine Learning and Prediction APIs BigMLPredictionIOAnacondaBlue Yonder PlatformMLJARNuPICRecombeeindico APIs for Face Detection\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/06\/face-detection.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/06\/face-detection.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/06\/face-detection.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/06\/face-detection.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/06\/face-detection.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/06\/face-detection.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":28623,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/06\/11\/top-100-php-functions\/","url_meta":{"origin":28383,"position":4},"title":"Top 100 PHP functions","author":"Leonid Mamchenkov","date":"June 11, 2018","format":false,"excerpt":"\"Top 100 PHP functions\" is a list of the top 100 most frequently used PHP functions, from the analysis of the 1,900 open source projects.\u00a0 \u00a0If you are still learning PHP, this list is a good overview of what you'll see the most in real life projects.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":36247,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/02\/26\/refactoring-guru-design-patterns-php\/","url_meta":{"origin":28383,"position":5},"title":"Refactoring.Guru : Design Patterns + PHP","author":"Leonid Mamchenkov","date":"February 26, 2019","format":false,"excerpt":"Refactoring.Guru is a great resource for learning about refactoring best practices and design patterns. A lot of the website's content is also available as Dive into Design Patterns ebook. Today I came across this GitHub repository, which makes this resource even better specifically for PHP developers. Yup, that's right, the\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/refactoring.guru_.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/refactoring.guru_.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/refactoring.guru_.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/refactoring.guru_.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/28383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=28383"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/28383\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=28383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=28383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=28383"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=28383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}