摘要:
tip:老师语速超快。。。痛苦= = 线性分类器损失函数与最优化 $Multiclass SVM loss: L_{i} = \sum_{j \neq y_{i}} max(0,s_{i} s_{y_{i}}+1)$ $Loss = \frac{1}{N} \sum_{i=1}^{N} L_{i}$
阅读全文
posted @ 2017-11-22 23:47
qscqesze
阅读(1002)
推荐(1)
摘要:
第一节课大部分都是废话。第二节课的前面也都是废话。 First classifier: Nearest Neighbor Classifier 在一定时间,我记住了输入的所有的图片。在再次输入一个图片之后,我和之前的图片进行比较,然后输出分类。 近邻分类器用50000张32 32 10labels的
阅读全文
posted @ 2017-11-21 23:39
qscqesze
阅读(686)
推荐(0)
摘要:
BC都被hack的人生,痛苦。 下面是题解的表演时间: A. QAQ "QAQ" is a word to denote an expression of crying. Imagine "Q" as eyes with tears and "A" as a mouth. Now Diamond h
阅读全文
posted @ 2017-11-20 20:35
qscqesze
阅读(1252)
推荐(0)
摘要:
渣排版预警! 出发点 新闻用户为什么会点: 主观:用户兴趣/热点事件 客观:新闻标题(新闻入口)/新闻内容(更简单,更有趣) 标题分类: surprise,好奇,负例,数字,你,客观的描述,问题的形式 。。。。 我们这个目标就是建立问题的形式。 ABtest: question形式点击基本为15%,
阅读全文
posted @ 2017-11-16 15:10
qscqesze
阅读(426)
推荐(1)
摘要:
渣排版预警,纯草稿。。。 唐平中。研究方向是经济学和ai方向,机制设计和拍卖设计。 内容:广告优化的方法论,自动优化。 【内容】 Basics on mechanism design and resrve pricing Reinforcement mechanism design: 1.Reser
阅读全文
posted @ 2017-11-07 12:09
qscqesze
阅读(1719)
推荐(0)
摘要:
D. Magic Breeding link http://codeforces.com/contest/878/problem/D description Nikita and Sasha play a computer game where you have to breed some magi
阅读全文
posted @ 2017-10-31 21:21
qscqesze
阅读(922)
推荐(1)
摘要:
C. Tournament link http://codeforces.com/contest/878/problem/C description Recently a tournament in k kinds of sports has begun in Berland. Vasya want
阅读全文
posted @ 2017-10-31 17:05
qscqesze
阅读(658)
推荐(0)
摘要:
B. Teams Formation link http://codeforces.com/contest/878/problem/B describe This time the Berland Team Olympiad in Informatics is held in a remote ci
阅读全文
posted @ 2017-10-30 21:50
qscqesze
阅读(526)
推荐(0)
摘要:
A. Short Program link http://codeforces.com/contest/878/problem/A describe Petya learned a new programming language CALPAS. A program in this language
阅读全文
posted @ 2017-10-30 19:12
qscqesze
阅读(555)
推荐(1)
摘要:
这篇论文非常适合工业界的人(比如我)去读,有很多的借鉴意义。 强烈建议自己去读。 title:五年微软经验的点击欺诈检测 摘要:1.微软很厉害。2.本文描述了大规模数据挖掘所面临的独特挑战、解决这一问题的技术的设计选择和原理,并举例说明了该系统在打击点击欺诈方面的有效性和一些定量结果。 1.What
阅读全文
posted @ 2017-09-22 17:37
qscqesze
阅读(1207)
推荐(0)
摘要:
实际上我只是提供一个模版而已,代码应该很容易看得懂,label是存在一个csv里面的,图片是在一个文件夹里面的 没GPU的就不用尝试了,训练一次要很久很久。。。 import libaries import pandas as pd import numpy as np from skimage i
阅读全文
posted @ 2017-09-20 10:33
qscqesze
阅读(3957)
推荐(0)
摘要:
title:新的基于集成学习的移动广告作弊检测 导语:基于buzzcity数据集,我们提出了对点击欺诈检测是基于一组来自现有属性的新功能的一种新方法。根据所得到的精度、召回率和AUC对所提出的模型进行评估。最后的模型基于6种不同的学习算法。我们用刚才说的三种指标,来证明模型是稳定的。我们的最终模型在
阅读全文
posted @ 2017-09-18 10:40
qscqesze
阅读(624)
推荐(0)
摘要:
3709: [PA2014]Bohater 链接 http://www.lydsy.com/JudgeOnline/problem.php?id=3709 题面 在一款电脑游戏中,你需要打败n只怪物(从1到n编号)。为了打败第i只怪物,你需要消耗d[i]点生命值,但怪物死后会掉落血药,使你恢复a[i
阅读全文
posted @ 2017-09-07 16:24
qscqesze
阅读(546)
推荐(2)
摘要:
题目 4990: [Usaco2017 Feb]Why Did the Cow Cross the Road II 链接 http://www.lydsy.com/JudgeOnline/problem.php?id=4990 题面 上下有两个长度为n、位置对应的序列A、B, 其中数的范围均为1~n
阅读全文
posted @ 2017-08-29 15:55
qscqesze
阅读(609)
推荐(0)
摘要:
题面:4989: [Usaco2017 Feb]Why Did the Cow Cross the Road 连接 http://www.lydsy.com/JudgeOnline/problem.php?id=4989 题面 上下有两个位置分别对应的序列A、B,长度为n, 两序列为n的一个排列。当
阅读全文
posted @ 2017-08-29 15:30
qscqesze
阅读(534)
推荐(0)
摘要:
consul 服务发现 服务发现,用docker的时候可以使用,并且可以实现负载均衡。 因业务需要,所以留一下自己搜到比较好的资料吧 英文:https://www.consul.io/intro/getting started/install.html 中文:http://www.liangxian
阅读全文
posted @ 2017-08-21 17:46
qscqesze
阅读(995)
推荐(0)
摘要:
公司主要用这两个模型来进行广告预测。 http://geek.csdn.net/news/detail/59793 FM主要是处理在onehot之后,矩阵稀疏的问题。 在引入fm之后,能够更好的处理特征与特征之间的关系。 训练时间是线性复杂度,而且也比较容易解释。 FFM就是把FM中的vi变成了vf
阅读全文
posted @ 2017-08-15 14:17
qscqesze
阅读(2567)
推荐(2)
摘要:
B Balala Power! 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=6034 题面描述 Talented Mr.Tang has n strings consisting of only lower case characters. He w
阅读全文
posted @ 2017-08-13 18:22
qscqesze
阅读(757)
推荐(0)
摘要:
D. Winter is here 题目连接: http://codeforces.com/contest/839/problem/D Description Winter is here at the North and the White Walkers are close. John Snow
阅读全文
posted @ 2017-08-13 10:55
qscqesze
阅读(520)
推荐(2)
摘要:
C 4 adjacent Time limit : 2sec / Memory limit : 256MB Problem Statement We have a sequence of length N, a=(a1,a2,…,aN). Each ai is a positive integer.
阅读全文
posted @ 2017-08-07 11:19
qscqesze
阅读(779)
推荐(1)
posted @ 2017-08-05 22:39
qscqesze
阅读(76)
推荐(0)
摘要:
E. DNA Evolution 题目连接: http://codeforces.com/contest/828/problem/E Description Everyone knows that DNA strands consist of nucleotides. There are four
阅读全文
posted @ 2017-07-16 11:32
qscqesze
阅读(405)
推荐(1)
摘要:
D. High Load 题目连接: http://codeforces.com/contest/828/problem/D Description Arkady needs your help again! This time he decided to build his own high sp
阅读全文
posted @ 2017-07-16 11:08
qscqesze
阅读(333)
推荐(0)
摘要:
C. String Reconstruction 题目连接: http://codeforces.com/contest/828/problem/C Description Ivan had string s consisting of small English letters. However,
阅读全文
posted @ 2017-07-16 11:02
qscqesze
阅读(386)
推荐(0)
摘要:
Task 题目连接: https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2886 Description In most recipes, ce
阅读全文
posted @ 2017-07-11 16:23
qscqesze
阅读(451)
推荐(1)
摘要:
Lucky Coins 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5985 Description Bob has collected a lot of coins in different kinds. He wants to know whi
阅读全文
posted @ 2017-07-11 16:19
qscqesze
阅读(633)
推荐(0)
摘要:
Fibonacci Tree 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=4786 Description Coach Pang is interested in Fibonacci numbers while Uncle Yang wants h
阅读全文
posted @ 2017-07-11 16:15
qscqesze
阅读(611)
推荐(0)
摘要:
传递 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5961 Description 我们称一个有向图G是传递的,当且仅当对任意三个不同的顶点a,,若G中有 一条边从a到b且有一条边从b到c ,则G中同样有一条边从a到c。 我们称图G是一个竞赛图,当
阅读全文
posted @ 2017-07-11 16:11
qscqesze
阅读(365)
推荐(0)
posted @ 2017-07-11 09:05
qscqesze
阅读(100)
推荐(1)
摘要:
具体内容,直接看注释吧,该注释的我都注释掉了。 coding:utf 8 import cv2 待检测的图片路径 imagepath = r'D://greenhat//2.jpg' 获取训练好的人脸的参数数据,这里直接从GitHub上使用默认值,需要自己去下载 face_cascade = cv2
阅读全文
posted @ 2017-06-21 15:38
qscqesze
阅读(1379)
推荐(1)
摘要:
https://www.kaggle.com/kakauandme/tensorflow deep nn 本人只是负责将这个kernels的代码整理了一遍,具体还是请看原链接 import numpy as np import pandas as pd import tensorflow setti
阅读全文
posted @ 2017-06-20 21:52
qscqesze
阅读(941)
推荐(0)
摘要:
python 2.7,用来熟悉Python 由于都是智障题,所以我也不讲述题意和题解,直接贴代码了…… A import sys h,m = map(int,raw_input().split(":")) ans = 0 while True: if h%10 == m/10 and h/10 ==
阅读全文
posted @ 2017-06-20 18:16
qscqesze
阅读(304)
推荐(0)
摘要:
根据心情补充,语言都是Python hash,把所有的文本转化成数字 from sklearn.preprocessing import LabelEncoder for c in train.columns: if train[c].dtype == 'object': lbl = LabelEn
阅读全文
posted @ 2017-06-20 13:09
qscqesze
阅读(800)
推荐(2)
摘要:
先上个头文件吧(x !/usr/bin/env python coding: gb18030 Copyright (c) 2017 Baidu.com, Inc. All Rights Reserved 本人是某公司的智障程序员,由于业务需要,就实现了一个简单的搜索引擎。 简单说一下业务的需求:给我
阅读全文
posted @ 2017-06-15 15:49
qscqesze
阅读(475)
推荐(0)
摘要:
PredictingRedHatBusinessValue 这个超级简单的比赛 随手在一个kernels上面随便改了改,交叉验证的xgboost: 感觉还是稍微有一点借鉴意义的(x 注释的部分是OneHot+线性模型的结果,非注释的就是随机森林。 线性模型跑的比随即森林的结果好很多,至于为什么,我也
阅读全文
posted @ 2017-06-15 14:41
qscqesze
阅读(894)
推荐(0)
摘要:
网盘地址:https://pan.baidu.com/s/1dFBvLpJ 密码: x67x RT
阅读全文
posted @ 2017-06-14 14:59
qscqesze
阅读(373)
推荐(0)
摘要:
链接:https://pan.baidu.com/s/1kVQc9d9 Problem A: include include include include using namespace std; const int maxn = 222; struct Point { long long x,
阅读全文
posted @ 2017-06-02 15:31
qscqesze
阅读(1289)
推荐(0)
摘要:
应该看得懂吧,把cookie换成自己的就好了。 !/usr/bin/env python coding=utf8 """ Simulate a user login to Sina Weibo with cookie. You can use this method to visit any pag
阅读全文
posted @ 2017-05-31 16:36
qscqesze
阅读(442)
推荐(1)
摘要:
$ \sum{i=0}^{n 1}\sum{j=i}^{n 1}\mid Ai Aj \mid $ 小学生在上课 题目大意:给你一个正整数N,问你1 ~ (n 1) 所有在模N下的逆的和(只计算存在的)。 分析: 1、首先,一个数a在模N下存在逆当且仅当 gcd(a, N) = 1 2、易证,不同的
阅读全文
posted @ 2017-05-23 19:23
qscqesze
阅读(300)
推荐(1)
摘要:
题解: A 喵哈哈村的跳棋比赛 题解:其实我们要理解题意就好了,画画图看看这个题意。xy,那么x=x%y。 如果我们经过很多次,或者y include include using namespace std; long long x,y; void work(){ while(1){ if(x==0
阅读全文
posted @ 2017-05-16 17:00
qscqesze
阅读(258)
推荐(0)