自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 batch_size, epochs,iteration参数设置的基本概念

(1)batch_size:单次训练用的样本数,通常为2^N,如32、64、128…例如:batch_size=32为每一次载入数据集为32个样本数。相对于正常数据集,如果过小,训练数据就收敛困难;过大,虽然相对处理速度加快,但所需内存容量增加。要根据电脑的内存容量进行设定,使用中需要根据计算机性能和训练次数之间平衡。另:如果batch_size设置为最大,就是原始的梯度下降。如果batch_size设置为1,则位随机梯度下降。(2)iteration:1个iteration等于使用batc

2022-02-15 18:08:50 4211

原创 解决ValueError: You must specify either total_examples or total_words, for proper alpha and....问题

1.运行报错:ValueError: You must specify either total_examples or total_words, for proper alpha and progress calculations. The usual value is total_examples=model.corpus_count.2.解决方法:添加参数问题:

2022-02-13 22:48:14 1371

原创 解决TypeError: __init__() got an unexpected keyword argument ‘iter‘的问题

1.在运行word2vec_train自定义函数中出错TypeError: init() got an unexpected keyword argument ‘size’2.查找资料再word2vec源码里面def __init__( self, sentences=None, corpus_file=None, vector_size=100, alpha=0.025, window=5, min_count=5, max_vocab_size=None, sam

2022-02-13 16:28:57 19302

转载 解决用cmd更新pip出错ValueError: Unable to find resource t64.exe in package pip._vendor.distlib

1、在用cmd python -m pip install --upgrade pip 更新pip时出错2、卸载setuptools工具(可能因为版本太低了)在命令行中输入 python -m pip uninstall pip setuptools3.重新下载setuptools工具在命令行中输入 pip install --upgrade setuptools4.重新更新pip在命令行输入python -m pip install --upgrade pip 问题解决...

2022-02-11 19:43:54 1326 3

泰迪杯第八届数据挖掘挑战赛C题数据

泰迪杯第八届数据挖掘挑战赛C题数据

2022-03-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除