1p3a_oj Question

Naive Bayes Implementation

Question Details

Implement the training and prediction process of a Naive Bayes classifier. Given the feature matrix X_train, target vector y_train for training data, and feature matrix X_test for testing data, return

Full Details

🔒

Unlock all Pinterest questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a pinterest interview for a swe role during the coding round.

It covers the following topics: Probability Stats, Arrays, Matrix .