- 博客(67)
- 收藏
- 关注
原创 商品冷启动推荐综述
它最大的优势在于能够快捷,准确地定位用户真正需要的信息,缓解信息检索的压力。问题使用用户在多个不同类别电子商务网站访问的交叉行为信息提进行推荐.经过离线仿真,算法可以提供具有相当精确性和个性化的推荐.即使只利用一个站外电商数据进行交叉推荐,其精确度可以远远超过随机推荐,与此同时保持和随机推荐相近的多样性和新颖性.这些都保证算法有着良好的用户体验.随着我们对用户已知信息的不断引入,算法的精确性获得进一步提高.这部分工作为推荐系统的商业应用提供了全新的可供分析的数据对象和全新的研究视角.
2023-09-28 10:07:36
182
原创 GPU 内存的分级综述(gpu memory hierarchy)
GPU 内存的分级(gpu memory hierarchy)小普 中科院化学所在读博士研究生研究课题,计算机模拟并行软件的开发与应用Email: yaopu2019@126.com (欢迎和我讨论问题)优快云:博客园:摘要(Abstact)GPU 的存储是多样化的, 其速度和数量并不相同,了解GPU存储对于程序的性能调优有着重要的意义。本文介绍如下几个问题:1...
2019-06-23 09:48:00
2046
原创 Python数理统计
参考此文:http://wenku.baidu.com/link?url=A6-0HbEHaHO4XFMwaoTuHzEnkaDhmzjCjGxpLh3dey3rJlPR9n63opl-uwOiaNm3W08qDl-IZv9hVulOGZCXF0CIzJPAQ5ahtiJ8HyiIdkG
2017-02-13 20:15:15
2575
原创 Python3 Urllib学习
urllib 的四个模块 1 . urllib.request 2. urllib.error 3. urllib.parser 4. urllib.robotparser import urllib.request response = urllib.request(“http://yaopu.github.io“) /#得到的是一个对象,response type(resp
2017-01-07 20:17:35
773
原创 Job_search_collection
1 http://www.shixiseng.com/intern/inn_nljxnj2wsslr 2 http://www.shixiseng.com/intern/inn_zdrer5p16ua0 3 http://www.shixiseng.com/intern/inn_29y0lgfudcil 4
2017-01-07 11:16:52
413
原创 Python Requests 简明教程
参考官方文档http://www.python-requests.org/en/master/Requests 一个HTTP-Python库给URL地址传递参数读出对象的性质读取二进制文件对象JSON格式Github
2017-01-05 18:29:31
817
原创 ConfigParser模块简明教程
参考官方文档:https://docs.python.org/3.4/library/configparser.htmlSupported INI File StructurePlease note写一个文件的例子再把它读出来ConfigParser函数
2017-01-05 17:58:39
456
原创 Shell 与Python的交互
在python中:import osos.system('mkdir Test')则会在当前目录下生成Test目录,和shell一样
2017-01-04 22:23:00
716
原创 C语言与C++ 中bool关键字的矛盾解决
#ifndef __cplusplustypedef unsigned char bool;static const bool False =0;static const bool True =1;#endif
2017-01-03 09:21:35
809
原创 Web crawler
The software needed to be installedsudo pip install requestssudo pip install BeautifulSoup4sudo pip install jupyter
2017-01-02 22:21:06
780
原创 MPI_Send和MPI_Recv影响下程序的执行顺序是怎样的?
#include #include #include"mpi.h" #define N 9 #define M 20 int A[M][N]; int B[N]; int BB[N]; int C[M]; int buf[N]; int bufr[N]; int bufc; int tagB=100;
2016-10-13 16:33:33
2413
原创 MPI常用函数速查表
MPI_Send(buf,count,datatype,dest,tag,comm) MPI_Recv(buf,count.datatype,source,tag,comm.&status) for(int i=1;i { MPI_Send(buf,count,datatype,i,tag,comm) } 与MPI_Bcast(buf,count,datatype,root,com
2016-10-13 14:42:52
1356
原创 MPI并行计算与矩阵(2)
1The body of code #include"mpi.h" #include"stdio.h" #include const int rows = 3; //the rows of matrix const int cols = 2; //the cols of matrix int main(int argc, char **argv) {
2016-10-11 21:22:11
1323
原创 matrix9
//http://www.cnblogs.com/sdxk/p/4093484.html//Oct 9 2016//monte carlo method to calculate pi#include#include#include#include#includevoid read_num(long long int *num_point,int my_rank,MPI_Comm
2016-10-10 22:28:31
780
原创 matrix8
//http://blog.youkuaiyun.com/pouloghost/article/details/7904049//gauss //Oct 9 2016#include "mpi.h" #include #include typedef struct{ float value; int rank; } MD; int main(int arg
2016-10-10 22:27:15
556
原创 matrix7
//http://blog.youkuaiyun.com/pouloghost/article/details/8824089#include #include #include "mpi.h" /* matrix transpostion using mpi linear division author GT 2013.4.18 */ int rank,size;
2016-10-10 22:26:16
435
原创 matrix6
//http://blog.youkuaiyun.com/pouloghost/article/details/7913342//oct 9 2016//jaccobi#include "mpi.h" #include #include //broadcast x void bcastx(float *xs,int size) { for(int i=0;i<siz
2016-10-10 22:25:16
659
原创 matrix5
//http://www.linuxidc.com/Linux/2012-08/67662.htm#include "mpi.h" #include #include #define ROOT 0 #define TAG 0 int main(int argc,char *argv[]) { float matrix[][4]={{2,3,4,
2016-10-10 22:24:26
585
原创 matrix4
//Writed by YaoPu, Oct 10,2016//if any problem,send email yaopu@iccas.ac.cn#include"mpi.h"#include"stdio.h"#includevoid matgen(float *a,int Width){int i,j;for(i=0;i<Width;i++){for(j=0;j<Wid
2016-10-10 22:23:22
807
原创 matrix3
//Writed by YaoPu, Oct 10,2016//if any problem,send email yaopu@iccas.ac.cn//only for 2 processors !!!!!#include"mpi.h"#includeint main(int argc,char **argv){int rows=6,cols=5;int tag=0;MPI
2016-10-10 22:21:36
459
原创 matrix2
//Writed by YaoPu, Oct 10,2016//if any question, send email to yaopu@iccas.ac.cn#include"mpi.h"#include"stdio.h"int main(int argc,char **argv){MPI_Init(&argc,&argv);int np,rank;MPI_Status st
2016-10-10 22:18:54
603
原创 matrix1
//Writed by YaoPu, Oct 10,2016//connect via Email:yaopu@iccas.ac.cn#include"mpi.h"#include"stdio.h"#includeconst int rows = 400; //the rows of matrixconst int cols = 100; //the cols of matrix
2016-10-10 22:16:43
696
原创 MPI_Bcast
//Writed by YaoPu Oct 10,2016//connect via Email:yaopu@iccas.ac.cn#include"mpi.h"#includeint main(int argc,char **argv){int rank,value;MPI_Init(&argc,&argv);MPI_Comm_rank(MPI_COMM_WORLD,&ran
2016-10-10 22:14:59
1189
原创 example1
//Writed by YaoPu, Oct 10 2016//Connect via yaopu@iccas.ac.cn#include#include"mpi.h"#includeint master_io(void);int slave_io(void);int main(int argc, char **argv){int rank,size;MPI_Init(&a
2016-10-10 22:12:29
611
原创 MPI_Barrier
//Writed by YaoPU 2016 Oct 10//Connect by yaopu@iccas.ac.cn#include"mpi.h"#includeint main(int argc,char **argv){MPI_Init(&argc,&argv);int rank,size,value;MPI_Status status;MPI_Comm_rank(MP
2016-10-10 22:09:58
2453
原创 MPI_Recv
#include"mpi.h"#include"stdio.h"#include"string.h"int main(int argc, char **argv){char message[20];int myrank;MPI_Status status;MPI_Init(&argc,&argv);MPI_Comm_rank(MPI_COMM_WORLD,&myrank);if(myrank==0
2016-10-10 22:06:17
583
原创 MPI并行计算与矩阵1
//Writed by YaoPu //connect via email: yaopu@iccas.ac.cn//2016 Oct 10#include#include#includelong n, i;double sum, pi, mypi, x, h;int group_size,my_rank;int main(argc,argv)int argc;
2016-10-10 21:55:45
1246
原创 Gromacs_build
cmake .. -DGMX_BUILD_OWN_FFTW=OFF -DREGRESSIONTEST_DOWNLOAD=OFF -DCMAKE_INSTALL_PREFIX=/public/home/fenglk/Program/gromacs512/ -DGMX_SIMD=AVX_256 -DREGRESSIONTEST_PATH=/public/home/fenglk/Program/grom
2016-08-24 18:40:41
725
原创 RDF
//// rdf.C//// Calculate radial distribution functions (RDF).//// Written by: Yanting Wang December 12, 2009//#include #include using namespace std;#include #include #include
2016-08-06 09:54:54
572
原创 MC
//// lj_mc.C//// Monte Carlo simulation code for a Lennard-Jones system.//// Written by: Yanting Wang October 24, 2009//#include #include using namespace std;#include
2016-08-06 09:53:29
779
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人