Solved by ptrblck in post #4 
              
              
                I assume you would like to get the output of the print statement in these lines of code? 
It seems cross_validation_with_val_set is never called and instead the run method is executed from points.train_eval, which is undefined in your code.