由买买提看人间百态

topics

全部话题 - 话题: recoded
首页 上页 1 2 3 4 5 6 下页 末页 (共6页)
h*c
发帖数: 1859
1
来自主题: Programming版 - 问个构造函数的问题
【 以下文字转载自 JobHunting 讨论区 】
发信人: woodsmart (pythonip), 信区: JobHunting
标 题: 问个构造函数的问题
发信站: BBS 未名空间站 (Thu Feb 2 18:24:30 2012, 美东)
看神贴看到一道题,想问问有什么好的解法?
Given two classes:
class B
{
public:
B(args_1);
B(args_2);
// and many constructors with different arg lists
};
class D : public B
{
public:
D(args_1) : B(args_1) {}
D(args_2) : B(args_2) {}
// and many constructors with different signatures similarly implemented
// some additional stuff specific to D
};
Assume that the arg list for B's construct... 阅读全帖
g*****g
发帖数: 34805
2
来自主题: Programming版 - 学哪一门编程
Their core services are in java.
http://www.zdnet.com/blog/saas/workday-forget-erp-start-over/36
At the heart of Workday is an object management server (OMS) — 30,000 lines
of Java code that runs as an Apache Tomcat process, entirely in memory.
When the Workday application runs, it scoops up all the data and definitions
stored in that three-table database and turns them into meaningful data
that can be accessed and manipulated. Changing the business logic — even at
a very fundamental level — is ... 阅读全帖
s********k
发帖数: 6180
3
【 以下文字转载自 JobHunting 讨论区 】
发信人: silverhawk (silverhawk), 信区: JobHunting
标 题: Google+ Head Vic Gundotra Leaving Company
发信站: BBS 未名空间站 (Thu Apr 24 14:29:50 2014, 美东)
http://recode.net/2014/04/24/exclusive-google-head-vic-gundotra
x*******1
发帖数: 28835
4
来自主题: Programming版 - Groupon layoff (转载)
【 以下文字转载自 JobHunting 讨论区 】
发信人: lockdown (Orz), 信区: JobHunting
标 题: Groupon layoff
发信站: BBS 未名空间站 (Fri Aug 14 16:23:02 2015, 美东)
http://recode.net/2015/08/14/more-layoffs-at-groupon-this-time-
-site-ideel/
l****z
发帖数: 29846
5
xmedia recode 免费的.
l*********o
发帖数: 3091
6
【 以下文字转载自 USANews 讨论区 】
发信人: fdsa (fdsa), 信区: USANews
标 题: 瘪盖子:机器人们应该交税
发信站: BBS 未名空间站 (Sat Feb 18 06:55:34 2017, 美东)
这个建议不错,其实也make sense。https://tinyurl.com/jfz9eeu
Robots that steal human jobs should pay taxes, Gates says
Bill Gates, the co-founder of Microsoft and world’s richest man, said in
an interview Friday that robots that steal human jobs should pay their fair
share of taxes.
“Right now, the human worker who does, say, $50,000 worth of work in a
factory, that income is taxed and yo... 阅读全帖
J*******3
发帖数: 1651
7
3月3日,据科技博客网站recode.net报道,多名知情人士透露,微软两名直接向CEO萨
蒂亚・纳德拉(Satya Nadella)负责的高管----负责业务开发的执行副总裁托尼&
#12539;贝茨(Tony Bates)和负责营销的执行副总裁塔米・瑞勒(Tami Reller),
将从公司离职。
目前尚不清楚贝茨和瑞勒的新东家。据悉,纳德拉当地时间上周五向高管团队宣布了贝
茨和瑞勒离职的消息,微软计划本周二正式公布这一消息。
上述知情人士称,负责高级战略的执行副总裁埃里克・鲁德尔(Eric Rudder)将
临时负责贝茨的工作,营销高管克里斯・卡波塞拉(Chris Capossela)将接替瑞
勒出任营销执行副总裁。
有趣的是,卡波塞拉将负责全部广告事务,广告和战略执行副总裁马克・佩恩(
Mark Penn)将只负责战略事务,职责包括新产品和战略投资。佩恩将继续留在微软内部
的高级领导团队,该团队的成员直接向纳德拉负责。
瑞勒离职并不让人感到意外。自2001年以来,瑞勒一直在微软效力,曾出任多个职位,
其中包括... 阅读全帖
t********e
发帖数: 1169
8
【 以下文字转载自 JobHunting 讨论区 】
发信人: mitbbs59 (bEQi), 信区: JobHunting
标 题: 本版1年以内的所有 面经题目,含帖子link [为大家方便]
发信站: BBS 未名空间站 (Fri Jan 29 14:20:44 2010, 美东)
不敢保证全部涵盖,大部分的都在。
我自己找了一遍,大家一起用着都方便。
不过只是含有题目的帖子 我才包含进来了,只分享经验没贴题目的 我都没有包含
进来。
大家复习着方便。
1. 一个sorted interger Array[1...N], 已知范围 1...N+1. 已知一个数字missing。
找该数字。
把原题改为unsorted,找missing数字。 performance。
2. 复制linked list。 已知每个节点有两个pointer,一个指向后一个节点,另一个指向
其他任意一节点。 O(n)时间内,无附加内存,复制该linked list。(存储不连续)
3. 一个party N个人,如果一个人不认识任何其他人,又被任何其他人认识,此人为
celeb... 阅读全帖
t********e
发帖数: 1169
9
【 以下文字转载自 JobHunting 讨论区 】
发信人: mitbbs59 (bEQi), 信区: JobHunting
标 题: 本版1年以内的所有 面经题目,含帖子link [为大家方便]
发信站: BBS 未名空间站 (Fri Jan 29 14:20:44 2010, 美东)
不敢保证全部涵盖,大部分的都在。
我自己找了一遍,大家一起用着都方便。
不过只是含有题目的帖子 我才包含进来了,只分享经验没贴题目的 我都没有包含
进来。
大家复习着方便。
1. 一个sorted interger Array[1...N], 已知范围 1...N+1. 已知一个数字missing。
找该数字。
把原题改为unsorted,找missing数字。 performance。
2. 复制linked list。 已知每个节点有两个pointer,一个指向后一个节点,另一个指向
其他任意一节点。 O(n)时间内,无附加内存,复制该linked list。(存储不连续)
3. 一个party N个人,如果一个人不认识任何其他人,又被任何其他人认识,此人为
celeb... 阅读全帖
l**********1
发帖数: 5204
10
原始阶段的
RNA 如选用T 而没用U 的话
真核生物 就不可能选 poly(A)(+) tail 了
由于 poly(A)(+) tail 早在 那以后很快由于
RNA editing within post-transcriptional event 中出现Chaotic/Random/Tight
binding T==A 被淘汰了 或成了SF movie里的allian DNA喽 (possibile)
正好有篇今年的paper
Nat Biotechnol. 2012 Feb 12;30(3):253-
Comprehensive analysis of RNA-Seq data reveals extensive RNA editing in a
human transcriptome.
by Peng Z. et al
Abstract
RNA editing is a post-transcriptional event that recodes hereditary
information. Here we describe a comprehensi... 阅读全帖
m******g
发帖数: 467
11
Nature 15.02.13
小知识:
1. Transferred interbacterial antagonism genes augment eukaryotic innate
immune function
2. Recoded organisms engineered to depend on synthetic amino acids
3. Programming - Pick up Python
g****d
发帖数: 64
12
来自主题: Computation版 - <>全书下载
I also believe Fortran is better in computation then C. Especially when
considering
the easiness of fortran programming.
Their is such a trend in commercial CFD package to use C++ instead of fortran.
That
might be due to the factor ,just like you guys said, 'C++' is faster than
Fortran.
An example is STARCD. Currently, it is coded by fortran. But talking a guy in
that
company, I was informed that they are now trying to use C++ to recode the
whole thing.
I might need to learn how to write C++ cod
p********a
发帖数: 5352
13
来自主题: Statistics版 - [合集] SAS array problem
☆─────────────────────────────────────☆
joypp (猪头) 于 (Thu Feb 15 16:08:18 2007) 提到:
I have a problem with data manipulation, it might be easy for you.
The database contains hundreds of varible, I want to recode the data
according to the same rule; 0=1 1; 1= 1 2; 2= 2 2;also delete all the Id
with missing data.
the old database lokks like,
ID ns-rs1102 ws-ns11232 ns6433 ns2209 ns6473
1 0 1 2 1 2
2 1
p********a
发帖数: 5352
14
来自主题: Statistics版 - SAS里关于recode一问
A1.为什么要省略?不是整数,要改PROC FORMAT语句,继续用啊。LZ刚入门吧?
A2。所有的FORMAT最后都必须加个点。
c*****7
发帖数: 54
15
来自主题: Statistics版 - SAS里关于recode一问
我还是有两个疑问噢,
你说不可以省略如下这一段:
PROC FREQ DATA = GRADES;
TITLE 'Example 3';
TABLE SCORE;
FORMAT SCORE SCOREFMT.;
RUN;
第一个问题:我没看出来改前和改后的这两段有什么本质区别啊,没看出来第一个是对于
整数啊,
改前:
PROC FORMAT
VALUE SCOREFMT 0-64 = 'Fail'
65-69 = 'Low Pass'
70-79 = 'Pass'
80-89 = 'High Pass'
90-HIGH = 'Honors';
RUN;
改后:
PROC FORMAT
VALUE SCOREFMT 0-<65 = 'Fail';
65-<70 = 'Low Pass'
70-<80 = 'Pass'
80-<90 = 'High Pass'
90-HIGH = 'Honors';
RUN;
第二个问题:
FORMAT SCORE SCOREFMT.
你说FORMAT后面都要加点,比如FORMAT DOB MMDDYY8.;这里8后面之所以加点是因为规定
字符的长度吧?可
p********a
发帖数: 5352
16
来自主题: Statistics版 - SAS里关于recode一问
A1. 还是有区别。比方说64.5就不在改前的FORMAT范围内,但在改后的范围内
A2. 所有的FORMAT和INFORMAT都用一个点结束。3. 和 $1. 并不是长度,而是数据读入
的INFORMAT。
x**********n
发帖数: 13
17
来自主题: Statistics版 - 发一个统计part-time的job
比如clean data,transformation,recode,基本运算
根据工作需求定义可能不太一样
s*********e
发帖数: 1051
18
来自主题: Statistics版 - 有没有搞marketing的正搞数据挖掘?
i think SAS eminer is a good tool if used correctly.
i like to write code to run eminer on unix and find the segmentation before
building models.
an interesting function of eminer is that it can generate recoding programs
(such as scoring code... ), which is pretty neat.
a********a
发帖数: 3176
19
来自主题: Statistics版 - SAS一问
Do you mean that 1977 was coded as '77'? If so, you'd need to identify and
single out these year variables to be not included in the recoding.
D*********2
发帖数: 535
20
来自主题: Statistics版 - 求助:Import .sas7bdat to R
Thanks a lot!!!!!
Yes, I do have missing values in the three numeric variables, denoted as "."
, Should I correct it in SAS before importing them into R, like recoded it
is "999"? Is it the common way to do this? Because I was thinking we may
need to avoid hard coding in SAS.
Besides, I doubt it is caused by missing value, here is the error message I
got after read.table
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,
scan() expected 'a real', got '"117.200"'
Thanks
S******y
发帖数: 1123
21
来自主题: Statistics版 - What is R equivalent to SAS format?
Thanks. That was helpful!
It would be nice if , for general purpose of recoding variable values, R has
a 'DECODE' function like in SQL.
l****i
发帖数: 398
22
来自主题: Statistics版 - 求牛人帮我写个SPSS的syntax
我要把下图情况里的两个变量TV01,TV02, recode成第3个变量TV,这个syntax该怎么写
啊?谢谢
s******r
发帖数: 1524
23
来自主题: Statistics版 - 关于recode data的问题,多谢。
data one;
input ID a1 a2 a3 a4 a5;
datalines;
1 0 0 0 0 0
2 0 0 0 0 0
3 0 1 1 0 0
;
run;
data test(keep=id) two;
set one;
if max(of a1-a5)=0 and min(of a1-a5)=0 then output test;
else output two;run;
data two;set test two ;run;
D******n
发帖数: 2836
24
来自主题: Statistics版 - 关于recode data的问题,多谢。
omg...
l**********s
发帖数: 255
25
来自主题: Statistics版 - 关于recode data的问题,多谢。
Thanks a lot! It works!!
l**********s
发帖数: 255
26
来自主题: Statistics版 - 关于recode data的问题,多谢。
再请问下,如果我的数据实际上变量很多,只需要处理其中的个5变量a1-a5,按照楼上
的指导确实可以做到,但是要
多合并一次文件,其他变量保持不变, 请问如果有没有办法用macro 或者array做呢?
多谢。
data one;
input ID a1 a2 a3 a4 a5 abc cnn nb;
datalines;
1 0 0 0 0 0 5 6 7
2 0 0 0 0 0 7 4 9
3 0 1 1 0 0 4 4 4
;
run;
data two;
input ID a1 a2 a3 a4 a5 abc cnn nb;
datalines;
1 . . . . . 5 6 7
2 . . . . . 7 4 9
3 0 1 1 0 0 4 4 4
;
run;
s******r
发帖数: 1524
27
来自主题: Statistics版 - 关于recode data的问题,多谢。
update
keep=id
as
drop=a1-a5
y****n
发帖数: 46
28
来自主题: Statistics版 - 关于recode data的问题,多谢。
data one;
array aa(5) a1-a5;
input ID a1 a2 a3 a4 a5 abc cnn nb;
do i=1 to 5;
if aa(i)=0 then aa(i)=.;
end;
drop i;
datalines;
1 0 0 0 0 0 5 6 7
2 0 0 0 0 0 7 4 9
3 0 1 1 0 0 4 4 4
;
run;
y****n
发帖数: 46
29
来自主题: Statistics版 - 关于recode data的问题,多谢。
data one;
array aa(5) a1-a5;
input ID a1 a2 a3 a4 a5 abc cnn nb;
if sum(of a1-a5)=0 then do;
do i=1 to 5;
if aa(i)=0 then aa(i)=.;
end;
end;
drop i;
datalines;
1 0 0 0 0 0 5 6 7
2 0 0 0 0 0 7 4 9
3 0 1 1 0 0 4 4 4
;
run;
l**********s
发帖数: 255
30
来自主题: Statistics版 - 关于recode data的问题,多谢。
Thanks! It works!
l**********s
发帖数: 255
31
来自主题: Statistics版 - 关于recode data的问题,多谢。
Thanks...Just let you know that the results will be different with what I
want.
The following is what I get after running this code.
data two;
input ID a1 a2 a3 a4 a5 abc cnn nb;
datalines;
1 . . . . . 5 6 7
2 . . . . . 7 4 9
3 . 1 1 . . 4 4 4
s******r
发帖数: 1524
32
来自主题: Statistics版 - 关于recode data的问题,多谢。
also the following code could fail if negative number is possible from a1 to 15.
Thanks...Just let you know that the results will be different with what I
want.
The following is what I get after running this code.
data two;
input ID a1 a2 a3 a4 a5 abc cnn nb;
datalines;
1 . . . . . 5 6 7
2 . . . . . 7 4 9
3 . 1 1 . . 4 4 4
c**********5
发帖数: 653
33
original data
medicationcalss1 medication calss2 medicationclass3
id1 medication1 1 0 0
id1 medication2 1 0 0
id1 medication3 0 1 0
id2 medication1 1 0 0
id2 medication2 1 0 0
id3 medication4 1 0 0
id3 medicatio... 阅读全帖
m****e
发帖数: 255
34
来自主题: Statistics版 - 如何证明数据是伪造的?
Recode the events as
X_1 is the time of request confirmation. x_1_i's are the observations of
Event (type) 1.
X_2 for time of registration confirmation.x_2_i's are the observations of
Event (type) 2.
You indeed have multiple events indexed by i.
Let Y be the length of delay, ie, Y=X_2-X_1.
y_i=delay of event i.
The index i should be the order of the events.
First plot Y again index i and see if there is some trend.
If the observations are done manually, you may expect some seasonal pattern
or no... 阅读全帖
s*********r
发帖数: 909
35
来自主题: Statistics版 - [sas] how to recode these variables
I am confused.We usually do frequency on categorical variables. why do you
need change char to num?
h********o
发帖数: 103
36
来自主题: Statistics版 - [sas] how to recode these variables
Is this what you want?
===============================
DATA OLD;
INPUT A1 & $12. B1 & $9.;
CARDS;
1 cigatette 3 beers
3 cigar 3 glasses
1 cigar 1 beer
1/4 pack 4 drinks
10 ciggars 1 beer
2 cigarettes 1 drink
3 cig 2 cans
;
DATA NEW;
SET OLD;
A1_SUB1 = SCAN(A1,1,"");
A1_SUB2 = SCAN(A1,2,"");
B1_SUB1 = SCAN(B1,1,"");
B1_SUB2 = SCAN(B1,2,"");
IF A1_SUB1 = "1/4" THEN A1_SUB1 = "0.25";
A1_CHAR = A1_SUB2;
A1_N... 阅读全帖
m****r
发帖数: 202
37
来自主题: Statistics版 - [sas] how to recode these variables
Thank you honglajiao. You did do me a great favor.
k*******a
发帖数: 772
38
来自主题: Statistics版 - [sas] how to recode these variables
if there is 1/3 or 1/5...then it does not work
h********o
发帖数: 103
39
来自主题: Statistics版 - [sas] how to recode these variables
if there is 1/3 or 1/5, this one should work...
==================================================
DATA OLD;
INPUT A1 & $12. B1 & $9.;
CARDS;
1 cigatette 3 beers
3 cigar 3 glasses
1 cigar 1 beer
1/4 pack 4 drinks
10 ciggars 1 beer
2 cigarettes 1 drink
3 cig 2 cans
1/5 pack 1/10 bot
;
DATA NEW;
SET OLD;
A1_SUB1 = SCAN(A1,1);
A1_SUB2 = SCAN(A1,2);
A1_SUB3 = SCAN(A1,3);
B1_SUB1 = SCAN(B1,1);
B1_SUB2 ... 阅读全帖
首页 上页 1 2 3 4 5 6 下页 末页 (共6页)