Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,9 @@ import pandas as pd
|
|
3 |
import numpy as np
|
4 |
import plotly.express as px
|
5 |
import plotly.graph_objects as go
|
|
|
6 |
from scipy.stats import pearsonr, spearmanr
|
|
|
7 |
from sklearn.preprocessing import StandardScaler, LabelEncoder
|
8 |
from sklearn.model_selection import train_test_split
|
9 |
from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor
|
|
|
3 |
import numpy as np
|
4 |
import plotly.express as px
|
5 |
import plotly.graph_objects as go
|
6 |
+
import matplotlib.pyplot as plt #For SHAP charts
|
7 |
from scipy.stats import pearsonr, spearmanr
|
8 |
+
from sklearn.inspection import permutation_importance
|
9 |
from sklearn.preprocessing import StandardScaler, LabelEncoder
|
10 |
from sklearn.model_selection import train_test_split
|
11 |
from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor
|