Skip to content

Commit

Permalink
Added docs tmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
robinthibaut committed Feb 21, 2022
1 parent d4f649a commit ae02d52
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions examples/whpa_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from os.path import join as jp

import pandas as pd
from loguru import logger
from sklearn.cross_decomposition import CCA
from sklearn.decomposition import PCA
from sklearn.pipeline import Pipeline
Expand Down Expand Up @@ -111,12 +110,6 @@ def init_bel():
# The posterior distribution is computed within the method below.
y_predicted = model.predict(X_test)

# Save the fitted BEL model
# joblib.dump(model, jp(obj_dir, "bel.pkl"))

# msg = f"model trained and saved in {obj_dir}"
# logger.info(msg)

# %% Visualization

# Plot raw data
Expand All @@ -129,7 +122,7 @@ def init_bel():
Y_obs=y_test,
base_dir=sub_dir,
)
#

# Plot PCA
pca_vision(
model,
Expand Down

0 comments on commit ae02d52

Please sign in to comment.