Create window based classier. Recreate CB test code in an IPythonNotebook