Given an array of integers and an integer k, you need to find the minimum size of continuous subarrays whose sum equals to k, and return its length. i ...
分类:
其他好文 时间:
2020-03-18 09:33:00
阅读次数:
42
导读 从一开始的AlphaGo击败世界冠军、到今天的自然语言处理、自动驾驶等,这与机器学习之强化学习算法息息相关。这股技术热浪也在逐年上升中。本文通俗语言简洁强化学习原理,马尔科夫过程,以及深度强化学习的应用。 概论 随着近些年人工智能领域的发展,机器学习技术被分为监督学习、无监督学习和强化学习三大 ...
分类:
其他好文 时间:
2020-03-17 14:06:39
阅读次数:
77
什么是Spark SQL? Spark SQL是Spark用来处理结构化数据的一个模块,它提供了2个编程抽象:DataFrame和DataSet,并且作为分布式SQL查询引擎的作用。 我们已经学习了Hive,它是将Hive SQL转换成MapReduce然后提交到集群上执行,大大简化了编写MapRe ...
分类:
数据库 时间:
2020-03-11 10:46:14
阅读次数:
68
EXPLAIN output columns(解释输出列) Each output row from EXPLAIN provides information about one table . Each cotains the values summarized in Table 8.1 "EXP ...
分类:
其他好文 时间:
2020-03-09 13:38:10
阅读次数:
121
Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the stat ...
分类:
其他好文 时间:
2020-02-29 20:40:05
阅读次数:
67
import requests resp = requests.get('http://httpbin.org/get') print(type(resp.headers)) print(resp.headers['Content-Type']) actual_headers = {} for k, ...
分类:
编程语言 时间:
2020-02-23 20:08:06
阅读次数:
206
DAGScheduler类位置:org.apache.spark.scheduler //DAGScheduler调度的核心入口 1 private[scheduler] def handleJobSubmitted(jobId: Int, 2 finalRDD: RDD[_], 3 func: ( ...
分类:
其他好文 时间:
2020-02-22 00:19:46
阅读次数:
64
Linux find命令用来在指定目录下查找文件。任何位于参数之前的字符串都将被视为欲查找的目录名。如果使用该命令时,不设置任何参数,则find命令将在当前目录下查找子目录与文件。并且将查找到的子目录和文件全部进行显示。 语法 find path -option [ -print ] [ -exec ...
分类:
系统相关 时间:
2020-02-19 16:55:18
阅读次数:
90
在 https://www.cnblogs.com/lqerio/p/11117498.html 使用了appveyor 进行 hexo 博客的版本控制持续集成。 今天push 到 github的 repo时报错 appveyor build failed 打开appveyor 的细节提示 Buil ...
分类:
移动开发 时间:
2020-02-14 14:43:31
阅读次数:
121
题目如下: Given two numbers, hour and minutes. Return the smaller angle (in sexagesimal units) formed between the hour and the minute hand. Example 1: Inp ...
分类:
其他好文 时间:
2020-02-09 18:15:29
阅读次数:
313