|
from Recent_match_scrapper import get_multiple_matches_stats |
|
from Meta_scrapper import get_meta_stats |
|
from Leaderboard_scrapper import scrape_leaderboards |
|
from connection_check import check_connection |
|
from helper import merge_stats, filter_leaderboard, get_player_list |
|
from Player_scrapper import get_multiple_player_stats, get_player_stats |
|
from feature_eng import create_champion_features |
|
from Weekly_meta_scrapper import get_weekly_meta |
|
import pandas as pd |
|
|
|
|
|
|
|
|
|
meta_stats = get_meta_stats() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lb_for_single = pd.read_csv("util/data/lb_filtered_for_single.csv") |
|
player_list = get_player_list(lb_for_single) |
|
|
|
player_stats = get_multiple_player_stats(player_list) |
|
recent_stats = get_multiple_matches_stats(player_list) |
|
|
|
recent_stats = pd.read_csv("util/data/recent_matches.csv") |
|
player_stats = pd.read_csv("util/data/player_stats.csv") |
|
merged_stats = merge_stats(recent_stats, player_stats) |
|
|
|
|
|
merged_stats = pd.read_csv("util/data/player_stats_merged_2025-01-07.csv") |
|
training_features = create_champion_features(merged_player_stats=merged_stats, debug=None, consider_team_comp=True, test_mode=False) |
|
|