SG++-Doxygen-Documentation
python.data.DataAdapter.DataAdapter Class Reference

Abstract class defines the interface for storing and loading of input data. More...

Inheritance diagram for python.data.DataAdapter.DataAdapter:

Public Member Functions

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...
 

Detailed Description

Abstract class defines the interface for storing and loading of input data.

Member Function Documentation

◆ 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
nameString 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
pointsDataVector with points
valuesDataVector with values, default None
attributesdictionary with attributes of dataset, default None

The documentation for this class was generated from the following file: