08 2016 档案
摘要:二元分类的效果评估方法有很多,常见的包括预测模型中使用的准确率(accuracy),精确率(precision)和召回率(recall)三项指标,以及综合评价指标(F1 measure), ROC AU值(Receiver Operating Characteristic ROC,Area Unde
阅读全文
摘要:直接上代码:import matplotlib.pylab as pltimport numpy as npplt.figure()axes=plt.gca()y= np.random.randn(9)col_labels=['col1','col2','col3']row_labels=['row1','row2','row3']table_vals=[[11,12,13],[21,22,23]...
阅读全文
摘要:import sqlite3 # create database conn = sqlite3.connect('test.db') #不存在就创建后再打开 print ("Opened database successfully") conn.execute('''''CREATE TABLE C
阅读全文

浙公网安备 33010602011771号