JavaScript – Abstract Factory

GitHub Code
 The Abstract Factory pattern is a more complex variation of the Factory pattern (previous post – https://erichelin.wordpress.com/2017/04/27/javascript-factory-pattern).   Instead of just having one factory handle one object, this pattern makes use of one factory that has multiple output streams.  Put another way, there is still an abstract factory that makes objects based on… Continue reading JavaScript – Abstract Factory

JavaScript – Kmeans is for unsupervised machine learning and I need supervised machine learning…doh!

In my last AI blog post, I started to explore KMeans clustering as an algorithm for machine learning. As it seems to work (see reference #2), I am still wondering how to structure my data. This seems to be the ‘key’ to any effective machine learning algorithm. In that post, I replicated (mostly) what reference… Continue reading JavaScript – Kmeans is for unsupervised machine learning and I need supervised machine learning…doh!