Skip to main content

Built-in Section Types

Section

With Callable and Parameters

This section has a callable of sklearn.cluster.KMeans, and 9 parameters:

It's equivalent to:

clusterer = sklearn.cluster.KMeans(n_clusters=15, max_iter=1000)

Without Callable

This section has no callable, and 2 parameters:

It's equivalent to:

important_vars = {"batch_size": 64, "iterations": 10000}

Without Parameters

If you're sure your callable won't need any parameters, you can remove parameters entirely from the section. Currently the only benefit of doing this is that it's visually cleaner:

It's equivalent to:

random_number = numpy.random.random()

List Root

A list root represents a list of sections, list roots, or dictionary roots.

Dictionary Root

Group

Global Variables

A Global Variables section is like a section without a callable. The difference is that the parameters are not created inside of a dictionary.

It's equivalent to:

N = 45
seed = 1234
root_path = "/tmp"

Code

Param Sweep

Global Param Sweep

Terminal

Image

Chart

Draw Area

Info

Social

IFrame