from sklearn.preprocessing import MinMaxScaler
import numpy as np
import json
import jsonschema
from jsonschema import validate
import numpy
import pickle
from sklearn.ensemble import RandomForestClassifier

min_max_scaler_1 = MinMaxScaler()
min_max_scaler_1.scale_ = [0.2, 0.07633588, 0.06060606, 0.24390244, 0.01510574]
min_max_scaler_1.min_ = [
    -0.2, -0.13740458, -3.26060606, -1.53658537, -1.73867069
]
min_max_scaler_1.clip = False
coef_rookies = [1.71814446, -4.7037779, 25.32033643, 3.60841173, -6.91661286]
intercept_1 = 64.67014634129038

min_max_scaler_2 = MinMaxScaler()
min_max_scaler_2.scale_ = [
    0.01416431, 0.00301205, 0.31197354, 0.00373134, 0.36425892, 0.04166667
]
min_max_scaler_2.min_ = [
    -0.73654391, -2.5873494, -1.17673301, -3.29104478, -1.41926201, -0.08333333
]
min_max_scaler_2.clip = False
coef_w_1 = [
    11.526699240171151, 5.720350561790972, 3.530300996067043,
    3.100404856127282, -7.191579327156075, 0.9559021636746066
]
coef_w_2 = [