I train GeneticSelectionCV
model on cpu
with the following code:
from genetic_selection import GeneticSelectionCV
from sklearn.naive_bayes import GaussianNB
g = GeneticSelectionCV(estimator=GaussianNB(), scoring='accuracy').fit(X, y)
How can I train GaussianNB
and GeneticSelectionCV
on GPU
?