Tinkering with multiple machine learning algorithms and methods to predict Google’s New York City Taxi Fare Prediction challenge.
In this article,i will be using different machine learning techniques to predict fare_amount.
Note: RMSE(Sq. root(mean_squared_error)) will be used to measure score for our model(s).
WTF is a polynomial?
polylinear. Adjective. (not comparable) (mathematics) Involving many linear functions.
Alright then,let’s get started!
- Import required libraries.
# Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd
- import the data into a dataframe dataset.Slice the data into X and y.