I have a Python code snippet which loads stored ml model and predicts with new inputs.
mlModel = pickle.load(open('linear_model4.pickle','rb'))
request_body = request.body.decode('utf-8')
parsed_request = makePredictionInput(json.loads(request_body))
rb=json.loads(request_body)
print(parsed_request)
result = mlModel.predict(parsed_request)
It uses 5 inputs for prediction.
Is there a way to get the slopes and intercept from above loaded model sothat i can form the equation as
y = intercept + slope1*variable1+ slope2*variable2+ slope3*variable4+.....