You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an EBM with no missing values (I saw this was an issue before), and feature types of 'continuous' and 'nominal' only. I see no information in my metric panel when passing sample_data.json.
I have to subset my data as loading all 200k samples of my test dataframe causes an 'Out-of-memory- error in my google chrome browser.
Hi all,
When using an EBM with no missing values (I saw this was an issue before), and feature types of 'continuous' and 'nominal' only. I see no information in my metric panel when passing sample_data.json.
I have to subset my data as loading all 200k samples of my test dataframe causes an 'Out-of-memory- error in my google chrome browser.
import gamchanger as gc
from json import dump
Extract model weights
model_data = gc.get_model_data(ebm)
Generate sample data
sample_data = gc.get_sample_data(ebm, X_test.tail(2000), y_test.tail(2000))
Save to
model.json
andsample.json
dump(model_data, open('./model.json', 'w'))
dump(sample_data, open('./sample.json', 'w'))
Load GAM Changer with the model and sample data
import gamchanger as gc
gc.visualize(ebm, model_data=model_data, sample_data=sample_data)
The text was updated successfully, but these errors were encountered: