Skip to content

Instantly share code, notes, and snippets.

@jaor
jaor / metadata.json
Last active August 23, 2022 15:31
dataset to image composite
{
"name": "dataset to image composite",
"kind": "script",
"description": "Transform back a dataset with images to a source composite",
"source_code": "script.whizzml",
"inputs": [
{
"name": "dataset",
"type": "dataset-id",
"description": "The input dataset"
@jaor
jaor / metadata.json
Last active January 17, 2022 21:14
create and delete sources in a loop
{
"name": "create sources",
"kind": "script",
"description": "loops creation/deletion of sources, reporting timings",
"source_code": "script.whizzml",
"imports":[
],
"inputs":[
{"name": "iterations",
"type": "number",
@jaor
jaor / metadata.json
Last active September 27, 2021 22:18
Import labels from a table source into an image composite
{
"name": "Import labels from table",
"kind": "script",
"description": "Add labels to an image composite, read from a table source",
"source_code": "script.whizzml",
"inputs":[
{
"name": "composite-id",
"type": "source-id",
"description": "The target image composite to extend"
@jaor
jaor / metadata.json
Created April 23, 2021 21:32
Clean topic model names
{
"name": "Clean topic names",
"kind": "script",
"description": "Remove non-letter characters from topic names",
"source_code": "script.whizzml",
"imports":[
],
"inputs":[
{
"name": "topic-model",
@jaor
jaor / metadata.json
Last active April 6, 2021 21:53
Discarding predictions with missing inputs
{
"name": "mark-missing-in-predictions",
"kind": "script",
"description": "Perform a batch prediction and produce an additional dataset with missings marked",
"source_code": "script.whizzml",
"imports":[
],
"inputs":[
{
"name": "model",
@jaor
jaor / metadata.json
Last active January 18, 2021 02:08
table+image -> image composite
{
"name": "table+image->image",
"kind": "script",
"description": "Convert a table+image source to an editable composite",
"source_code": "script.whizzml",
"imports":[
],
"inputs":[
{
"name": "input",
@jaor
jaor / metadata.json
Last active November 3, 2020 04:33
Use directory as label field
{
"name": "path-to-label",
"kind": "script",
"description": "Extracts the last component of paths as the label",
"source_code": "script.whizzml",
"imports":[
],
"inputs":[
{
"name": "source",
@jaor
jaor / metadata.json
Last active June 28, 2019 15:31
Anomalies above/below threshold
{
"name": "Anomalies above threshold",
"kind": "script",
"description": "Creates an anomaly detector and a dataset with all the anomalies above or below a given threshold",
"source_code": "script.whizzml",
"inputs":[
{
"name": "dataset",
"type": "dataset-id",
"description": "Anomaly to use"
@jaor
jaor / metadata.json
Last active June 24, 2019 22:07
Anomalies above threshold
{
"name": "Anomalies above threshold",
"kind": "script",
"description": "Creates a dataset with all the anomalies above a given threshold",
"source_code": "script.whizzml",
"imports":[
],
"inputs":[
{
"name": "anomaly",
@jaor
jaor / metadata.json
Last active May 3, 2019 03:37
Remove constant fields
{
"name": "Remove constant fields",
"kind": "script",
"description": "Remove fields that are constant",
"source_code": "script.whizzml",
"imports":[
],
"inputs":[
{
"name": "input-dataset",