自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 【二】SQL高级用法

选头2条SELECT TOP 2 * FROM Persons从上面的 "Persons" 表中选取 50% 的记录。SELECT TOP 50 PERCENT * FROM Persons从上面的 "Persons" 表中选取居住在以 "N" 开始的城市里的人:SELECT * FROM Persons WHERE City LIKE 'N%'从 "Persons" 表中选取居住在以 "g" 结尾的城市里的人:SELECT * FROM Persons WHERE City LIKE '%

2022-04-27 15:22:05 186

原创 【一】SQL基础用法

SELECT - 从数据库中提取数据UPDATE - 更新数据库中的数据DELETE - 从数据库中删除数据INSERT INTO - 向数据库中插入新数据CREATE DATABASE - 创建新数据库ALTER DATABASE - 修改数据库CREATE TABLE - 创建新表ALTER TABLE - 变更(改变)数据库表DROP TABLE - 删除表CREATE INDEX - 创建索引(搜索键)DROP INDEX - 删除索引......

2022-04-20 19:18:19 83

原创 webpack学习

webpack 的基本概念和配置:https://blog.csdn.net/congboer/article/details/94215791从零开发一套完整的vue项目开发环境https://juejin.im/post/5e0cba76f265da5d4e27480c#heading-2

2020-03-17 16:26:03 105

原创 使用Webstorm开发微信小程序

https://blog.csdn.net/Heijinbaitu/article/details/79123282

2020-03-03 22:12:51 1077

原创 异步编程

基于事件驱动,一个库扫描一遍,哪一个先完成事件该进入下一个事件遍使用该事件。举个例子,不限时的考试,考生自行交卷的形式收卷子。

2020-02-12 18:49:13 94 1

原创 Java笔记总结

B/S browser/serverC/S client/server(不再通过浏览器访问服务器,比如手机端)java依然会存在内存泄漏和溢出的问题。jdk开发jre运行,编写->编译->执行,cmd输入"javac 文件名.java"(编译过程) ''java 类名"(执行过程)java严格区分大小写,执行语句以分号结尾。...

2019-11-05 22:22:04 91

原创 JavaWeb

eclipse安装 spring booteclipse -> help -> eclipse Marketplaces 搜索sts,然后安装,一直next。(国外镜像,嫌慢可以用国内镜像)spring boot 创建web项目:file–>New–>Spring Boot –> Spring Starter Project 如果没有弹出选项,在浏览器中输入网...

2019-11-04 20:23:49 77

原创 epoch&iteration

epoch指的是遍历所有训练数据forward+backward后更新参数的过程。iteration指的是一个batch训练数据forward+backward后更新参数过程。

2019-09-28 15:51:22 196 1

原创 Git 使用

首先官网下载git安装注意事项这项必选选第一个,就不用从cmd中进入git了,我们专用bashwindows下的代码迁移至unix下,自动修改格式勘误把红框里的勾去掉。新建开发项目提交初始化之后可看到.git隐藏文件,然后配置代码抬头注:git config --global user.emai "xxx"全局,配置在C盘下查看状态与文件夹/代码提交绿色部...

2019-09-14 17:48:21 90 1

原创 深度学习环境配置 cuda+cudnn+win10

吸取经验教训,建议不要先安装python,找到对应版本最后安装python比较合适,,不要一开始安装3.7然后发现对应的版本只支持3.5这样比较麻烦,,好的,步入正题。tensorflow对应的版本我是cuda10.1 cudnn7.6pytorch对应的版本...

2019-09-08 16:21:42 605

原创 SenseSmart Linux 各种环境配置

说明:ubuntu18.04版本QQ微信网页登陆失败,在linux环境下不友好哦。ubuntu18.04里适配的QQ版本不能用,但是有wineQQ首先来下载这个红酒杯sudo apt-get install wine[sudo] sense 的密码: 正在读取软件包列表... 完成正在分析软件包的依赖关系树 正在读取状态信息... 完成 虚拟软件包 wi...

2019-08-06 11:48:26 307

原创 linux第一天

真是一个完美的双系统呢!!! from ubuntu18.04

2019-08-05 23:57:18 96

原创 leetcode Day33----array.easy

Add to Array-Form of IntegerFor a non-negative integer X, the array-form of X is an array of its digits in left to right order. For example, if X = 1231, then the array form is [1,2,3,1].Given the ...

2019-05-27 13:24:50 129

原创 leetcode Day32----array.easy

Valid Mountain ArrayGiven an array A of integers, return true if and only if it is a valid mountain array.Recall that A is a mountain array if and only if:A.length >= 3There exists some i with ...

2019-05-27 13:23:51 129

原创 leetcode Day31----array.easy

Sort Array By ParityGiven an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A.You may return any answer array that sa...

2019-05-09 18:34:17 108

原创 leetcode Day30----array.easy

Monotonic ArrayAn array is monotonic if it is either monotone increasing or monotone decreasing.An array A is monotone increasing if for all i <= j, A[i] <= A[j]. An array A is monotone decre...

2019-05-08 18:42:18 88

原创 leetcode Day29----array.easy

