MLP: don't force to use a machine in trainer constructors (cf. #128)