input: from sklearn.naive_bayes import GaussianNB
  
  def naive_bayes_classifier(X_train, y_train, X_test):
      """ Create a naive bayes classifier to classify emails as spam or not spam.
      Use the GaussianNB model from sklearn.
      >>> naive_bayes_classifier([[1,2],[3,4]], [1,0], [[1,1]])
      [0]
      >>> naive_bayes_classifier([[5,5],[7,7]], [0,1], [[6,6]])
      [1]
      """
      # 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:     # 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