code: func (t *Trainer) Train(epochs int) error {
  	if err := t.pretrainCheck(); err != nil {
  		return err
  	}
  	if len(t.crossValSet) > 0 {
  		return t.crossValidateTrain(epochs)
  	}
  	return t.train(epochs)
  }
docs: // Train trains a model.
  //
  // If a cross validation set is provided, it will automatically train with the cross validation set