We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError Traceback (most recent call last) Cell In[5], line 2 1 quantizer = qbiome.quantizer.Quantizer(num_levels=6) ----> 2 quantizer.load_quantizer_states("forecast_quantizer.pkl")
File ~/miniconda3/lib/python3.12/site-packages/qbiome/quantizer.py:80, in Quantizer.load_quantizer_states(self, in_fname) 74 """Load in self.column_names, self.variable_bin_map, self.random_forest_dict from file 75 76 Args: 77 in_fname (str): input file name 78 """ 79 with open(in_fname, 'rb') as f: ---> 80 states = pickle.load(f) 81 self.column_names = states['column_names'] 82 self.subject_id_column = states['subject_id_column']
self.column_names, self.variable_bin_map, self.random_forest_dict
File _tree.pyx:867, in sklearn.tree._tree.Tree.setstate()
File _tree.pyx:1573, in sklearn.tree._tree._check_node_ndarray()
ValueError: node array from the pickle has an incompatible dtype:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ValueError Traceback (most recent call last)
Cell In[5], line 2
1 quantizer = qbiome.quantizer.Quantizer(num_levels=6)
----> 2 quantizer.load_quantizer_states("forecast_quantizer.pkl")
File ~/miniconda3/lib/python3.12/site-packages/qbiome/quantizer.py:80, in Quantizer.load_quantizer_states(self, in_fname)
74 """Load in
self.column_names, self.variable_bin_map, self.random_forest_dict
from file75
76 Args:
77 in_fname (str): input file name
78 """
79 with open(in_fname, 'rb') as f:
---> 80 states = pickle.load(f)
81 self.column_names = states['column_names']
82 self.subject_id_column = states['subject_id_column']
File _tree.pyx:867, in sklearn.tree._tree.Tree.setstate()
File _tree.pyx:1573, in sklearn.tree._tree._check_node_ndarray()
ValueError: node array from the pickle has an incompatible dtype:
The text was updated successfully, but these errors were encountered: