created end to end multinomial regression script