Skip to content

Commit

Permalink
Use joblib instead of pickle to load the model
Browse files Browse the repository at this point in the history
  • Loading branch information
erusseil committed Oct 23, 2023
1 parent 9dc1813 commit 4a3aec2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fink_science/agn/unit_examples.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import pandas as pd
import numpy as np
import fink_science.agn.kernel as k
import pickle
import joblib


with open(k.CLASSIFIER_ELASTICC, "rb") as f:
clf_unit = pickle.load(f)
clf_unit = joblib.load(k.CLASSIFIER_ELASTICC)

raw_ztf_unit = pd.DataFrame(
{
Expand Down

0 comments on commit 4a3aec2

Please sign in to comment.