I hereby claim:
- I am jonathanagustin on github.
- I am drengskapur (https://keybase.io/drengskapur) on keybase.
- I have a public key whose fingerprint is 6DED 1D8C 4F9A 4376 7394 C58A 0C80 E974 9273 65DE
To claim this, I am signing this object:
| # @title Convert Notebook to PDF. Save Notebook to: `/content/drive/MyDrive/Colab Notebooks' | |
| NOTEBOOK_NAME = "notebooke.ipynb" # @param {type:"string"} | |
| #------------------------------------------------------------------------------# | |
| from google.colab import drive | |
| drive.mount("/content/drive/", force_remount=True) | |
| NOTEBOOKS = "/content/drive/MyDrive/Colab Notebooks" | |
| NOTEBOOK_PATH = f"{NOTEBOOKS}/{NOTEBOOK_NAME}" | |
| assert os.path.exists(NOTEBOOK_PATH), f"NOTEBOOK NOT FOUND: {NOTEBOOK_PATH}" | |
| !apt install -y texlive-xetex texlive-fonts-recommended texlive-plain-generic | |
| !jupyter nbconvert "$NOTEBOOK_PATH" --to pdf |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| color() { | |
| STARTCOLOR="\e[$2"; | |
| ENDCOLOR="\e[0m"; | |
| export "$1"="$STARTCOLOR%b$ENDCOLOR" | |
| } | |
| color info 96m | |
| color success 92m | |
| color warning 93m |
| %matplotlib inline | |
| def bootstrap(): | |
| # @title Bootstrap Google Colab {display-mode:"form"} | |
| # CONFIGURE: Parameters | |
| GOOGLE_DRIVE_FOLDER = "my_folder" # @param {type:"string"} | |
| GitHub = True # @param {type:"boolean"} | |
| OpenAI = True # @param {type:"boolean"} | |
| HuggingFace = True # @param {type:"boolean"} |
| %%capture | |
| # ---------------------------------------------------------------------------- # | |
| # @title Install autogluon on Google Colab { display-mode: "form" } | |
| # ---------------------------------------------------------------------------- # | |
| import contextlib | |
| with open('/content/install-autogluon.log', 'w') as f: | |
| with contextlib.redirect_stdout(f): | |
| %pip install uv | |
| !git clone --recurse-submodules --depth=1 https://github.com/autogluon/autogluon.git | |
| !uv pip install --system -e /content/autogluon/common/ |
| %%capture | |
| # ---------------------------------------------------------------------------- # | |
| # @title Install auto-sklearn on Google Colab { display-mode: "form" } | |
| # ---------------------------------------------------------------------------- # | |
| import contextlib | |
| with open('/content/install-auto-sklearn.log', 'w') as f: | |
| with contextlib.redirect_stdout(f): | |
| %pip install uv | |
| !uv pip install --system Cython==0.29.36 pyparsing==2.4 | |
| !uv pip install --system -r https://raw.githubusercontent.com/automl/auto-sklearn/master/requirements.txt |
| #!/usr/bin/env python3 | |
| import subprocess | |
| from pathlib import Path | |
| SKIP_LIST = [ | |
| ".git", | |
| "build", | |
| "venv", | |
| ".venv", | |
| "node_modules", |
| print("Hello, World!") |