PCA reduces the number of dimensions. Naive Bayes models the joint distribution $P(x, y) = P(y)P(x|y)$, so it is a generative model. Logistic regression models $P(y|x)$ directly, so it is a discriminative model.
More Supervised learning: classification questions
GATE 2024 DA Q20– Given a dataset with K binary-valued attributes (where K > 2) for a two-class…
GATE 2024 DA Q53– Consider the following figures representing datasets consisting of two-dimensional…
GATE 2024 DA Q62– Details of ten international cricket games between two teams "Green" and "Blue" are given…
GATE 2024 DA Q63– Given the two-dimensional dataset consisting of 5 data points from two classes (circles…
GATE 2026 DA Q23– In the following table, the Task column lists a few tasks related to machine learning. The…
GATE 2026 DA Q47– Consider that 20 stories of Author X and 10 stories of Author Y were kept together without…