
知识_问题_专栏
侠客儿青争ing
这个作者很懒,什么都没留下…
展开
-
Unresolved object in checkpoint (root) 原因解析
非常清晰 有效的解答 感谢原创 2020-10-11 21:39:01 · 4332 阅读 · 4 评论 -
tf2保存加载模型
第一 官方可以直接保存整个模型,将模型保存为HDF5文件# 创建模型实例model = create_model()# 保存模型到HDF5文件model.save('my_model.h5')# 读取模型model = keras.models.load_model('my_model.h5')第二 自定义当出现报错得时候 – NotImplementedError: Saving the model to HDF5 format requires the model to be a F原创 2020-09-24 22:00:37 · 1657 阅读 · 0 评论 -
tf2 数据转换
添加链接描述转载 2020-09-22 14:09:58 · 242 阅读 · 0 评论 -
pytorch 运行项目出现错误 :WinError 5 拒绝访问 --- 解决办法
实际操作好使!! 就是把anaconda python 权限开到最高级 操作之后 运行流畅原创 2020-09-13 10:26:13 · 2329 阅读 · 0 评论 -
python读写
很全转载 2020-09-07 17:07:47 · 99 阅读 · 0 评论 -
错误解决:FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated; in a future ver
出错原因 numpy版本太高解决方法一:直接 pip install numpy==1.16.0解决方法二:pycharm改设置第三种方法 :原创 2020-09-07 15:14:05 · 1363 阅读 · 0 评论 -
pip安装 time out
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 库名原创 2020-08-26 15:51:29 · 155 阅读 · 0 评论 -
CountVectorizer()参数详解
CountVectorizer(input='content', encoding='utf-8', decode_error='strict', strip_accents=None, lowercase=True, preprocessor=None, tokenizer=None, stop_words=None, token_pattern='(?u)\b\w\w+\b', ngram_range=(1, 1), analyzer='word', max_df=1.0, min_df=1, ma原创 2020-07-23 15:25:33 · 5016 阅读 · 1 评论 -
解决prompt下载速度慢问题
终于知道 6到飞起是啥意思了原创 2020-04-26 15:38:35 · 413 阅读 · 0 评论 -
环境出错记录1
错误描述原创 2020-03-26 17:42:39 · 112 阅读 · 0 评论 -
pycharm里包呈灰色
pycharm里包呈灰色原创 2020-01-07 20:35:59 · 824 阅读 · 0 评论 -
ML_末_实践问题简记
正态化-scaler许多学习算法中目标函数的基础都是假设所有的特征都是零均值并且具有同一阶数上的方差。如果某个特征的方差比其他特征大几个数量级,那么它就会在学习算法中占据主导位置,正态化好处—提高收敛速度pipelines之所以引入管道机制pipeline 是因为参数集要重复使用,比如不同的算法比较的 重复过程。------把重复的东西流水化嘛引入pipelines–两部分 tra...原创 2020-01-14 21:31:58 · 106 阅读 · 0 评论 -
sklearn为什么只对trains数据fit_transform,对测试集只transform???
x_train=pca.fit_transfrom(x_train)x_test=pca.transfrom(x_test)首先:答案是:为了避免过拟合。测试集自己训练自己 量体裁衣可还行……NO~原创 2020-02-20 21:38:45 · 343 阅读 · 0 评论 -
data.plot()属性记录
dataFram.plot()属性记录官方API:https://github.com/pandas-dev/pandas/blob/v0.25.3/pandas/plotting/_core.py#L504-L1533原创 2020-01-09 12:23:48 · 3790 阅读 · 0 评论