Maximize Distance to Closest PersonIn a row of seats, 1 represents a person sitting in that seat, and 0 represents that the seat is empty.There is at least one empty seat, and at least one person si...

2019-05-07 22:00:46 149

原创 leetcode Day28----array.easy

Magic Squares In GridA 3 x 3 magic square is a 3 x 3 grid filled with distinct numbers from 1 to 9 such that each row, column, and both diagonals all have the same sum.Given an grid of integers, how...

2019-05-06 11:23:30 92

原创 leetcode Day27----array.easy

Flipping an ImageGiven a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image.To flip an image horizontally means that each row of the image is rev...

2019-05-05 21:51:36 131

原创 leetcode Day26----array.easy

Positions of Large GroupsIn a string S of lowercase letters, these letters form consecutive groups of the same character.For example, a string like S = “abbxxxxzyy” has the groups “a”, “bb”, “xxxx”,...

2019-05-04 22:57:47 85

原创 leetcode Day25----array.easy

Toeplitz MatrixA matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element.Now given an M x N matrix, return True if and only if the matrix is Toeplitz.Example 1:Inpu...

2019-05-03 23:05:21 135 2

原创 leetcode Day24----array.easy

Largest Number At Least Twice of OthersIn a given integer array nums, there is always exactly one largest element.Find whether the largest element in the array is at least twice as much as every oth...

2019-05-02 21:37:07 104

原创 leetcode Day23----array.easy

Min Cost Climbing StairsOn a staircase, the i-th step has some non-negative cost cost[i] assigned (0 indexed).Once you pay the cost, you can either climb one or two steps. You need to find minimum c...

2019-05-01 22:50:17 96

原创 leetcode Day22----array.easy

Find Pivot IndexGiven an array of integers nums, write a method that returns the “pivot” index of this array.We define the pivot index as the index where the sum of the numbers to the left of the in...

2019-04-30 22:05:20 90

原创 leetcode Day21----array.easy

1-bit and 2-bit CharactersWe have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 11).Now given a string repre...

2019-04-29 19:29:18 89

原创 leetcode Day20----array.easy

Non-decreasing ArrayGiven an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element.We define an array is non-decreasing if array[i] <= arra...

2019-04-28 11:18:46 127

原创 leetcode Day19----array.easy

Image SmootherGiven a 2D integer matrix M representing the gray scale of an image, you need to design a smoother to make the gray scale of each cell becomes the average gray scale (rounding down) of ...

2019-04-27 21:20:59 78

原创 leetcode Day18----array.easy

Maximum Product of Three NumbersGiven an integer array, find three numbers whose product is maximum and output the maximum product.Example 1:Input: [1,2,3]Output: 6Example 2:Input: [1,2,3,4]Out...

2019-04-26 14:18:45 97

原创 leetcode Day17----array.easy

Can Place FlowersSuppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they would compete for water and bot...

2019-04-25 22:19:51 73

原创 leetcode Day16----array.easy

Shortest Unsorted Continuous SubarrayGiven an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be sorted in as...

2019-04-24 22:56:21 105

原创 leetcode Day15----array.easy

K-diff Pairs in an ArrayGiven an array of integers and an integer k, you need to find the number of unique k-diff pairs in the array. Here a k-diff pair is defined as an integer pair (i, j), where i ...

2019-04-23 21:05:30 131

原创 leetcode Day14----array.easy

Find All Numbers Disappeared in an ArrayGiven an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once.Find all the elements of [1, n] inclusive...

2019-04-22 16:20:20 95

转载 PyTorch——CIFAR-10分类

import torchvision as tvimport torchvision.transforms as transformsfrom torchvision.transforms import ToPILImageshow = ToPILImage() transform = transforms.Compose([ transforms.ToTensor(),...

2019-04-21 21:57:01 355

原创 leetcode Day13----array.easy

Missing NumberGiven an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing from the array.Example 1:Input: [3,0,1]Output: 2Example 2:Input: [9,6,4,2,3,5,7,...

2019-04-21 10:37:08 119

转载 Pytorch vs Tensorflow

2019-04-20 22:37:20 79

原创 leetcode Day12----array.easy

Shortest Word Distance

2019-04-20 11:45:11 69

原创 leetcode Day11----array.easy

Contains DuplicateGiven an array of integers, find if the array contains any duplicates.Your function should return true if any value appears at least twice in the array, and it should return false ...

2019-04-19 23:07:53 98

原创 CPU vs GPU【持续更新】

最近大数据课程上五次上机课都是深度学习相关,会持续更新。

2019-04-18 21:58:32 123

原创 leetcode Day10----array.easy

Majority ElementGiven an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the major...

2019-04-18 15:44:51 108

原创 leetcode Day9----array.easy

在刷题之前,折腾好了第一个github项目,学会了上传以前的一个代码。https://github.com/sensegirl/HUAWEI2019codecraft用github desktop桌面版传还是遇到了些问题,用下面的方法上传成功。附知乎链接:https://zhuanlan.zhihu.com/p/34625448Two Sum II - Input array is sor...

2019-04-17 20:17:42 94

空空如也

空空如也

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

TA关注的人

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