{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "533021d3",
   "metadata": {},
   "source": [
    "# Exemplo Naive Bayes"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "5e55841f",
   "metadata": {},
   "source": [
    "## $P(A|B)=\\frac{Qtde(A,B)}{Qtde(B)}$\n",
    "## $P(A|B)=\\frac{P(A,B)}{P(B)}=\\frac{\\frac{Qtde(A,B)}{n}}{\\frac{Qtde(B}{n}}=\\frac{Qtde(A,B)}{Qtde(B)}$\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "766d9940",
   "metadata": {},
   "source": [
    "### Repositório de dados: http://archive.ics.uci.edu"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "7fe8b5bf",
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import numpy as np"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
