replace TypeTag with explicit datatype

This is a workaround for the NotSerializable bug. The CV example might need a larger dataset in order to work.