code wrote in some machine learning projects