seprated declare_global and svm train to different files, added poly_order and portion_of_data to take and added it to the filename