Machine learning covers methods in which an algorithm learns rules from examples rather than being explicitly programmed. A model is fitted on training data to make predictions on new data. Its quality is judged on data it has never seen.
Example
modele.fit(X_train, y_train)
modele.predict(X_test)