# -*- coding: utf-8 -*-
#RandomForestClassifier
import math
import matplotlib as mpl
import warnings
import numpy as np
from sklearn import tree
from sklearn import ensemble
from sklearn import metrics
from sklearn.metrics import auc
from sklearn.metrics import confusion_matrix
from sklearn.metrics import precision_recall_curve
from sklearn.metrics import classification_report
from sklearn.cross_validation import train_test_split
from sklearn.model_selection import cross_val_score
from sklearn.ensemble import RandomForestClassifier
from sklearn.ensemble import ExtraTreesClassifier
from sklearn.tree import DecisionTreeClassifier
from sklearn.externals import joblib
import matplotlib.pyplot as plt
plt.switch_backend('agg')
warnings.filterwarnings('ignore&#