Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Created June 24, 2024 21:37
Show Gist options
  • Save quantra-go-algo/18e9aa348c9cb844fb349508594aff39 to your computer and use it in GitHub Desktop.
Save quantra-go-algo/18e9aa348c9cb844fb349508594aff39 to your computer and use it in GitHub Desktop.
# Import the necessary libraries
import scipy as sp
import numpy as np
import pandas as pd
import shap
from xgboost import XGBRFClassifier
from xgboost import XGBRFRegressor
from sklearn.preprocessing import LabelEncoder
from concurrent import futures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment