niaaml.data

class niaaml.data.BasicDataReader(**kwargs)

Bases: DataReader

Implementation of basic data reader.

Date:

2020

Author:

Luka Pečnik

License:

MIT

See Also:
class niaaml.data.CSVDataReader(**kwargs)

Bases: DataReader

Implementation of CSV data reader.

Date:

2020

Author:

Luka Pečnik

License:

MIT

Attributes:

__src (string): Path to a CSV file. __contains_classes (bool): Tells if src contains expected classification results or only features. __has_header (bool): Tells if src contains header row.

See Also:
class niaaml.data.DataReader(**kwargs)

Bases: object

Class for implementing data readers with different sources of data.

Date:

2020

Author:

Luka Pečnik

License:

MIT

Attributes:

_x (pandas.core.frame.DataFrame): Array of rows from dataset without expected classification results. _y (Optional[pandas.core.series.Series]): Array of encoded expected classification results.

get_x()

Get value of _x.

Returns:

pandas.core.frame.DataFrame: Array of rows from dataset without expected classification results.

get_y()

Get value of _y.

Returns:

pandas.core.series.Series: Array of encoded expected classification results.

set_x(value)

Set the value of _x.

set_y(value)

Set the value of _y.