A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
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 |
import matplotlib.pyplot as plt | |
import keras.backend as K | |
from keras.callbacks import Callback | |
class LRFinder(Callback): | |
''' | |
A simple callback for finding the optimal learning rate range for your model + dataset. | |