@Chong you might want to take a look at this basic example
Then you might want to take some courses about machine learning and knime