Python code review and modification with respect to production ready.And unit test
Budget: €8 – €30 EUR
The project is very simple and it is related to machine learning model prediction. This project is used for job application and it is already coded only service needed from your side interms of review and unit test wan to you to review every line of code with respect to production ready and professional way of coding style and comments 2.I already did unit test for both files but it has errors. If you are able solve then fine or else write a unit test for both files .
1.Modify the coding w.r.t production style wherever required,use loops and other methods to
simplify the code as much as possible.especially in the data.py.
2.In the normalisation function,
I want :
1.actual distribution of plot
2.log transformation
3.distribution plot after normalisation.
Here I am trying but it shows a combined plot result.
The modeling part looks fine.
3.Plot the pred,actual result using functions in xgboost.py
4.On the unit test :
Please check everything.
One hot encoding test function should be modified because I removed some features there
or else write the unit test for three functions for each data.py and xgboost.py
5.run the black comment as well for coding style.
6.Complete review of coding style and comments in all files
1.Modify the coding w.r.t production style wherever required,use loops and other methods to
simplify the code as much as possible.especially in the data.py.
2.In the normalisation function,
I want :
1.actual distribution of plot
2.log transformation
3.distribution plot after normalisation.
Here I am trying but it shows a combined plot result.
The modeling part looks fine.
3.Plot the pred,actual result using functions in xgboost.py
4.On the unit test :
Please check everything.
One hot encoding test function should be modified because I removed some features there
or else write the unit test for three functions for each data.py and xgboost.py
5.run the black comment as well for coding style.
6.Complete review of coding style and comments in all files