自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

活到老、学到老

Lift us up from where we belong!

  • 博客(9)
  • 资源 (3)
  • 收藏
  • 关注

原创 linux 编译安装python3

执行wget 命令直接下载到当前文件夹:# wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.xz解包:# xz -d Python-3.6.6.tar.xz解压缩:# tar -xzvf Python-3.6.6.tar.xz解压缩之后出现 Python-3.6.6 文件夹.# lldrwxr-xr...

2018-10-30 14:58:06 978

原创 linux 删除文件示例

find . -depth -name '__pycache__' -exec rm -rf {} ';'find . -name '*.py[co]' -exec rm -f {} ';'find . -name '*.[oa]' -exec rm -f {} ';'find . -name '*.s[ol]' -exec rm -f {} ';'find . -name '*.so.[...

2018-10-30 14:51:37 238

原创 找出下载的git资源的源地址与更新子模块,加速下载

linux下命令 git remote -vgit config --get remote.origin.urlwindows环境可以查看 .git目录下面的config文件You will also probably want to use the --init option to which will make it initialize any uninitialized s...

2018-10-30 14:43:04 923

转载 How to use GloVe pre-trained embeddings in OpenNMT-py

http://forum.opennmt.net/t/how-to-use-glove-pre-trained-embeddings-in-opennmt-py/1011Using vocabularies from OpenNMT-py preprocessing outputs, embeddings_to_torch.py generate encoder and decoder emb...

2018-10-28 22:07:49 739

