input: Write a function to evaluate the accuracy of a machine-learning model. The function should take a trained model as input and return the accuracy score, using accuracy_score from sklearn.metrics.
  assert evaluate_accuracy(clf, X_test, y_test)==0.85
  assert evaluate_accuracy(clf, X_test, y_test)==0.92
  assert evaluate_accuracy(clf, X_test, y_test)==0.78
  assert evaluate_accuracy(clf, X_test, y_test)==0.89
  assert evaluate_accuracy(clf, X_test, y_test)==0.95
output: def evaluate_accuracy(model, X_test, y_test):
      from sklearn.metrics import accuracy_score
      y_pred = model.predict(X_test)
      return accuracy_score(y_test, y_pred)