自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 LSTM原理

前言 Tip:        该博客里的内容是博主学习的一些心路历程,期间也会查阅一些其他博客和文献,还有一些自己的理解,可能会存在一些理解不正确的地方。如果阅读这篇博客请带着学习和质疑两种心态。如有问题,欢迎指出。LSTM理论1.LSTM介绍       LSTM(Long Sho...

2018-05-31 16:02:03 2580

原创 Windows10上安装tensorflow-gpu流程

前言最近在windows10上安装了TensorFlow(gpu版),网上也有很多安装教程,但是在实际安装中还是遇到了许多问题,在这里把自己的安装步骤写下来作为一个参考和补充。安装材料:1.CUDA® Toolkit 8.0. 2.cuDNN v7.0 3.Visual Studio 2015(Community)百度云连接:TensorFlow(gpu)安装程序 PS:这里默认GPU在CU

2017-09-25 20:12:58 1246 3

原创 LeetCode53 Maximum Subarray

原题:英: Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [-2,1,-3,4,-1,2,1,-5,4], the contiguous subarray [4,-1,2,1

2017-07-17 20:21:55 328

原创 LeetCode50 pow(x, n)

原题:英: Implement pow(x, n). 中: 实现 pow(x, n) 函数解题思路:实现幂运算,首先会想到用递归实现,但是要考虑很多种情况,比如x为0,n为0,n是负数,越界了等等。代码如下:public class Solution { public double myPow(double x, int n) { if(x==0){return 0;}

2017-07-16 19:29:53 283

原创 简单的matplotlib用法

要引入的库:import matplotlib.pyplot as pltimport pandas as pdimport numpy as npfrom numpy.random import randn一个画板多个图,默认最后在一个添加,也可署名(或者用坐标表示):fig = plt.figure()ax1 = fig.add_subplot(2,2,1)#表示在figure中建立2*

2017-07-10 16:17:41 2323

原创 LeetCode49 Group Anagrams

原题:英: Given an array of strings, group anagrams together. For example, given: [“eat”, “tea”, “tan”, “ate”, “nat”, “bat”] 中: 给定一个字符串数组,将字母颠倒而成的分组。 例如,给出:[“eat”, “tea”, “tan”, “ate”, “nat”, “bat”]

2017-07-06 20:23:27 391

原创 Leetcode48 Rotate Image

原题:英: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? 中: 给定一个n×n的二维矩阵表示一个图像。 将图像旋转90度(顺时针)。 跟进:你能做到这一点

2017-07-05 21:26:24 255

原创 LeetCode47 Permutations II

原题:英: Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have the following unique permutations: 中: 给定一组可能包含重复的数字,返回所有可能的惟一排

2017-07-04 16:26:22 245

原创 LeetCode46 Permutations

原题:英: Given a collection of distinct numbers, return all possible permutations. For example, [1,2,3] have the following permutations: 中: 英:给定一组不同的数据,返回所有可能的排列。 例如,1,2,3有以下排列: [ [1,2,3], [1

2017-07-03 19:10:17 268

原创 LeetCode43 Multiply Strings

原题:英: Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2. Note: The length of both num1 and num2 is < 110. Both num1 and num2

2017-07-02 21:17:35 420

原创 LeetCode40 Combination Sum II

原题:英: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each number in C may only be used once in the combina

2017-07-02 09:48:58 234

原创 LeetCode39 Combination Sum

原题:英:Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be chosen

2017-07-01 21:32:05 314

空空如也

空空如也

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

TA关注的人

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