Mutable Behaviour Dataset

This feature is part of the MLDB Pro Plugin and so can only be used in compliance with the trial license unless a commercial license has been purchased

This is a mutable (writeable) version of the Behavior dataset.

It allows for one single commit, at which point a "behaviour" file will be written to the location provided in the address field. Afterwards the produced file can be loaded by the beh dataset type. An attempt to commit() more than once will lead to an exception; once committed it's really committed.


A new dataset of type beh.mutable named <id> can be created as follows:

mldb.put("/v1/datasets/"+<id>, {
    "type": "beh.mutable",
    "params": {
        "dataFileUrl": <Url>,
        "timeQuantumSeconds": <float>

with the following key-value definitions for params:

Field, Type, DefaultDescription


URL of the data file (with extension '.beh') from which to load the dataset.


a number that controls the resolution of timestamps stored in the dataset, in seconds. 1 means one second, 0.001 means one millisecond, 60 means one minute. Higher resolution requires more memory to store timestamps.

See Also