load_from_arff_file

load_from_arff_file(full_file_path_and_name, replace_missing_vals_with='NaN')[source]

Load data from a classification/regression WEKA arff file to a 3D numpy array.

Parameters:
full_file_path_and_name: str

The full pathname of the .ts file to read.

replace_missing_vals_with: str

The value that missing values in the text file should be replaced with prior to parsing.

Returns:
data: np.ndarray

time series data, np.ndarray (n_cases, n_channels, n_timepoints)

ytarget variable, np.ndarray of string or int