自定义博客皮肤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)
  • 收藏
  • 关注

原创 VScode远程连接容器无响应(Run in host: id -un)

vscode远程连接容器无响应

2022-10-09 10:58:17 870 1

原创 jupyter notebook添加spark kernel

失败的尝试:pip install toree 通过apache toree添加kernel,jupyter中有apache_toree_scala的选项但是点开现实的是error,发现命令行报错:OSError: [WinError 193] %1 不是有效的 Win32 应用程序。成功的尝试:参考 https://blog.csdn.net/qq_18916311/article/det...

2019-10-10 15:34:37 426

原创 使用Keras搭建LSTM模型进行多变量时间序列预测(一)

使用UCI空气质量数据集为例,原始数据下载地址使用前一小时数据预测后1小时(Timestep=1)参考:https://blog.csdn.net/tMb8Z9Vdm66wH68VX1/article/details/78463811特征列表:Column NameMeaningColumn NameMeaningNO行号TEMP温度year年份PR...

2019-07-01 15:51:58 2192 4

原创 Leetcode69-打卡Day7

ProblemImplement int sqrt(int x).Compute and return the square root of x, where x is guaranteed to be a non-negative integer.Since the return type is an integer, the decimal digits are truncated an...

2019-04-06 18:53:59 217

原创 Leetcode455-打卡Day6

ProblemAssume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor gi, which is the minimum size ...

2019-04-05 21:10:31 148

原创 Leetcode75-打卡Day5

ProblemGiven an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we will use...

2019-04-04 17:48:44 168

原创 Leetcode347-打卡Day4

ProblemGiven a non-empty array of integers, return the k most frequent elements.ExampleInput: nums = [1,1,1,2,2,3], k = 2Output: [1,2]Input: nums = [1], k = 1Output: [1]Note:You may assume k i...

2019-04-03 20:47:53 168

原创 Leetcode703-打卡Day3

ProblemDesign a class to find the kth largest element in a stream. Note that it is the kth largest element in the sorted order, not the kth distinct element.Your KthLargest class will have a constru...

2019-04-02 21:28:16 127

原创 Leetcode215-打卡Day2

ProblemFind the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.从无序数组中找出并返回第k大的数,本质还是排序问题ExampleInput: [3,2,1,5,...

2019-04-01 22:20:28 118

原创 Leetcode167-打卡Day1

ProblemGiven an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two n...

2019-03-31 13:55:11 158

原创 Datawhale-Python基础-打卡Day6

用Python turtle库画一个小猪佩奇 ^— ^安装turtle库pip3 install turtle 报了错,根据网上的提示,参考,下载、修改了源码装上的。远程服务器的Jupyter Notebook中又报了no display name and no $DISPLAY environment variable的错。。。还木有解决。以前运行matplotlib显示图像没有问题的啊=...

2019-03-08 01:04:33 212

原创 Datawhale-Python基础-打卡Day5

1. file2. os模块3. datetime模块4. 类和对象5. 正则表达式6. 模块7. http请求

2019-03-07 12:50:35 275

原创 Datawhale-Python基础-打卡Day4

1. 函数关键字2. 函数的定义3. 函数参数与作用域4. 函数返回值

2019-03-04 15:14:20 351

原创 Datawhale-Python基础-打卡Day3

1. 字典2. 集合3. 判断语句4. 三目表达式python中没有C和Java那样?:的三目运算符,但可以通x if y else z实现和三目运算同样的效果。并且可以嵌套多层(x if (x>y) else y) if ((x if (x>y) else y)>z) else z5. 循环语句...

2019-03-03 17:20:59 326

原创 Datawhale-Python基础-打卡Day2

1.列表a)标志b) 基本操作 创建 append pop del 拷贝c) 列表相关方法2.元组a) 标志b) 基本操作(创建及不可变性)3. string字符串a) 定义及基本操作(+,*,读取方式)b) 字符串相关方法4.字符串格式化问题...

2019-03-01 11:13:31 154

原创 Datawhale-Python基础-打卡Day1

1. 环境搭建a) 安装anaconda 它其实是一个管理工具,安装包自带Python编译器,常用的库还有IDE(个人最常用的Jupyter Notebook),对新手很友好。官网下载地址 如果安装后无法正常使用,Linux环境下可以尝试执行一下source ~/.bashrc命令,Windows下检查系统环境变量。b) 解释器 推荐使用py3+的版本,前段时间看到新闻说python2到...

2019-02-27 18:37:10 152

转载 一文搞懂交叉熵在机器学习中的使用,透彻理解交叉熵背后的直觉

版权声明:本文转载自 https://blog.csdn.net/tsyccnh/article/details/79163834 关于交叉熵在loss函数中使用的理解交叉熵(cross entropy)是深度学习中常用的一个概念,一般用来求目标与预测值之间的差距。以前做一些分类问题的时候,没有过多的注意,直接调用现成的库,用起来也比较方便。最近开始研究起对抗生成网...

2018-10-11 14:48:44 148

原创 Ubuntu18.04安装Jupyter Notebook远程访问

之前都是使用docker中镜像自带的Jupyter,但是访问不到数据文件夹,就打算在服务器直接装一个按照正常的方式1. pip3 install jupyter 2. jupyter notebook --generate-config  # 生成配置文件3. 设置密码python3 # 进入python编译环境from notebook.auth import pass...

2018-09-21 15:17:51 2865 1

空空如也

空空如也

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

TA关注的人

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