A Machine Learning Tutorial With Examples