2018年6月12日

sklearn的画图

摘要: from sklearn.metrics import roc_curve fpr, tpr, thresholds=roc_curve(y_train_5, y_scores) fpr, tpr >>> (array([0.00000000e+00, 0.00000000e+00, 1.83220 阅读全文

posted @ 2018-06-12 18:32 下士闻道 阅读(1376) 评论(0) 推荐(0) 编辑

HBase常用指令

摘要: disable 'smsFlow'drop 'smsFlow'create 'smsFlow','info','partition'count 'smsFlow'scan 'smsFlow' truncate 'smsFlow' 阅读全文

posted @ 2018-06-12 15:52 下士闻道 阅读(145) 评论(0) 推荐(0) 编辑

Sentry从0到1

摘要: 无Sentry 在没有sentry的情况下,他的权限逻辑是这样的:jdbc采用hive权限创建的表,只有hive用户可以看到;hue用户是无法看到的; Sentry 在启用sentry,就是基于sentry的授权体系了。 安装Sentry 启动Sentry,首先要安装: 1. 安装sentry服务; 阅读全文

posted @ 2018-06-12 15:43 下士闻道 阅读(1221) 评论(0) 推荐(0) 编辑

导航