Today i am creating new category branch in my blog, where i will post simple and useful AI snippets that is very easy to implement. My main focus would be E-Commerce and mining useful data from WordPress user sessions.
As a start, i will post very simple starter example.
I will use JavaScript based AI engines in general – simply because those are very easy to implement, work in browser, don’t require any software installation. So you will be able create neural network online without installing any tool.
So, let’s get started.
Let’s create small AI bot that finds what astronomical season it is using current datetime.
I will use Brain.JS. You can check the link and see how to get started with that.
In first block we train AI based on seasonal data of 360 days of the year. Then, we can ask AI to find seasonal information of any date.
Discover more from WP DEV - Elvin Haci
Subscribe to get the latest posts sent to your email.