Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions phylodeep/ci_comput.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ def ci_comp(pred_vals, model, resc_factor, nb_tips, tr_size, samp_proba, vector_
# add ci values to the output table
ci_2_5 = pd.DataFrame(data=[ci_2_5], columns=PREDICTED_NAMES[model], index=[CI_2_5])
ci_97_5 = pd.DataFrame(data=[ci_97_5], columns=PREDICTED_NAMES[model], index=[CI_97_5])
pred_vals = pred_vals.append(ci_2_5, ignore_index=True)
pred_vals = pred_vals.append(ci_97_5, ignore_index=True)
pred_vals = pd.concat([pred_vals, ci_2_5], ignore_index=True)
pred_vals = pd.concat([pred_vals, ci_97_5], ignore_index=True)
pred_vals.index = [PREDICTED_VALUE, CI_2_5, CI_97_5]

return pred_vals
2 changes: 1 addition & 1 deletion phylodeep/model_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
warnings.filterwarnings('ignore')
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

from tensorflow.python.keras.models import model_from_json
from tensorflow.keras.models import model_from_json


PRETRAINED_MODELS_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'pretrained_models')
Expand Down