Hi everyone, I have a problem. Im trying to do a model(Linear Regression Multivariable) but always it predicts the same result. My model works for one variable with a toy Data set.But When I put the Data of 3 variables It breaks.
I really need your help. My code is here. Don’t pay attention to the first part because the only thing that they do is prepare the data. I think the problem is in the model.

  
      github.com
  
  
    tratohecho3/Machine-Learning/blob/master/question.py 44
import torch
import torch.nn as nn
import numpy as np
import matplotlib.pyplot as plt
from torch.autograd import Variable
import pyanitools as pya
import math
import torch.nn.functional as F
import torch.nn.init as init

def ten_percent(data,output):
	ten_percent = int(len(data) * 0.1)	
	training_set = data[ten_percent:]
	test_set  = data[:ten_percent]
	output_training = output[ten_percent:]
	output_test = output[:ten_percent]

	return training_set,test_set,output_training,output_test

def changeHA(x):


  This file has been truncated. show original

  
  
    
    
  
  


Thank you