24小时热门版块排行榜    

查看: 540  |  回复: 5

junglylion

新虫 (初入文坛)

[交流] 引文数据有什么值得研究的么?

引文数据有什么好玩的吗?老板最近要我研究这个作为学位论文T。T
求灵感~。~

非数学专业出生……其实本质上是文科生……
第一次模仿性地学着写了几个基本定义,知道弱爆了……
求数学大神指点看看有问题不……
引文数据有什么值得研究的么?
引文数据有什么值得研究的么?-1

欢迎提意见
回头奉上改进后的版本~~
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

阿Q~~

至尊木虫 (文坛精英)

帮顶一下,不懂 ~~~~~~~~~~~~~
自强不息,厚德载物;独立精神,自由思想。
2楼2014-11-28 08:13:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
3楼2014-11-28 09:06:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

junglylion

新虫 (初入文坛)

这是我编的一个生儿子的代码v1.0:
CODE:
# This code generates children for each article, and store them as a dictionary.
import csv
import pickle
#define variables for saving
children={}
#read the citing cited data
filename=raw_input('the file name: ')
csvfile=open(filename, 'rb')
data = csv.reader(csvfile, delimiter=',')

for pair in data:
    if not children.has_key(pair[1]): children[pair[1]]=[]
    children[pair[1]].append(pair[0])
del data
csvfile.close()
del csvfile

#save file
with open('children.txt','wb') as f:
    pickle.dump(children,f)
print 'file saved!'

给大家瞅瞅,回头更新~v
4楼2014-11-29 08:39:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xtwrif

铁虫 (初入文坛)


小木虫: 金币+0.5, 给个红包,谢谢回帖
# This code generates children for each article, and store them as a dictionary.
import csv
import pickle
#define variables for saving
children={}
#read the citing cited data
filename=raw_input('the file name: ')
csvfile=open(filename, 'rb')
data = csv.reader(csvfile, delimiter=',')
for pair in data:
    if not children.has_key(pair): children]=
    children].append(pair)
del data
csvfile.close()
del csvfile
#save file
with open('children.txt','wb') as f:
    pickle.dump(children,f)
print 'file saved!'
5楼2014-12-01 10:23:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

feixiaolin

荣誉版主 (文坛精英)

优秀版主


小木虫: 金币+0.5, 给个红包,谢谢回帖
在C语言中有“类”的概念。两者结合起来比较容易,类--->子类;
也可以从集合的角度论述,集合,子集合:子集合【与集合】有一定的模糊关系会增加一些兼容性
6楼2014-12-02 12:49:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 junglylion 的主题更新
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见