mlair.data_handler.data_handler_neighbors

Module Contents

Classes

DataHandlerNeighbors

Data handler including neighboring stations.

DummyDataHandler

Functions

run_data_prep()

Comment: methods just to start write meaningful test routines.

create_data_prep()

Comment: methods just to start write meaningful test routines.

Attributes

__author__

__date__

This data handler is just a prototype and has not been validated to work properly! Use it with caution!

number

num_or_list

a

mlair.data_handler.data_handler_neighbors.__author__ = Lukas Leufen
mlair.data_handler.data_handler_neighbors.__date__ = 2020-07-17

This data handler is just a prototype and has not been validated to work properly! Use it with caution!

Type

WARNING

mlair.data_handler.data_handler_neighbors.number
mlair.data_handler.data_handler_neighbors.num_or_list
class mlair.data_handler.data_handler_neighbors.DataHandlerNeighbors(id_class, data_path, neighbors=None, min_length=0, extreme_values: num_or_list = None, extremes_on_right_tail_only: bool = False)

Bases: mlair.data_handler.DefaultDataHandler

Data handler including neighboring stations.

classmethod build(cls, station, **kwargs)

Return initialised class.

_create_collection(self)
get_coordinates(self, include_neighbors=False)

Return coordinates as dictionary with keys lon and lat.

mlair.data_handler.data_handler_neighbors.run_data_prep()

Comment: methods just to start write meaningful test routines.

mlair.data_handler.data_handler_neighbors.create_data_prep()

Comment: methods just to start write meaningful test routines.

class mlair.data_handler.data_handler_neighbors.DummyDataHandler(name, number_of_samples=None)

Bases: mlair.data_handler.AbstractDataHandler

create_X(self)

Inputs are random numbers between 0 and 10 with shape (no_samples, window=14, variables=5).

create_Y(self)

Targets are normal distributed random numbers with shape (no_samples, window=5, variables=1).

get_X(self, upsampling=False, as_numpy=False)

Upsampling parameter is not used for X.

get_Y(self, upsampling=False, as_numpy=False)

Upsampling parameter is not used for Y.

__str__(self)

Return str(self).

mlair.data_handler.data_handler_neighbors.a