自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (7)
  • 收藏
  • 关注

原创 matlab读取excel文件(隔离字符串及数字)

有时候保存在excel的数据里既包含字符串又包含数字,而我们仅需要数字进行处理。如下图所示,要是很有规律,则可以用matlab方便的进行筛选和处理。代码如下:clear variablesclose allclc%% 读取excel文件[filename, pathname,~] = uigetfile({'*.xlsx'},'MultiSelect','off...

2018-02-28 10:34:36 4533

原创 [Leetcode从零开刷]119. Pascal's Triangle II

题目来源leetcode题目要求:Given an index k, return the kth row of the Pascal’s triangle.For example, given k = 3, Return [1,3,3,1].Note: Could you optimize your algorithm to use only O(k) extra...

2018-02-28 10:11:57 143

原创 Python第一课——访问网址

python爬虫爬虫已经存在很长时间了,是学习编程入门非常好的练手项目,因为用python做爬虫简单靠谱。而且是最近火的不能再火的python在AI的应用异军突起,所以选择用python学习爬虫绝对意义非凡。爬虫,顾名思义就是一只在互联网上爬来爬去的虫,并且爬过的地方都会将此处的信息记录下来。在信息爆炸的时代,能有效获取数据或是其他信息,是未来世界有利的生存武器。数据分析在金融和A...

2018-02-25 22:43:23 1223

原创 [Leetcode从零开刷]66. Plus One

题目来源leetcode题目:Given a non-negative integer represented as a non-empty array of digits, plus one to the integer.You may assume the integer do not contain any leading zero, except the number ...

2018-02-09 18:02:05 140

原创 [Leetcode从零开刷]18. Pascal's Triangle

题目来源leetcode题目:Given numRows, generate the first numRows of Pascal’s triangle.For example, given numRows = 5, Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]]解答:...

2018-02-09 10:23:05 132

原创 [Leetcode从零开刷]217. Contains Duplicate

题目来源leetcode题目Given 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 ...

2018-02-08 17:21:51 168

原创 121. Best Time to Buy and Sell Stock[Leetcode从零开刷]

题目来源:leetcode题目Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction (ie, buy one and sell o

2018-02-05 09:27:37 204

原创 747. Largest Number At Least Twice of Others[Leetcode从零开刷]

题目来源:leetcode题目In 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 other number in the

2018-02-04 22:53:20 201

原创 746. Min Cost Climbing Stairs[Leetcode从零开刷]

题目来源leetcode题目:On 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 co

2018-02-04 22:33:37 130

原创 268. Missing Number[Leetcode从零开刷]

题目来源:leetcode题目:Given an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing from the array.Example 1Input: [3,0,1] Output: 2 Example 2Input: [9,

2018-02-04 17:01:07 293

原创 628. Maximum Product of Three Numbers[Leetcode从零开刷]

题目来源leetcode题目原题:Given an integer array, find three numbers whose product is maximum and output the maximum product.Example 1: Input: [1,2,3] Output: 6 Example 2: Input: [1,2,3,4] Outpu

2018-02-04 16:08:06 189

原创 661. Image Smoother[Leetcode从零开刷]

题目来源leetcode原文:Given 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 d

2018-02-04 11:50:04 146

原创 [Leetcode从零开刷]217. Contains Duplicate

题目来源leetcode题目Given 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 f

2018-02-03 12:10:50 119

原创 [Leetcode从零开刷]771. Jewels and Stones

Jewels and Stonesleetcode题目You’re given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of stone you have. ...

2018-02-03 10:23:38 3544

原创 [Leetcode从零开刷]169.Majority Element

题目来源: leetcode: Given 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 maj

2018-02-03 09:18:02 199

原创 [Leetcode从零开刷]690. Employee Importance

题目来源: leetcode: You are given a data structure of employee information, which includes the employee’s unique id, his importance value and his directsubordinates’ id. For example, employee 1 is the

2018-02-02 21:54:36 232

deep_net.7z

pytho入门代码示例,机器学习,背向传输demo、常用工具,比如批量更改文件名等

2019-07-02

sklearn聚合算法整理

机器学习初体验之聚合类算法,随机森林,Boosting正向激励,Extra Trees算法等

2018-06-06

决策树源码

麦子学院的决策树源码,标上了我锁理解的注释,下载即能运行。

2018-06-01

matlab分离字符串和数字的测试数据

测试matlab分离字符串和数字的测试数据,可用来测试matlab分离数字和字符串的代码

2018-02-28

决策树数据

决策数数据,用来验证demo的。 保存成了csv格式,方便测试

2017-12-21

UCOSIII 源码

来自正点原子,感谢。学习os3必须的代码

2017-10-19

空空如也

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

TA关注的人

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