Chapter 11: Project: AI Classifier
One of Bosque's main goals was to support easy reasoning for machines. Its IR language is designed in such a way that facilitates in-depth automated code analysis and therefore creates a space for inventing new, next-level development tools or compilers. When we read about this, presumably one of the first thoughts that comes to mind is that Bosque will be used or analyzed by some kind of AI-powered systems. So, if Bosque is designed to be – in some way – close to the AI world, I think it's a good idea to try it in a project that employs machine learning.
In this chapter, we will utilize the features that we have learned so far and build a simple AI project. The idea is to create a basic classifier that predicts an output based on two input values. In this example, we will try to train our model so that it will be able to tell which quadrant of the Cartesian coordinate system a point belongs to just by looking at the X and...