input: from typing import List
  
  def apple_banana_classifier(X: List[List[int]], y: List[int]) -> List[int]:
      """Develop a machine learning algorithm in Python to identify apples from bananas.
      This function takes in a list of feature vectors and their corresponding labels,
      trains an SVM model, and returns the predictions for given test vectors.
      >>> apple_banana_classifier([[1,2,3], [-1,2,5], [-1,2,7], [5,5,5], [3,3,3], [5,5,7]], [0, 0, 0, 1, 0, 1])
      [0, 1]
      """
output:     from sklearn.svm import SVC
      from sklearn.model_selection import train_test_split
  
      X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.5, random_state=42)
  
      model = SVC(kernel='linear')
      model.fit(X_train, y_train)
  
      predictions = model.predict(X_test)
      return predictions.tolist()