{ "cells": [ { "attachments": {}, "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "skip" } }, "source": [ "# **Classifying products in Semiconductor Industry**" ] }, { "attachments": {}, "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "skip" } }, "source": [ "#### **Import the data**" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "slideshow": { "slide_type": "skip" } }, "outputs": [], "source": [ "import mercury as mr\n", "import pandas as pd\n", "import numpy as np\n", "import seaborn as sns\n", "import matplotlib.pyplot as plt\n", "from scipy import stats\n", "from sklearn.model_selection import train_test_split\n", "\n", "from mlxtend.plotting import plot_confusion_matrix\n", "from sklearn.metrics import confusion_matrix, accuracy_score, precision_score, recall_score, f1_score\n", "from mlxtend.plotting import plot_confusion_matrix" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "slideshow": { "slide_type": "skip" } }, "outputs": [ { "data": { "application/mercury+json": { "allow_download": true, "code_uid": "App.0.40.24.1-rand53016c34", "continuous_update": false, "description": "Recumpute everything dynamically", "full_screen": true, "model_id": "mercury-app", "notify": "{}", "output": "app", "schedule": "", "show_code": false, "show_prompt": false, "show_sidebar": true, "static_notebook": false, "title": "Secom Web App Demo", "widget": "App" }, "text/html": [ "