自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (3)
  • 收藏
  • 关注

转载 Ubuntu cmake 编译&cuda汇总

Ubuntu cmake 编译&cudalinux (ubuntu)下 用vs code 调试 c++程序https://blog.csdn.net/liushuikong/article/details/72458090用CMake编译CUDA源代码http://bbs.gpuworld.cn/index.php?topic=10365.0cmake 英文文档h...

2019-04-29 20:50:20 651

转载 0基础的git教程,傻瓜都会用的Github Desktop(转载)

0基础的git教程,傻瓜都会用的Github Desktop转自 :https://www.jianshu.com/p/06a960d991aa苦恼你有没有为了学git的经历一而再再而三查看别人的文档还是学不会的经历,只是它、因为你没有使用git的需要,更何况繁琐的命令行让人头疼,什么缓存区,分支,HEAD,合并分支这些让人头疼的东西敬而远之,有一款github官方的应用程序就是为了小...

2019-04-28 13:17:00 130

原创 Pytorch 中retain_graph的坑

Pytorch 中retain_graph的坑在查看SRGAN源码时有如下损失函数,其中设置了retain_graph=True,其作用就是在更新D网络时的loss反向传播过程中使用了retain_graph=True,目的为是为保留该过程中计算的梯度,后续G网络更新时使用; ############################ # (1) Update D ...

2019-04-19 10:34:23 3108

原创 ZOJ Thanks, TuSimple!

157 - The 19th Zhejiang University Programming Contest Sponsored by TuSimple (Mirror) - AThanks, TuSimple!Time Limit:1 Second Memory Limit:65536 KBIn the very first sentence of the ver...

2019-04-14 16:27:36 385

原创 机器学习LDA线性判别器代码实现

机器学习LDA线性判别器代码实现西瓜书P60 线性判别器LDA代码实现:import numpy as npimport matplotlib.pyplot as pltdef load_data(file_name): ''' 数据导入函数 :param file_name: (string)训练数据位置 :return: feature_data(...

2019-04-13 20:30:21 1124

原创 对数几率logistics回归-数据集+代码实现

对数几率logistics回归-数据集+代码实现对于公式的推导,详情见以下内容,接下来我们实现一下对数几率回归的实现https://blog.csdn.net/Willen_/article/details/88867986对应的实现都有注释import numpy as npimport h5pydef load_data(file_name): ''' 数...

2019-04-12 22:40:21 1480

转载 D - Now Loading!!!  ZOJ - 4029

D - Now Loading!!!ZOJ - 4029Sample Input23 2100 1000 10000100 104 52323 223 12312 31232 324 2 3 5Sample Output1136645619题意:按照如上公式进行计算思路:如果直接计算,是肯定会超时的,但是能够发现,每一项的分母 ,是确...

2019-04-11 23:11:25 213

转载 C - Heap Partition ZOJ - 3963

C - Heap PartitionZOJ - 3963A sequenceS= {s1,s2, ...,sn} is calledheapableif there exists a binary treeTwithnnodes such that every node is labelled with exactly one element from the seq...

2019-04-09 20:53:35 134

原创 C++ set::lower_bound/upper_bound

C++ set::lower_bound/upper_bound最近对C++ set::lower_bound/upper_bound ,进行了一些测试,就是如果set当中为空时,使用lower_bound/upper_bound 都回返回begin 地址,也就是第一个插入的位置。对应的begin和end 是同一个位置// set::lower_bound/upper_bound...

2019-04-09 11:23:38 3025

转载 I - CONTINUE...? ZOJ - 4033

I - CONTINUE...?ZOJ - 4033DreamGrid hasclassmates numbered fromto. Some of them are boys and the others are girls. Each classmate has some gems, and more specifically, the-th classmate has...

2019-04-08 21:19:02 178

转载 A - What Kind of Friends Are You? ZOJ - 3960

A - What Kind of Friends Are You?ZOJ - 3960Japari Park is a large zoo home to extant species, endangered species, extinct species, cryptids and some legendary creatures. Due to a mysterious subs...

2019-04-08 13:50:26 341

install_docker.sh

ubuntu 系统下 docker 和 nvidia-docker 一键安装脚本 使用: sh install_docker.sh

2019-12-11

对数几率回归练习训练集和测试集

对数几率回归练习数据,对应的两个txt文件,有测试数据和训练数据,对应的每一行是数据集, 训练集有三列,最后一列是label ,其他两个是特征, 测试集有2列,都是特征

2019-04-12

对数几率回归练习数据

对数几率回归练习数据,对应的两个txt文件,有测试数据和训练数据,对应的每一行是数据集, 训练集有三列,最后一列是label ,其他两个是特征, 测试集有2列,都是特征

2019-04-12

空空如也

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

TA关注的人

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