EuroPython 2015

Machine Learning Under Test

Sub Community: PyData

One point usually underestimated or omitted when dealing with machine learning algorithms is how to write good quality code. The obvious way to face this issue is to apply automated testing, which aims at implementing (likely) less-buggy and higher quality code.

However, testing machine learning code introduces additional concerns that has to be considered. On the one hand, some constraints are imposed by the domain, and the risks intrinsically related to machine learning methods, such as handling unstable data, or avoid under/overfitting. On the other hand, testing scientific code requires additional testing tools (e.g., numpy.testing), specifically suited to handle numerical data.

In this talk, some of the most famous machine learning techniques will be discudded and analysed from the testing point of view, emphasizing that testing would also allow for a better understanding of how the whole learning model works under the hood.

The talk is intended for an intermediate audience. The content of the talk is intended to be mostly practical, and code oriented. Thus a good proficiency with the Python language is required. Conversely, no prior knowledge about testing nor Machine Learning algorithms is necessary to attend this talk.


in on Monday 20 July at 11:45 See schedule



  1. Gravatar
    Where can I find presentation for this talk?
    — Александр Чекунков,
  2. Gravatar
    Slides have been posted on my *speakerdeck*:
    — Valerio Maggio,

New comment