Open arthursunbao opened 6 years ago
Hi Jason @arthursunbao ,
With regards to number 4.. same story as the last time you pointed it out. I'm not a listed contributor because I didn't actually do the merge.. I did write the code for cross_validation
which is the majority of that file though.
Got it. Thanks
2018-03-15 12:12 GMT-07:00 Daniel Raff notifications@github.com:
Hi Jason @arthursunbao https://github.com/arthursunbao ,
With regards to number 4.. same story as the last time you pointed it out. I'm not a listed contributor because I didn't actually do the merge.. I did write the code for cross_validation which is the majority of that file though.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/UBC-MDS/CrossPy/issues/21#issuecomment-373491075, or mute the thread https://github.com/notifications/unsubscribe-auth/AHyUTXEMgrqCZsiDtXlqm821FN26SoUNks5ter0ygaJpZM4SreSf .
@arthursunbao Hi Jason, thank you very much for the feedback. We have addressed the issues below. Please let us know what you think, so we can update accordingly.
X
, y
are separate because y
is a one-column dataframe and X
typically is a multi-column dataframe. It is easier for people to have y
as the wrong input type because people are used to y
being a numpy vector which is not allowed here. WhereasX
is commonly used in machine learning. So keep X
instead of x
. We have modified styles so they more consistent and clean.generator
function, so yield
is the "return value"Thank you.
2018-03-18 2:10 GMT-07:00 Shun Chi notifications@github.com:
@arthursunbao https://github.com/arthursunbao Hi Jason, thank you very much for the feedback. We have addressed the issues below. Please let us know what you think, so we can update accordingly.
- what is the cache folder used for? It is a cache folder for pytest.
- For test files, suggest to have comments for each function as well We think that these test functions are self-descriptive enough so no comments are required. Let us know if you think differently.
- Suggest to refer to https://google.github.io/styleguide/pyguide.html for Python coding style improvement with how much space with each line and indentation issues We have modified styles so they more consistent and clean.
- For file crosspy.py. I see only two contributors. So where is the other contributor’s work? As pointed out by Dan. Please see commits.
- crosspy.py: line 36 to line 55, that can be combined into one line of code We purposely separate cases for raising errors, so they are clear when returning error messages. Foe example, X, y are separate because y is a one-column dataframe and X typically is a multi-column dataframe. It is easier for people to have y as the wrong input type because people are used to y being a numpy vector which is not allowed here. Whereas
- crosspy.py: line 82, Why X variable is named for capital letter? Suggest to refer to https://google.github.io/styleguide/pyguide.html for Python coding style We have modified styles so they more consistent and clean.
- crosspy.py: line 100 to line 121, same issue with line 5 As discussed in item 5
- crosspy.py: function split_data, where is the return value for your function? It is a generator function, so yield is the "return value"
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/UBC-MDS/CrossPy/issues/21#issuecomment-373983129, or mute the thread https://github.com/notifications/unsubscribe-auth/AHyUTTgr-3xMGekGTO6ka1yxOdpFmpPMks5tfiSdgaJpZM4SreSf .
Hi All,
Nice work for the milestone 2 and here is my comments for your code:
what is the cache folder used for?
For test files, suggest to have comments for each function as well
Suggest to refer to https://google.github.io/styleguide/pyguide.html for Python coding style improvement with how much space with each line and indentation issues
For file crosspy.py. I see only two contributors. So where is the other contributor’s work?
crosspy.py: line 36 to line 55, that can be combined into one line of code
crosspy.py: line 82, Why X variable is named for capital letter? Suggest to refer to https://google.github.io/styleguide/pyguide.html for Python coding style
crosspy.py: line 100 to line 121, same issue with line 5
crosspy.py: function split_data, where is the return value for your function?
Regards Jason