Hello Mingjun, I want to ask. Why on this line you use
data_frame = pd.read_csv(directory, nrows=self.__crop, skiprows=0, header=0) test_input = np.round(np.array(data_frame.iloc[:, 0], float), 6) test_target = np.round(np.array(data_frame.iloc[self.__window_offset: -self.__window_offset, 1], float), 6)
instead of
test_target = np.round(np.array(data_frame.iloc[:, 1], float), 6)
Hello Mingjun, I want to ask. Why on this line you use
data_frame = pd.read_csv(directory, nrows=self.__crop, skiprows=0, header=0) test_input = np.round(np.array(data_frame.iloc[:, 0], float), 6) test_target = np.round(np.array(data_frame.iloc[self.__window_offset: -self.__window_offset, 1], float), 6)instead of
test_target = np.round(np.array(data_frame.iloc[:, 1], float), 6)