Test post

Posted on April 28, 2017 by Dang Tran

This is a test blog
I have some code lines today:

plt.clf()
# measurements = [ u'precision', u'recall', u'F1', u'MCC', u'RMSE', u'ROC_CAU']
sns.set_style('ticks')

# for mea in measurements:
#     cor = color.pop()
# #     svm_accuracy_importance[mea].plot(label='SVM '+ mea, c=cor)
# #     svm_accuracy['MCC'].plot(label='SVM MCC')
#     lr_accuracy_importance[mea].plot(label= mea,c=cor)
#     logistic_accuracy['MCC'].plot(label='LR MCC')
# svm_accuracy['RMSE'].plot(label='RMSE')
lr_accuracy_importance[measurements_2].plot(title="Logistic Regression",grid=True,
style=styles[len(measurements)])
plt.grid(linestyle=':',c='black')
plt.legend(loc='lower right', fancybox=False)
# plt.legend(loc=4)
plt.ylim([0,0.1])
plt.gcf().set_size_inches(fig_width,fig_height)
plt.savefig('lr_against_importance_weight_b.pdf',bbox_inches='tight')
#plt.show()