Python 如何在HTML或Google BigQuery中存储eli5 fig
如何在HTML或Google BigQuery中存储eli5预测值。 使用这部分代码:Python 如何在HTML或Google BigQuery中存储eli5 fig,python,matplotlib,google-bigquery,Python,Matplotlib,Google Bigquery,如何在HTML或Google BigQuery中存储eli5预测值。 使用这部分代码: pred = eli5.show_prediction(lr_model.named_steps["model"], X_test.iloc[[i]],feature_names=num_features, show_feature_values=True) 当您使用pandas时,我建议您使用将您的值存储到Cloud BigQuery()。 dataframe.to_gbq('YourBQdataset
pred = eli5.show_prediction(lr_model.named_steps["model"], X_test.iloc[[i]],feature_names=num_features, show_feature_values=True)
当您使用pandas时,我建议您使用将您的值存储到Cloud BigQuery()。
dataframe.to_gbq('YourBQdataset.Yourtable',... )