Description of Work: A parser class for each team is created to store data relevant to the team (X and y). It also handles data preprocessing as well, using the method preprocessing. If degree is specified, the preprocessing method would use sklearn.preprocessing.PolynomialFeatures to standardise the data, and the method would use sklearn.preprocessing.StandardScaler if degree is not specified.
Fixes .
Testing Instructions: Instantiate the class and try inserting different sets of input. Check the correctness of the result.
Description of Work: A parser class for each team is created to store data relevant to the team (X and y). It also handles data preprocessing as well, using the method
preprocessing
. Ifdegree
is specified, thepreprocessing
method would usesklearn.preprocessing.PolynomialFeatures
to standardise the data, and the method would usesklearn.preprocessing.StandardScaler
ifdegree
is not specified.Fixes .
Testing Instructions: Instantiate the class and try inserting different sets of input. Check the correctness of the result.