diff --git a/{{ cookiecutter.repo_name }}/nbs/.gitkeep b/{{ cookiecutter.repo_name }}/nbs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/{{ cookiecutter.repo_name }}/nbs/mjc_001_EDA.ipynb b/{{ cookiecutter.repo_name }}/nbs/mjc_001_EDA.ipynb new file mode 100644 index 0000000..e0b258d --- /dev/null +++ b/{{ cookiecutter.repo_name }}/nbs/mjc_001_EDA.ipynb @@ -0,0 +1,155 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "1b44551e", + "metadata": {}, + "source": [ + "# Exploratory Data Analysis\n", + "\n", + "Hypothesis: What is this notebook about?" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "198de680", + "metadata": { + "ExecuteTime": { + "end_time": "2022-06-28T02:34:01.879987Z", + "start_time": "2022-06-28T02:34:01.864103Z" + } + }, + "outputs": [], + "source": [ + "# autoreload your package\n", + "%load_ext autoreload\n", + "%autoreload 2\n", + "import {{ cookiecutter.project_name.lower().replace(' ', '_') }}\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "a372ed7c", + "metadata": { + "ExecuteTime": { + "end_time": "2022-06-28T02:34:02.470436Z", + "start_time": "2022-06-28T02:34:02.424826Z" + } + }, + "outputs": [], + "source": [ + "## secrets\n", + "from dotenv import load_dotenv\n", + "load_dotenv() # take environment variables from .env.\n", + "\n", + "import warnings\n", + "# warnings.simplefilter(\"ignore\")\n", + "warnings.filterwarnings(\"ignore\", \".*does not have many workers.*\")\n", + "warnings.filterwarnings(\"ignore\", \".*divide by zero.*\")\n", + "\n", + "## numeric, plotting\n", + "import numpy as np\n", + "import pandas as pd\n", + "import matplotlib.pyplot as plt\n", + "%matplotlib inline\n", + "plt.style.use('ggplot')\n", + "plt.rcParams['figure.figsize'] = (7.0, 4)\n", + "\n", + "## utils\n", + "from pathlib import Path\n", + "from tqdm.auto import tqdm\n", + "import logging, os, re\n", + "import collections, functools, itertools\n", + "\n", + "# torch\n", + "import pytorch_lightning as pl\n", + "from einops import rearrange, repeat, reduce\n", + "import torch\n", + "import torch.nn as nn\n", + "\n", + "# logging\n", + "from loguru import logger\n", + "logger.remove()\n", + "logger.add(os.sys.stdout, level=\"ERROR\", colorize=True, format=\"{time} | {message}\")\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "54a03c3a", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "64890012", + "metadata": { + "ExecuteTime": { + "end_time": "2022-06-28T02:34:02.890216Z", + "start_time": "2022-06-28T02:34:02.882249Z" + } + }, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "1d4da6fa", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "6d102e3d", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3.10.4 64-bit", + "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.12" + }, + "toc": { + "base_numbering": 1, + "nav_menu": {}, + "number_sections": true, + "sideBar": true, + "skip_h1_title": false, + "title_cell": "Table of Contents", + "title_sidebar": "Contents", + "toc_cell": false, + "toc_position": {}, + "toc_section_display": true, + "toc_window_display": false + }, + "vscode": { + "interpreter": { + "hash": "916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1" + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}