- 博客(22)
- 资源 (11)
- 收藏
- 关注
原创 零基础学TensorFlow(二):初识TensorFlow
前言第一篇文章中我们成功的安装了TensorFlow,并且在代码中引入了TensorFlow。但是对于零基础的我来说,仍然没有搞清楚TensorFlow是个什么东东(相信很多人都感觉这水平很low),在这篇文章中介绍一下TensorFlow是怎么来的,又是干啥的~TensorFlow是什么当开始学习TensorFlow的时候,一般都会找到官网进行学习。对于TensorFlow是什么,官网有一段说明:
2017-06-29 17:52:06
6849
原创 零基础学TensorFlow(一):virtualenv及TensorFlow环境搭建
Python虚拟环境virtualenv安装 TensorFlow安装
2017-06-20 22:44:06
5644
原创 LeetCode 算法刷题(13)
13. Roman to Integer Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. public int romanToInt(String s) { int result = 0;
2017-04-05 17:00:23
348
原创 LeetCode 算法刷题(12)
12. Integer to Roman Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. 罗马数字 罗马数字是古罗马时期的计数系统,也是最早的数字表示方式,多用于钟表、日历和章节编号。一般认为,罗马数字只
2017-04-03 13:54:32
518
原创 NLTK安装错误集合
运行《Python自然语言处理》中的例子时出现了一系列的问题,零零散散,耗费将近一周的时间,各种问题各种出╮(╯▽╰)╭万事开头难啊~ 前言 基本环境是centos,在这基础上安装nltk,相信会有很多安装教程都有详细说明,当然按照nltk的官方文档是最好的:http://nltk.org/install.html nltk安装报ASCII问题 这个问题据说是因为python版本问题,好像
2017-03-31 15:50:33
6208
原创 LeetCode 算法刷题(11)
11. Container With Most Water Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of lin
2017-03-27 18:01:31
752
原创 LeetCode 算法刷题(10)
10. Regular Expression Matching Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding element. The ma
2017-03-26 14:41:34
385
原创 LeetCode 算法刷题(9)
9. Palindrome Number Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? (ie, -1) If you
2017-03-23 18:29:24
277
原创 LeetCode 算法刷题(5)
5. Longest Palindromic Substring Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of sis 1000. Example: Input: "babad" Output: "bab" Not
2017-03-22 13:33:59
341
原创 LeetCode 算法刷题(6)
6. ZigZag Conversion The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
2017-03-22 13:30:22
274
原创 LeetCode 算法刷题(7)
7. Reverse Integer Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers. Note: The input is assumed to be a 32-bit signed
2017-03-22 13:27:00
1018
原创 centos gcc 升级4.8
最近在学习kaldi,在测试服务器上进行练习,发现测试服务器的Linux是centos系统,目前的gcc版本是4.4,但是kaldi需要至少为4.7版本的,进行了一次升级,到4.7,make了一下kaldi,仍然报错如下: ./../include/fst/shortest-distance.h:283:54: error: no type named ‘Weight’ in ‘using Re
2017-03-19 15:36:49
1169
原创 Swagger-PHP 自定义生成API
从此接口文档成为一笑而过,从此服务端不再被客户端追债似得要接口文档 主要内容: 1、项目背景 2、Swagger应用 3、总结 项目背景 作为一个服务端开发人员,我相信大多数的同学都会和客户端开发同学沟通接口问题。 但是啊,但是,每当我们高高兴兴的开发完成,告诉客户端和前端同学可以调试的时候,通常大家会问一句“文档呢
2016-08-10 11:20:56
12946
原创 LeetCode 算法刷题(4)
4. Median of Two Sorted Arrays There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be
2016-08-01 14:22:21
450
原创 LeetCode 算法刷题(373)
373. Find K Pairs with Smallest Sums You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v) which consists of one element from the
2016-07-25 15:59:09
616
原创 LeetCode 算法刷题(3)
3. Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc",
2016-07-25 15:55:46
688
原创 mysqlworkbench 'delayed-insert=FALSE'
使用workbench export 数据库,发现报错 'delayed-insert=FALSE',经过查找是mysql版本问题,workbench是5.7,远程mysql是 5.6,指定dump的exe文件解决,edit》preferences》Administration》path to mysqldump tool指定自己安装的mysqldump.exe可以解 决。
2015-11-03 13:39:56
1110
原创 Axis1.4实例说明——服务端、客户端
一、服务端 1、下载axis1.4的jar包 2、创建WebProject 3、将下载的axis1.4下的所有jar导入到项目中 4、修改web.xml文件,这个跟servlet有很多相似的地方,对比着看就行了 xml version="1.0" encoding= "UTF-8"?> web-app version="3.0" xmlns="http:/
2013-06-20 16:05:27
2203
转载 Web前端之struts2框架基于uploadify上传
晒友阁与您分享Web前端 最近在一个上传下载的小功能,为了更加美观,也为了练习一下,我是用了uploadify的jquery插件开发上传功能,简单的struts2下载。下面来介绍一下。 上传功能: 上传功能,它主要包括三个层次(这里不包括数据库的链接等问题):jsp页面;struts配置文件;action层java类。 页面上,首先要做
2012-10-08 13:50:26
944
转载 web开发之软件开发读书笔记(一)
晒友阁与您分享web开发 开始动手写这篇文章的原因很简单,笔者在一次web开发时遇到了一些问题,例如开发周期短,需求不明确等等。连续十几天晚十二点,早4点的死磕再加上一个通宵过后,总算是连滚带爬的把项目交上去了,但,结果可想而知,必然是差强人意。对于这个结果作为一个职员而言,我觉得自己已经尽力了。而作为一个程序员,我不停的在想,怎样才能做得更好呢? 很幸运,偶然的机会看到HeadFir
2012-09-27 21:33:17
890
原创 ORA-01461: can bind a LONG value only for insert into a LONG column oracle
今天碰上一个奇怪的问题ORA-01461:can bind a LONG value only for insert into a LONG column orracle,因为使用myeclipse自动生成的实体类,第一反应我肯定是有在什么地方用了Long型的定义,所以我就找啊找啊,没找到。后来又发现,这个问题是处在一个String类型的值插入上,很是不解,于是,映射文件、配置文件、数据库、实体类
2012-07-31 13:26:35
2537
原创 jquery的wysiwyg富文本编辑器使用
wysiwyg是jquery的一个富文本编辑器,可以应用在网站编辑中。 1、下载wysiwyg。 2、将wysiwyg解压缩导入到web工程的WebRoot文件夹下 3、新建一个jsp页面 Example: Full - jWYSIWYG (function($) { $(document).ready(function() { $('#wysiw
2012-07-25 11:11:15
5682
dreamweaver html插件
2012-07-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人