ragavvenkatesan / yann

This toolbox is support material for the book on CNN (http://www.convolution.network).
http://www.yann.network
Other
41 stars 27 forks source link

Modify test_activations, remove whitespace, and begin Python3 support #12

Closed kyrivanderpoel closed 7 years ago

kyrivanderpoel commented 7 years ago

Modify test_activations.py to utilize unittest instead of pytest. Add hardcoded, expected results from activation functions that are precomputed to remove dependancy on class-method activation functions. Clean up whitespace from multiple files. Begin adding parenthesis around print statements for Python3 support.

codecov-io commented 7 years ago

Codecov Report

Merging #12 into master will decrease coverage by -1.98%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   72.83%   70.86%   -1.98%     
==========================================
  Files           6        6              
  Lines         162      151      -11     
==========================================
- Hits          118      107      -11     
  Misses         44       44
Impacted Files Coverage Δ
tests/test_activations.py 100% <100%> (ø) :white_check_mark:
yann/core/activations.py 41.42% <12.5%> (ø) :white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 688fae1...ae007af. Read the comment docs.

kyrivanderpoel commented 7 years ago

Hey there! My name is Kyri Vanderpoel and I've been paid programming with Jordan Rushing, who you've already spoken with. I'm a software engineer in Texas with experience with test-driven development. I've been looking to get involved in machine learning and open source software, and YANN seems like an excellent way to put my testing skills to use while pursuing those goals.

I'll start by working with Jordan to achieve full test coverage. I'd also like to get the project up to date for use with Python3, as well as get the style in line with PEP8. While that is happening, I should develop an understanding of how to use YANN and a high level understanding of machine learning.

This commit removed unnecessary white space, fixed some style issues, and converted the activations tests to utilize the style of testing that I'm familiar with.

Thank you for an opportunity to work on this project. If you create a testing branch, we could commit to that instead of the master branch.

-Kyri

On Feb 8, 2017, at 8:28 PM, Ragav Venkatesan notifications@github.com wrote:

@ragavvenkatesan commented on this pull request.

Hi, Welcome to Yann. Thanks for contributing. Could you describe who you are, where you are from and also what changes you made in this PR specifically and what are potential contributions that you are planning to make? Thanks - R

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ragavvenkatesan commented 7 years ago

Kyri,

Wow, ok. Yann has so far been a private pet project of mine and a few of my colleagues. I use it in my deep learning course, so I haven't bothered really to write unittests. I do think that from its humble beginnings, Yann has grown into a proper toolbox now and needs collaborators to add to the module. I am glad you and @JordanRushing are adding to the unittests. Thanks,

I will accept this PR in the master branch as I don't see this affecting the toolbox's functionality much. But I will create a test branch for you to merge onto from now on.

Thanks, R.

ragavvenkatesan commented 7 years ago

@chummm @JordanRushing ,

I have created a test branch to which you can PR. I will merge the test branch to master, whenever I can.

Thanks, R

JordanRushing commented 7 years ago

Ragav,

Thank you for the branch. YANN is a great project and we are very excited to contribute more.

Jordan

On Feb 9, 2017, at 11:45, Ragav Venkatesan notifications@github.com wrote:

@chummm @JordanRushing ,

I have created a test branch to which you can PR. I will merge the test branch to master, whenever I can.

Thanks, R

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.