- 博客(3)
- 收藏
- 关注
原创 前端资料网址总结
GitHub前端项目推荐:https://www.jianshu.com/p/0ad3bc8e55f6 JS组件——Form表单验证:BootstrapValidator
2019-04-25 12:19:39 117
原创 leetcode——implement strstr()问题两种解决方法的运行速度为何差距这么大
这个用substring获得字串,在用equals比较 class Solution { public int strStr(String haystack, String needle) { int i=0,j; if(needle.length()==0){ return 0; } int t ...
2019-03-25 16:05:33 174
原创 TfidfVectorizer - Vocabulary wasn't fitted
tfidf_train = TfidfTransformer().fit_transform(X_new) test_data = TfidfVectorizer().transform(val_test) 这是因为在计算训练数据的tfidf之前进行卡方检验筛出了一部分的特征值(即特征词),那么返回的tfidf_train的二维矩阵每一行维度就会比原始数据矩阵维度小,因为筛出了一部分词,例如卡...
2018-12-16 17:40:07 3101
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人