Thoughtful Machine Learning: A Test-Driven Approach

Thoughtful Machine Learning: A Test-Driven Approach

Learn the best way to practice test-driven improvement (TDD) to machine-learning algorithms—and capture error which could sink your research. during this useful consultant, writer Matthew Kirk takes you thru the foundations of TDD and laptop studying, and indicates you the way to use TDD to a number of machine-learning algorithms, together with Naive Bayesian classifiers and Neural Networks.

Machine-learning algorithms frequently have assessments baked in, yet they can’t account for human mistakes in coding. instead of blindly depend on machine-learning effects as many researchers have, you could mitigate the danger of mistakes with TDD and write fresh, sturdy machine-learning code. If you’re accustomed to Ruby 2.1, you’re able to start.

  • Apply TDD to write down and run checks prior to you begin coding
  • Learn the easiest makes use of and tradeoffs of 8 computer studying algorithms
  • Use real-world examples to check each one set of rules via attractive, hands-on exercises
  • Understand the similarities among TDD and the clinical approach for validating solutions
  • Be conscious of the dangers of laptop studying, resembling underfitting and overfitting data
  • Explore innovations for making improvements to your machine-learning types or information extraction

Show sample text content

Download sample