train Train a prtAction object using training a prtDataSet object. self = Obj.train(ds) trains the prtAction object using the prtDataSet ds.