text_plain_output_1.png
from sklearn.model_selection import train_test_split

from sklearn.naive_bayes import GaussianNB

from skmultilearn.problem_transform import BinaryRelevance

from skmultilearn.problem_transform import BinaryRelevance
from sklearn.naive_bayes import GaussianNB
classifier = BinaryRelevance(GaussianNB())
from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3, random_state=1)
classifier.fit(X_train, y_train)
predictions = classifier.predict(X_test)
predictions