自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

原创 LeetCode(easy)-876.Middle of the Linked List

876.Middle of the Linked ListGiven a non-empty, singly linked list with head node head, return a middle node of linked list.If there are two middle nodes, return the second middle node.Example 1:I...

2018-10-13 10:13:47 258

原创 LeetCode(easy)-883.Projection Area of 3D Shapes

883.Projection Area of 3D ShapesOn a N * N grid, we place some 1 * 1 * 1 cubes that are axis-aligned with the x, y, and z axes.Each value v = grid[i][j] represents a tower of v cubes placed on top o...

2018-10-12 18:01:55 411

原创 LeetCode(easy)-884. Uncommon Words from Two Sentences

884. Uncommon Words from Two SentencesWe are given two sentences A and B. (A sentence is a string of space separated words. Each word consists only of lowercase letters.)A word is uncommon if it a...

2018-10-10 11:52:09 259

原创 LeetCode(easy)-888. Fair Candy Swap

888. Fair Candy SwapAlice and Bob have candy bars of different sizes: A[i] is the size of the i-th bar of candy that Alice has, and B[j] is the size of the j-th bar of candy that Bob has.Since they ...

2018-10-09 18:58:48 215

原创 LeetCode(easy)-892、Surface Area of 3D Shapes

892、Surface Area of 3D ShapesOn a N * N grid, we place some 1 * 1 * 1 cubes.Each value v = grid[i][j] represents a tower of v cubes placed on top of grid cell (i, j).Return the total surface area o...

2018-10-07 21:50:20 262

原创 LeetCode(easy)-893、Groups of Special-Equivalent Strings

893、Groups of Special-Equivalent StringsYou are given an array A of strings.Two strings S and T are special-equivalent if after any number of moves, S == T.A move consists of choosing two indices i...

2018-10-06 20:52:41 191

原创 LeetCode(easy)-896、Monotonic Array

896、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 d...

2018-10-04 21:28:27 216

原创 LeetCode(easy)-905、Sort Array By Parity

905、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 tha...

2018-10-04 15:50:56 165

原创 LeetCode(Medium)-647、Palindromic Substrings

647、Palindromic SubstringsGiven a string, your task is to count how many palindromic substrings in this string.The substrings with different start indexes or end indexes are counted as different sub...

2018-10-01 21:13:45 267

原创 Ubuntu16.04+CPU+caffe-SSD环境配置过程

一、安装Ubuntu16.04(略)二、安装Caffe-SSD并测试安装前sudo apt-get update #更新软件列表sudo apt-get upgrade #更新软件依赖包sudo apt-get install -y build-essential #编译工具,通常已安装sudo apt-get install -y cmakesudo apt-get instal...

2018-09-29 17:45:51 1625

原创 LeetCode(easy)-1、Two Sum

1、Two SumGiven an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use ...

2018-09-29 17:24:07 219

原创 百度新手赛:充电桩故障分类与检测<2>

基础模型训练: 上档次

2018-09-29 15:13:20 1578 1

原创 百度新手赛:充电桩故障分类与检测<1>

赛题介绍: 本赛题为新能源汽车充电桩的故障检测问题,赛题提供85500条训练数据(标签:0代表充电桩正常,1代表充电桩有故障),参赛者需对36644条测试数据进行预测。评价标准: 本赛题采用f1-Score评分,f1评分公式: 其中,precision为准确率,recall为召回率, β=1,准确率和召回率同等重要。数据说明: 1.训练数据: 数据格式:[id,K1K2驱动信...

2018-09-29 14:51:03 4035 9

原创 Hbase实战之Python调用happybase库

欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I...

2018-09-29 14:46:34 929

原创 Python一些函数的用法总结

一、字符串的split用法 描述 Python split() 通过指定分隔符对字符串进行切片,如果参数 num 有指定值,则仅分隔 num 个子字符串 语法 split() 方法语法:str.split(str=”“, num=string.count(str)). 参数 str – 分隔符,默认为所有的空字符,包括空格、换行(\n)、制表符(\t)等。 num – 分割次数。 ...

2018-06-13 10:24:26 349

原创 TensorFlow中无法导入MNIST数据集

当我运行下面代码时,提示我无法下载mnist数据集。mnist = input_data.read_data_sets("data", one_hot=True)# 设置变量x = tf.placeholder("float", [None, 784])W = tf.Variable(tf.zeros([784, 10]))b = tf.Variable(tf.zeros([10]))...

2018-06-13 09:37:48 2137

原创 Anaconda安装pyecharts

Win7,ANACONDA3(64-bit),Python3.6。ANACONDA Prompt中不能用使用pip install pyecharts 进行安装,并且是在安装了TensorFlow后才发生的,一直报错。报错如下: 解决办法:输入命令1、conda install -c anaconda html5lib会看到一系列更新的结果,然后再次使用pip安装包,发现可以成功...

2018-06-12 22:58:04 34207 9

原创 安装docker时测试不成功

一直想写博客,但是不知道从何开始写起,那么今天就从这个小问题开始写起吧。记录一下自己的学习过程。使用Docker官网的安装步骤安装完成后,当我想测试一下是否安装成功后,却出现了下面的报错demo@demo-VirtualBox:~$ sudo docker run hello-worlddocker: Error response from daemon: Could not che...

2018-05-29 11:06:50 2923

caffe-ssd环境配置过程

基于CPU的caffe的环境配置过程,本文档亲测无误,可供参考

2018-10-08

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

TA关注的人

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