Professional Documents
Culture Documents
Naive Bayes Algorithm
Naive Bayes Algorithm
Naive Bayes Algorithm
+1.732.947.4119
About Us
Categories
In a world where many manual operations are mechanized, the • Salesforce CRM (2)
definition of the word ‘manual’ is evolving. Computers can play • IoT (3)
chess, perform surgery, and develop into smarter, more • Clinical (5)
humanlike machines with the aid of machine learning
• Healthcare (4)
algorithms.
• Life Sciences (5)
What is Naive Bayes Algorithm?
• This & That (8)
The machine learning algorithm is divided into categories, in • Recruiting Strategy (16)
which Naive Bayes Algorithm falls under the umbrella of • Diversity, Equity & Inclusion (1)
supervised machine learning algorithm. It is a classification
method built on the Bayes Theorem and predicated on the
idea of predictor independence. A Naive Bayes classifier
believes that the presence of one feature in a class has nothing
to do with the presence of any other feature. For example
Digital Life Sciences Healthcare Staffing Company Contact Us Knowledge Center
Where P(c|x) = posterior probability of class (c) given
predictor (x).
We assume that the values of the predictors are samples from
a gaussian distribution when they take up a continuous value
and are not discrete.
iris = load_iris()
X = iris.data
y = iris.target
gnb = GaussianNB()
gnb.fit(X_train, y_train)
y_pred = gnb.predict(X_test)
Output:
Office Locations
United India Canad
Corporate Headquarters:
Rang Technologies Inc.
15 Corporate Pl S, Suite# 356,
Piscataway, NJ 08854
Phone
+1.732.947.4119
E-mail
General Inquiries:
info@rangtech.com
Sales Inquiries:
sales@rangtech.com
About Us Digital