def init_W(self):

        if (self.status != 'load_train_data') and (self.status != 'train'):
            print("Please load train data first.")
            return self.W

        self.status = 'init'

        self.data_num = len(self.train_Y)
        self.data_demension = len(self.train_X[0])
        self.W = np.zeros(self.data_demension)

        return self.W
Init the W
dataset/ETHPy150Open fukuball/fuku-ml/FukuML/LinearRegression.py/LinearRegression.init_W