翻译 如何在Kaggle内核上使用BIG数据集(16G RAM

https://www.kaggle.com/yuliagm/how-to-work-with-big-datasets-on-16g-ram-dask这个特殊的竞争要求我们查看和分析一些非常大的数据集。在它的给定形式中,它甚至不会加载到kaggle内核上的pandas中。如果您没有非常花哨的计算机,它可能也不会加载到您的计算机上。至少在我的笔记本电脑(macbook,16G RAM)上它不会...

2018-10-22 23:18:02 5155 1

原创 找出正在运行的python进程名称与位置

找出运行进程的数量[root@datanode2 ~]#   ps -A  |grep  python3|wc  -l14 个[root@datanode2 ~]#  ps -axjf  |grep  python343054 44889 44888 43054 pts/8    44888 S+       0   0:00  |       \_ grep --color=auto...

2018-10-22 18:25:45 6305

原创 python 用逗号分隔字段但被三个引号括起来的字段不被逗号分隔的文件转化为dataframe

请教一个问题: 0,"""哎,想当年来佘山的时候,类来,空了。""",-2,-2,-2,0,-2,-2,-2,1,-2,-2,-2,-2,-2,-2,-2,0,-2,-2,1,0 这种数据怎么用pandas读到dataframe中,"""括起来的是一个字段,dataframe用逗号分隔? test_data/sentiment_analysis_testa.csv 文件内容如下:id,c...

2018-10-22 17:56:44 916

原创 pip 使用国内阿里云软件源

创建.pip文件夹mkdir ~/.pip写入pip配置文件 .pip/pip.conf echo '[global]' > ~/.pip/pip.confecho 'index-url=https://pypi.doubanio.com/simple/' >> ~/.pip/pip.confecho '[install]' > ~/.pip/pip...

2018-10-22 17:43:06 2760

原创 cudnn在centos7 cuda9.0环境的安装

在 https://developer.download.nvidia.com/  下载cudnn-9.0-linux-x64-v7.3.0.29.tgz tar -xzvf cudnn-9.0-linux-x64-v7.1.tgz解压CUDNNtar -xzvf cudnn-9.0-linux-x64-v7.1.tgz复制相关文件到cuda特定目录下(我的cuda安装目录为/usr...

2018-10-22 17:35:23 1834

c++数据结构与算法实现

matrix.h: Simple matrix class dsexceptions.h: Simple exception classes Fig01_02.cpp: A simple recursive routine with a test program Fig01_03.cpp: An example of infinite recursion Fig01_04.cpp: Recursive routine to print numbers, with a test program Fig01_05.cpp: Simplest IntCell class, with a test program Fig01_06.cpp: IntCell class with a few extras, with a test program IntCell.h: IntCell class interface (Fig 1.7) IntCell.cpp: IntCell class implementation (Fig 1.8) TestIntCell.cpp: IntCell test program (Fig 1.9) (need to compile IntCell.cpp also) Fig01_10.cpp: Illustration of using the vector class Fig01_11.cpp: Dynamically allocating an IntCell object (lame) BuggyIntCell.cpp: Buggy IntCell class implementation (Figs 1.16 and 1.17) Fig01_18.cpp: IntCell class with pointers and Big Five FindMax.cpp: Function template FindMax (Figs 1.19 and 1.20) Fig01_21.cpp: MemoryCell class template without separation Fig01_25.cpp: Using function objects: Case insensitive string comparison LambdaExample.cpp: (Not in the book): rewriting Fig 1.25 with lambdas MaxSumTest.cpp: Various maximum subsequence sum algorithms Fig02_09.cpp: Test program for binary search Fig02_10.cpp: Euclid's algorithm, with a test program Fig02_11.cpp: Recursive exponentiation algorithm, with a test program RemoveEveryOtherItem.cpp: Remove every other item in a collection Vector.h: Vector class List.h: List class BinarySearchTree.h: Binary search tree TestBinarySearchTree.cpp: Test program for binary search tree AvlTree.h: AVL tree TestAvlTree.cpp: Test program for AVL trees mapDemo.cpp: Map demos WordLadder.cpp: Word Ladder Program and Word Changing Utilities SeparateChaining.h: Header file for separate chaining SeparateChaining.cpp: Implementation for separate chaining TestSeparateChaining.cpp: Test program for separate chaining hash tables (need to compile SeparateChaining.cpp also) QuadraticProbing.h: Header file for quadratic probing hash table QuadraticProbing.cpp: Implementation for quadratic probing hash table TestQuadraticProbing.cpp: Test program for quadratic probing hash tables (need to compile QuadraticProbing.cpp also) CuckooHashTable.h: Header file for cuckoo hash table CuckooHashTable.cpp: Implementation for cuckoo hash table TestCuckooHashTable.cpp: Test program for cuckoo hash tables (need to compile CuckooHashTable.cpp also) CaseInsensitiveHashTable.cpp: Case insensitive hash table from STL (Figure 5.23) BinaryHeap.h: Binary heap TestBinaryHeap.cpp: Test program for binary heaps LeftistHeap.h: Leftist heap TestLeftistHeap.cpp: Test program for leftist heaps BinomialQueue.h: Binomial queue TestBinomialQueue.cpp: Test program for binomial queues TestPQ.cpp: Priority Queue Demo Sort.h: A collection of sorting and selection routines TestSort.cpp: Test program for sorting and selection routines RadixSort.cpp: Radix sorts DisjSets.h: Header file for disjoint sets algorithms DisjSets.cpp: Efficient implementation of disjoint sets algorithm TestFastDisjSets.cpp: Test program for disjoint sets algorithm WordLadder.cpp: Word Ladder Program and Word Changing Utilities Fig10_38.cpp: Simple matrix multiplication algorithm with a test program Fig10_40.cpp: Algorithms to compute Fibonacci numbers Fig10_43.cpp: Inefficient recursive algorithm (see text) Fig10_45.cpp: Better algorithm to replace fig10_43.c (see text) Fig10_46.cpp: Dynamic programming algorithm for optimal chain matrix multiplication, with a test program Fig10_53.cpp: All-pairs algorithm, with a test program Random.h: Header file for random number class Random.cpp: Implementation for random number class TestRandom.cpp: Test program for random number class UniformRandom.h: Random number class using standard library Fig10_63.cpp: Randomized primality testing algorithm, with a test program SplayTree.h: Top-down splay tree TestSplayTree.cpp: Test program for splay trees RedBlackTree.h: Top-down red black tree TestRedBlackTree.cpp: Test program for red black trees Treap.h: Treap TestTreap.cpp: Test program for treap SuffixArray.cpp: Suffix array KdTree.cpp: Implementation and test program for k-d trees PairingHeap.h: Pairing heap TestPairingHeap.cpp: Test program for pairing heaps MemoryCell.h: MemoryCell class interface (Appendix) MemoryCell.cpp: MemoryCell class implementation (Appendix) MemoryCellExpand.cpp: MemoryCell instantiation file (Appendix) TestMemoryCell.cpp: MemoryCell test program (Appendix)

2018-09-02

2008年下半年软件设计师试题去水印版

2008年下半年软件设计师试题去水印版,网上提供的都有广告,故编辑去掉水印,方便网友阅读打印

2008-12-26

空空如也

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

TA关注的人

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