- 博客(147)
- 资源 (4)
- 收藏
- 关注
原创 python 高亮word单词 并 添加excel解释
python 高亮word单词 并 添加excel解释单词必须前面后面为非单词内容才可以并且保留原文格式
2023-01-10 10:31:01
433
转载 Titanic: Machine Learning from Disaster
#coding:utf-8import pandas as pd#读取训练和测试数据train=pd.read_csv('./train.csv')test=pd.read_csv('./test.csv')#输出训练和测试数据的基本信息print train.info()print test.info()#选择指定的列selected_features=['Pclass'...
2019-01-12 19:12:47
282
转载 CarRental
######################################################################## Copyright (C) ## 2016 Shangtong Zhang(zhangshangtong.cpp@gmail.com) ...
2018-09-01 11:48:19
535
转载 Q-learning 例子注释
"""A simple example for Reinforcement Learning using table lookup Q-learning method.An agent "o" is on the left of a 1 dimensional world, the treasure is on the rightmost location.Run this program ...
2018-04-15 08:32:19
1251
3
转载 struts2中文件下载以及中文乱码
downFileName=new String(downFileName.getBytes("utf-8"),"ISO8859-1");以上代码号称可以解决下载文件名乱码问题,但是一按下载键就报错找不到Input Stream,这是因为文件名编码存在问题。public InputStream getInputStream() throws Exception{ String path2= ...
2018-02-24 17:06:54
390
转载 跳一跳 手动 外挂 辅助 python
#coding:utf-8import osimport subprocessimport randomimport mathfrom time import sleepfrom PIL import Image, ImageTk,ImageFiletry: # for Python2 import Tkinter as tk ## notice capita...
2018-02-10 10:36:27
775
转载 win10使用Ubuntu子系统并添加桌面
启用或关闭Windows功能,勾选适用于Linux的Windows子系统(Beta)”项然后进入“设置 - 更新和安全 - 针对开发人员”设置页面,选中“开发人员模式右键点击Win10开始按钮,选择“Windows PowerShell(管理员)”以管理员身份运行Windows PowerShell。输入并回车运行以下命令、Enable-Wind
2017-10-28 13:39:37
14888
转载 tensorflow 指定GPU
2 python代码中设置使用的GPU如果要在python代码中设置使用的GPU(如使用pycharm进行调试时),可以使用下面的代码(见第二个参考网址中Yaroslav Bulatov的回复):import osos.environ["CUDA_VISIBLE_DEVICES"] = "2"
2017-08-22 13:38:50
779
转载 Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
http://www.cnblogs.com/EasonJim/p/7343892.htmlEasonJimCode, code and more code.Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bi
2017-08-21 18:46:51
18024
原创 tf.transpose
import tensorflow as tfimport numpy as npinput_x = [ [ [1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12] ], [ [13, 14, 15, 16], [17, 18, 19, 20],
2017-07-25 09:11:50
388
转载 YOLO tensorflow
# coding: utf-8 # In[1]: import numpy as np import tensorflow as tf import cv2 import time # In[1]: fromfile = 'test/person.jpg' imshow = True filewrite_img = True filewrite_txt = True disp_cons...
2017-07-24 19:54:33
2264
1
转载 编译caffe windows vs2013 Nuget 无法下载 依赖包
工具-》Nuget包管理器-》程序包管理器设置-》程序包源添加vs2015的源https://api.nuget.ort/v3/index.json
2017-07-22 09:32:50
1643
原创 TypeError: Value passed to parameter 'input' has DataType float64 not in list of allowed values: fl
images=tf.image.convert_image_dtype(images,tf.float32)
2017-07-20 08:01:35
10917
1
转载 caffe 安装
sudo apt-get install git git clone https://github.com/BVLC/caffe.git cp Makefile.config.example Makefile.config gedit Makefile.config 找到#CPU_ONLY := 1,取消注释(我们设置为CPU模式)找到# Whatever else yo
2017-07-08 09:37:06
242
转载 PyCharm 命令行 传递参数
0alt+shift+f10 输入 0 ,然后就有配置界面了 0alt+shift+f10 输入 0 ,然后就有配置界面了
2017-07-06 12:23:31
2041
转载 使用谷歌翻译pdf内容小技巧——快速替换换行
在看外文论文时少不了使用谷歌翻译,在粘贴过程中由于换行会影响翻译效果。手动将粘贴内容中的换行剔除掉是一件令人烦恼的事情,这里向大家介绍一个小技巧:notepad++是一款免费的文本编辑器,小巧玲珑,好用。不做广告了,我也不能拿到钱,还是言归正传。使用notepad++替换功能,快捷键Ctrl+H,也可以在菜单“搜索”--》“替换”打开然后选择“查找模式”为“扩展”,在查找框里输入“\r\n”,在替...
2017-06-03 12:22:02
15791
转载 盘点|最实用的机器学习算法优缺点分析
盘点|最实用的机器学习算法优缺点分析 2017-06-01 AI100 AI100推荐理由对于机器学习算法的盘点,网上屡见不鲜。但目前,还没人能结合使用场景来把问题说明白,而这一点正是本文的目的所在。在文章中,作者将结合他的实际经验,细致剖析每种算法在实践中的优势和不足。
2017-06-03 08:47:41
8717
Reinforcement Learning: An Introduction
2018-05-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人