The Analytics -> Mining category in the “Node Repository” panel contains the nodes you need to train a model.
After preparing your data, you can use the Partitioning node to split your data set into train and test sets and then each classification algorithm has a “Learner” node and a “Predictor” node. The Learner builds the model using the train set and Predictor predicts the class based on the trained model. The Scoring category under Mining contains the nodes to evaluate the model.
This is so easy in KNIME. If you need examples, you can search NodePit or KNIME Hub.