{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Benchmarking\n", "\n", "Another common reason for rejections of machine learning papers in applied science is the lack of proper benchmarks. This section will be fairly short, as it differs from discipline to discipline.\n", "\n", "However, any time we apply a superfancy deep neural network, we need to supply a benchmark to compare the relative performance of our model to. These models should be established methods in the field and simpler machine learning methods like a linear model, support-vector machine or a random forest." ] }, { "cell_type": "code", "execution_count": 1, "id": "54158e1d", "metadata": { "execution": { "iopub.execute_input": "2022-12-13T01:42:14.528566Z", "iopub.status.busy": "2022-12-13T01:42:14.528066Z", "iopub.status.idle": "2022-12-13T01:42:14.539840Z", "shell.execute_reply": "2022-12-13T01:42:14.539340Z" } }, "outputs": [], "source": [ "from pathlib import Path\n", "\n", "DATA_FOLDER = Path(\"..\", \"..\") / \"data\"\n", "DATA_FILEPATH = DATA_FOLDER / \"penguins_clean.csv\"" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "execution": { "iopub.execute_input": "2022-12-13T01:42:14.542341Z", "iopub.status.busy": "2022-12-13T01:42:14.542341Z", "iopub.status.idle": "2022-12-13T01:42:14.958415Z", "shell.execute_reply": "2022-12-13T01:42:14.957914Z" } }, "outputs": [ { "data": { "text/html": [ "
\n", " | Culmen Length (mm) | \n", "Culmen Depth (mm) | \n", "Flipper Length (mm) | \n", "Sex | \n", "Species | \n", "
---|---|---|---|---|---|
0 | \n", "39.1 | \n", "18.7 | \n", "181.0 | \n", "MALE | \n", "Adelie Penguin (Pygoscelis adeliae) | \n", "
1 | \n", "39.5 | \n", "17.4 | \n", "186.0 | \n", "FEMALE | \n", "Adelie Penguin (Pygoscelis adeliae) | \n", "
2 | \n", "40.3 | \n", "18.0 | \n", "195.0 | \n", "FEMALE | \n", "Adelie Penguin (Pygoscelis adeliae) | \n", "
3 | \n", "36.7 | \n", "19.3 | \n", "193.0 | \n", "FEMALE | \n", "Adelie Penguin (Pygoscelis adeliae) | \n", "
4 | \n", "39.3 | \n", "20.6 | \n", "190.0 | \n", "MALE | \n", "Adelie Penguin (Pygoscelis adeliae) | \n", "