Miners SDK
Last updated
Was this helpful?
Last updated
Was this helpful?
You can use several types of miners with Dioptra based on the type of model issues you are trying to resolve
More details about the when to use this
name of the miner
number of datapoints to sample
name of the model to get the prediction from. If used with EMBEDDINGS
then the model name should include the layer name with the format model_name:layer_name
a lml like list of filters to select the data to mine from
a limit to the number of datapoints to sample from
the name of a field to order by when doing selection of the data to mine from. This is useful when used with limit
to control the which datapoints are selected. For ex: the last 1000 datapoints ordered by timestamp
whether to order desc or asc. should be used with select_order_by
name of the miner
number of datapoints to sample
name of the model to get the prediction from. If used with EMBEDDINGS
then the model name should include the layer name with the format model_name:layer_name
the field to use. Could be EMBEDDINGS
or LOGITS
a dioptra like list of filters to select the data to mine from
a limit to the number of datapoints to sample from
the name of a fielld to order by when doing selection of the data to mine from. This is useful when used with limit
to control the which datapoints are selected. For ex: the last 1000 datapoints ordered by timestamp
whether to order desc or asc. should be used with select_order_by
name of the miner
number of datapoints to sample
Name of the model to get the prediction from. The model name should include the layer name with the format model_name:layer_name
the metric to be used to assess similarity. Could be euclidean
or cosine
a dioptra like list of filters to select the data to mine from
a limit to the number of datapoints to sample from
the name of a field to order by when doing selection of the data to mine from. This is useful when used with limit
to control the which datapoints are selected. For ex: the last 1000 datapoints ordered by timestamp
whether to order desc or asc. should be used with select_order_by
same as above but to select the reference data to do similarity from
same as above but to select the reference data to do similarity from
same as above but to select the reference data to do similarity from
same as above but to select the reference data to do similarity from
name of the miner
number of datapoints to sample
name of the model to get the prediction from. The model name should include the layer name with the format model_name:layer_name
the metric to be used to assess similarity. Could be euclidean
or cosine
a dioptra like list of filters to select the data to mine from
a limit to the number of datapoints to sample from
the name of a field to order by when doing selection of the data to mine from. This is useful when used with limit
to control the which datapoints are selected. For ex: the last 1000 datapoints ordered by timestamp
whether to order desc or asc. should be used with select_order_by
same as above but to select the data that is already in the training dataset for coreset
same as above but to select the data that is already in the training dataset for coreset
same as above but to select the data that is already in the training dataset for coreset
same as above but to select the data that is already in the training dataset for coreset
name of the miner
number of datapoints to sample
name of the model to get the prediction from. The model name should include the layer name with the format model_name:layer_name
a dioptra like list of filters to select the data to mine from
a limit to the number of datapoints to sample from
the name of a field to order by when doing selection of the data to mine from. This is useful when used with limit
to control the which datapoints are selected. For ex: the last 1000 datapoints ordered by timestamp
whether to order desc or asc. should be used with select_order_by
To get an existing miner, you can set the miner_id
of a BaseMiner
To get the list of all miners, you can use the list_miners
utility
Once a miner is created, you can run
While the miner runs, you can get its status. It can either me SUCCESS
, PROCESSING
, or FAILURE
After a run is finished, you can retrieved the results. The results are a list of the uuid
of the datapoints selected. You can get the datapoints using the select_datapoints
utility method.
To get the config of a miner you can call the get_config method
To delete a miner call the delete method
You can reset a miner to clear its results
More details about the when to use this
More details about the when to use this
More details about the when to use this
More details about the when to use this
More details about the when to use this