Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ImageType is the value for image datasets. ImageType Type = "Image" // TableType is the value for table datasets. TableType = "Table" // UnknownType is the catch all dataset type. UnknownType = "Unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct { ID string `json:"id"` Images []*ImageEncoded `json:"images"` }
Image captures the data in an image dataset.
func NewImageDataset ¶
NewImageDataset creates a new image dataset from raw byte data, assuming json.
func (*Image) CreateDataset ¶
CreateDataset creates a basic dataset from an image dataset
func (*Image) GetPredictionsID ¶
GetPredictionsID returns the prediction set id.
type ImageEncoded ¶
type ImageEncoded struct { ID string `json:"id"` Type string `json:"type"` Image string `json:"image"` Label string `json:"label"` }
ImageEncoded is a base46 encoded image.
type Table ¶
Table represents a basic table dataset.
func NewTableDataset ¶
NewTableDataset creates a new table dataset from raw byte data, assuming json
func (*Table) CreateDataset ¶
CreateDataset processes the table data structure into a dataset that can be used in the D3M ecosystem.
func (*Table) GetPredictionsID ¶
GetPredictionsID returns the prediction set id.
Click to show internal directories.
Click to hide internal directories.