Poisson Regressor Algorithm
Poisson regression is used to model count data, where the response variable represents the
number of occurrences of an event. It's a type of generalized linear model (GLM) that
assumes the response variable follows a Poisson distribution. Data: Count data (non-negative
integers), check for Poisson distribution (mean ≈ variance). Model: GLM with log link,
specify predictors. Train: Maximum likelihood estimates coefficients. Evaluate: Check model
fit, overdispersion, and predictor significance. Use: Interpret coefficients (log
scale), predict counts.
Fig. 6: Flow chart of Poisson Regressor algorithm
1. Gradient Boosting Algorithm: Builds predictive models sequentially, where each
new model corrects the errors of the previous ones. Optimizes the model by
minimizing a loss function using gradient descent, thus "boosting" the
model's accuracy.
Steps involved:
a. Initial Guess: Start with a simple prediction.
b. Find Errors: Calculate the difference between predictions and actual values.
c. Learn Errors: Build a small tree to predict those errors.
d. Improve Guess: Add the tree's predictions (scaled by a learning rate) to the
previous guess.
e. Repeat: Keep repeating steps 2-4, focusing on remaining errors.
f. Final Result: Sum up all the three predictions for the final output.
Fig. 7: Flow chart of Gradient Boosting algorithm
Fig.11: Data Visualization for Yield Rate
Fig. 10: Data Visualization for Crop Prediction