Skip to content

Added Random Forest Regressor as an additional prediction model. #12767

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Update run.py
  • Loading branch information
priyanshu-8789 authored May 25, 2025
commit 39bc4463a5c255dfbdc94f58490912c0b29b31f7
4 changes: 2 additions & 2 deletions machine_learning/forecasting/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
u can just adjust it for ur own purpose
"""

import logging
from warnings import simplefilter

import logging
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from sklearn.ensemble import RandomForestRegressor
from sklearn.preprocessing import Normalizer
from sklearn.svm import SVR
from statsmodels.tsa.statespace.sarimax import SARIMAX

Check failure on line 23 in machine_learning/forecasting/run.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (I001)

machine_learning/forecasting/run.py:14:1: I001 Import block is un-sorted or un-formatted
import matplotlib.pyplot as plt

logging.basicConfig(level=logging.Info)
logger = logging.getLogger(__name__)
Expand Down
Loading