Abstract class defines the interface for storing and loading of input data.
More...
|
def | loadData (self, name="train") |
| Reads dataset from file as it is an abstract class, this function is not implemented! More...
|
|
def | loadSpecification (self) |
| Loads attribute specification from file as it is an abstract class, this function is not implemented! More...
|
|
def | save (self, points, values=None, attributes=None) |
| Store data into file as it is an abstract class, this function is not implemented! More...
|
|
Abstract class defines the interface for storing and loading of input data.
◆ loadData()
def python.data.DataAdapter.DataAdapter.loadData |
( |
|
self, |
|
|
|
name = "train" |
|
) |
| |
Reads dataset from file as it is an abstract class, this function is not implemented!
- Parameters
-
name | String for category of data set (train or test), default "train" |
- Returns
- DataContainer with data set
◆ loadSpecification()
def python.data.DataAdapter.DataAdapter.loadSpecification |
( |
|
self | ) |
|
Loads attribute specification from file as it is an abstract class, this function is not implemented!
- Returns
- dictionary with attribute specification
◆ save()
def python.data.DataAdapter.DataAdapter.save |
( |
|
self, |
|
|
|
points, |
|
|
|
values = None , |
|
|
|
attributes = None |
|
) |
| |
Store data into file as it is an abstract class, this function is not implemented!
- Parameters
-
points | DataVector with points |
values | DataVector with values, default None |
attributes | dictionary with attributes of dataset, default None |
The documentation for this class was generated from the following file: