Commit 168f9b03 authored by Philipp's avatar Philipp

try imports for readthedocs build (II)

parent 8a7ec8f3
Pipeline #75779 passed with stages
in 16 minutes and 59 seconds
......@@ -4,6 +4,9 @@
# Copyright (c) 2016 - now
# Max-Planck-Institute of Neurobiology, Munich, Germany
# Authors: Philipp Schubert, Joergen Kornfeld
import os
from . import log_proc
import numpy as np
import matplotlib
matplotlib.use("Agg", warn=False, force=True)
......@@ -17,12 +20,14 @@ from sklearn.manifold import TSNE as TSNE_sc
from sklearn.decomposition import PCA
from sklearn.neighbors import KNeighborsClassifier
from sklearn.ensemble import RandomForestClassifier
import os
from sklearn.preprocessing import label_binarize
import seaborn as sns
import joblib
import matplotlib.patches as mpatches
from . import log_proc
# required for readthedocs build
import seaborn as sns
except ImportError:
def model_performance(proba, labels, model_dir=None, prefix="", n_labels=3,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment