Data Science, Machine Learning, Linear Models, Regression, Python.
test_measurement, test_weight]) Now to run our test data through our Poisson model. predictions = fitted_model.predict(test_X) print(predictions) [2.25191053, 0.53114966, 1.39136067, 0.85966316, 0.28747401] Our predictions look fairly reasonable. Since this is all made-up sample data, it’s hard to