This project explores how we can use supervised learning to solve a regression problem; predict the sale price of a house given a particular age. The algorithm chosen here is gradient descent with univariant linear regression using the mean squared error as the cost function.
Gradient Descent is a machine learning algorithm which is used to find the local minima (or global minima in convex functions) of a given cost function.
Machine learning is the science of getting computers to learn without being explicitly programmed. - Arthur Samuel (1959)
Supervised learning is when you give the computer all the input, output pairs for the training data.
Regression problem - Predicting continuous values
To install dependencies we use yarn:
yarn install
To start the server:
yarn workspace server dev
To start the app:
yarn workspace app dev
First off, What is lerna
? lerna
is a tool that allows you to maintain multiple npm
packages within one repository.
There's a couple of benefits to this kind of approach, the paradigm is called a monorepo
, and more can be read about it from the source of babel
, and react
.
Here's the gist:
Vite is a new and upcoming frontend build tool which is blazingly fast and comes with rich out of the box features such as a ready to go static file server. For more information about vite visit: https://vitejs.dev/.