input:  
  from typing import List, Tuple
  
  
  def naive_bayes_classifier(X_train: List[List[float]], y_train: List[int], X_test: List[List[float]]) -> List[int]:
      """ Construct a naive bayes classifier using python to classify emails as spam or not spam.
      >>> X_train = [[0.5], [1.0], [1.5]]
      >>> y_train = [0, 1, 0]
      >>> X_test = [[0.7], [1.2]]
      >>> naive_bayes_classifier(X_train, y_train, X_test)
      [0, 1]
      """
      from sklearn.naive_bayes import GaussianNB
  
      # Create a Gaussian Classifier
      model = GaussianNB()
  
      # Train the model using the training sets 
      model.fit(X_train, y_train)
  
      # Predict Output 
      y_pred = model.predict(X_test)
      return y_pred
  
output:     from sklearn.naive_bayes import GaussianNB
  
      # Create a Gaussian Classifier
      model = GaussianNB()
  
      # Train the model using the training sets 
      model.fit(X_train, y_train)
  
      # Predict Output 
      y_pred = model.predict(X_test)
      return y_pred