自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 问答 (3)
  • 收藏
  • 关注

原创 kdd19 Investment Behaviors can tell what inside:Exploring Stock Intrinsic Properties for Stock Trend

先吐槽一下,这名字起的,不大明白有何意义。 这篇文章设计了一个股票预测模型(一般情况下,直接预测股价的,基本属于没啥意义) 模型大概是这样: 首先,利用公募基金公布的持仓信息,用矩阵分解的办法训练出基金管理人和每只股票的特征向量。(个人觉得这是这篇文章唯一有用的地方-利用了公募基金信息) 这些股票的特征向量是静态信息,对应着图中上面部分,模型想要综合考虑静态信息(股票的特征向量)和动态...

2019-11-02 20:47:35 792

原创 Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles

普通的机器学习分类回归问题都是点估计,即模型给出的输出是一个real value,或者是各个类别的probability。 但是模型对于不同点的估计,确信度应该是不同的。对于和以往出现过样本非常相似的点,给出的预测确信度比较高,对于和以往出现过点距离比较远的点的估计,确信度应该降低。 目前衡量神经网络结果不确定性的方法主要是贝叶斯神经网络,每一层的w和b都是服从一个分布而非是确定的值,所以自然...

2019-11-02 11:39:20 2524

原创 Paper Reading@newspredict: news predict stock price

paper: <Listening to Chaotic Whispers: A Deep Learning Framework for News-oriented Stock Trend Prediction> 目的:用财经信息预测未来股价变动 结果:三分类50% 模型:HAN 先word2vec,再average,再attention,在gru,再attention,在...

2019-01-06 10:27:13 373 1

原创 Paper Reading@dlfinace: hmm predict stock price

paper: <stock market trend analusis using hmm> 目的:用hmm来预测股票价格 方法:hmm 参数定义:  observed symbol: I->Increasing   D->decreasing Hidden States:  S1-> very low                           S...

2019-01-05 21:52:53 178

原创 Paper Reading@csdl: embedding of Airbnb

paper: <real time personalization using Embeddings for Search Ranking at Airbnb> 目的:推荐house给客户,要使得客户喜欢,并且,房东要接受该用户(时间,偏爱的客户类型匹配) 细分目的:短期推荐(当客户点击了一个listing之后给他推荐相似的listing,最好属于同一个market),长期推荐(一...

2019-01-05 21:16:49 188

原创 explicit

explicit只用于构造函数被此关键字定义的类,初始化的时候不能采用隐式初始化。隐式初始化  A a =1, 可编译,1会被传给a的构造函数用explicit定义之后不能这么操作...

2018-03-16 14:43:59 422

原创 九度OJ 1076 n的阶乘

题目1076:N的阶乘 时间限制:3 秒 内存限制:128 兆 特殊判题:否 提交:8753 解决:3250 题目描述:  输入一个正整数N,输出N的阶乘。 输入: 正整数N(0 输出:  输入可能包括多组数据,对于每一组输入数据,输出N的阶乘 样例输入: 4 5 15 样例输出: 2

2017-03-24 14:04:35 228

原创 PAT 1032 Sharing

1032. Sharing (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue To store English words, one method is to use linke

2017-03-21 14:38:10 196

原创 PAT1065 A+B and C (64bit) (20)

1065. A+B and C (64bit) (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HOU, Qiming Given three integers A, B and C in [-2

2017-03-20 19:32:14 240

原创 九度OJ 1096 日期差值

题目描述: 有两个日期,求两个日期之间的天数,如果两个日期是连续的我们规定他们之间的天数为两天 输入: 有多组数据,每组数据有两行,分别表示两个日期,形式为YYYYMMDD 输出: 每组数据输出一行,即日期差值 样例输入: 20110412 20110422 样例输出: 11 思路: 写一个caldays的函数,

2017-03-20 11:07:15 274

原创 PAT 1106 Lowest Price in Supply Chain

1106. Lowest Price in Supply Chain (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A supply chain is a network o

2017-03-20 11:00:01 182

原创 PAT 1070 Mooncake

1070. Mooncake (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Mooncake is a Chinese bakery product traditionall

2017-03-19 10:06:39 280

原创 九度oj 1101 计算后缀表达式

题目描述: 对于一个不存在括号的表达式进行计算 输入: 存在多种数据,每组数据一行,表达式不存在空格 输出: 输出结果 样例输入: 6/2+3+3*4 样例输出: 18 来源: 2010年上海交通大学计算机研究生机试真题 题目: 如上 解法: 第一步处理所有*/(高优先级的符号) 再处理+-

2017-03-16 16:12:36 259

原创 九度oj 1099 后缀子串排序

题目描述: 对于一个字符串,将其后缀子串进行排序,例如grain 其子串有: grain  rain  ain  in  n 然后对各子串按字典顺序排序,即:  ain,grain,in,n,rain 输入: 每个案例为一行字符串。 输出: 将子串排序输出 样例输入: grain 样例输出: ain grain in

2017-03-16 16:09:22 227

原创 PAT 1107. Social Clusters

1107. Social Clusters (30) 时间限制 1000 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue When register on a social network, you ar

2017-03-12 15:32:14 192

原创 1030. Travel Plan

1030. Travel Plan (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A traveler's map gives the distances between c

2017-03-12 15:29:36 139

原创 1046. Shortest Distance (20)

1046. Shortest Distance (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue The task is really simple: given N exits

2017-03-08 16:39:30 173

原创 1053. Path of Equal Weight

1053. Path of Equal Weight (30) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a non-empty tree with root R, a

2017-03-08 15:43:53 169

原创 PAT 1015 Reversible Primes (20)

1015. Reversible Primes (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A reversible prime in any number system

2017-03-02 10:06:57 206

原创 PAT 1086 Tree Traversals Again

1086. Tree Traversals Again (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue An inorder binary tree traversal can

2017-03-01 20:46:24 173

原创 C语言中实参和形参问题&&函数使用数组作为参数的问题

引例: void f(int a) {    a = 3; } int main() {   int b = 2;   f(b); } 例子中:a是形参,b是实参 传递过程&&内存情况: 在被调用前,函数的形参是不分配内存的,也就是说,不调用f()的话,a不在内存里面 一旦调用了函数,马上为函数的形参分配内存,此时分配一个int空间大小的内存给a,此时,a和b在内存中

2017-02-28 20:40:42 8118

原创 PAT 1093 CountPAT

The string APPAPT contains two PAT's as substrings. The first one is formed by the 2nd, the 4th, and the 6th characters, and the second one is formed by the 3rd, the 4th, and the 6th characters. No

2017-02-14 19:49:53 220

原创 PAT 1094 The Largest Generation

1094. The Largest Generation (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A family hierarchy is usually prese

2017-02-10 19:43:42 214

原创 PAT 1097 Deduplication on a Linked List

Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each value K, only the first node of which the value or a

2017-02-09 20:03:51 221

原创 PAT 1098 Insertion or Heap Sort

According to Wikipedia: Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion sort removes one element from the input dat

2017-02-08 19:51:50 283

原创 PAT 1013 Battle Over Cities

It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We must know immediately if we nee

2017-02-03 19:23:18 150

原创 PAT 1010 Radix

Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal number and 110 is a binary number. Now for any pair of positive

2017-02-02 15:20:42 298

空空如也

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

TA关注的人

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