Skip to content

Repository files navigation

Build Status Coverage Status Code Climate Codacy Badge

About

This is a collection of algorithms written in Python 3.4. Many of the algorithms are from the textbook The Algorithm Design Manual and custom implementations of algorithms discussed in Udacticity Course 120: Introduction to Machine Learning.

Test

On Mac, with Python 3.4 installed via HomeBrew: brew install python3:

  • pip3 install -e .
  • ./get_data_sets.sh
  • py.test To see terminal output from tests, run py.test -s. To run a specific test, specify its file: py.test tests/test_fizzbuzz.py.

Tools

Working Automatically

  • Travis CI = Continuous integration that builds and runs the project every time commits are pushed to GitHub.
  • Coveralls = Track how well the code is covered by unit tests. This is updated automatically by Travis CI.
  • Landscape = Static analysis and code quality.
  • Code Climate = Test coverage, style, quality, and security analysis.
  • Codacy = Static analysis and code quality.
  • pep8 = A linter and standards adherence tool. I'm ignoring pep8's requirement that all lines of code are not to be longer than 80 characters.
  • pyflakes = A linter. This is integrated into the IDE as I edit code.
  • pylint = This is integrated into the IDE as I edit code.
  • mccabe = A code complexity static analyzer. This is integrated into the IDE as I edit code.

About

Algorithms written in Python

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages