Integrates:
The code below displays a single paginated table with a simple filter.
Inspired by this article
""" | |
Gets the name of the active Git branch as a string. | |
Depends on GitPython | |
pip install GitPython | |
""" | |
from git import Repo | |
repo = Repo('/path/to/your/repo') | |
branch = repo.active_branch |
#!/usr/bin/env python3 | |
""" | |
License: MIT License | |
Copyright (c) 2023 Miel Donkers | |
Very simple HTTP server in python for logging requests | |
Usage:: | |
./server.py [<port>] | |
""" | |
from http.server import BaseHTTPRequestHandler, HTTPServer |
Integrates:
The code below displays a single paginated table with a simple filter.
Inspired by this article
Percentage:
<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width=50% height=50%>
Pixels:
<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width="150" height="280">
import mlflow | |
# There are two ways to create parent/child runs in MLflow. | |
# (1) The most common way is to use the fluent | |
# mlflow.start_run API, passing nested=True: | |
with mlflow.start_run(): | |
num_trials = 10 | |
mlflow.log_param("num_trials", num_trials) | |
best_loss = 1e100 |