自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 收藏
  • 关注

原创 《Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting》

《Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting》论文阅读笔记摘要:及时准确的交通预测对于城市交通控制与指导至关重要。由于交通流量的非线性和复杂性,传统方法满足不了中长期预测任务的条件且经常忽略时间相关性和空间相关性。在本文中,我们提出了一个深度学习框架Spatio-Temporal Graph Convolutional Networks (STGCN) 以解

2020-08-14 08:53:13 771

原创 《DIFFUSION CONVOLUTIONAL RECURRENT NEURAL NETWORK: DATA-DRIVEN TRAFFIC FORECASTING》论文阅读笔记

《DIFFUSION CONVOLUTIONAL RECURRENT NEURAL NETWORK: DATA-DRIVEN TRAFFIC FORECASTING》论文阅读笔记摘要:时空预测在神经科学、气候和交通等领域有着丰富的应用,其中交通预测就是一个典型的例子,该任务极具挑战性,因为:(1)道路网络中复杂的空间相关性;(2)伴随着道路状况变化的非线性时间动态性;(3)长期预测的内在困难性。为了解决这些问题,我们提出将交通流量建模为一个在有向图的扩散过程(diffusion process),并提出

2020-08-14 08:41:47 1362 1

原创 2020-08-07

《Flow Prediction in Spatio-Temporal Networks Based on Multitask Deep Learning》论文阅读笔记摘要:预测时空网络中的流量(例如车辆、人流、自行车等)是交通系统中一个十分重要的议题。这是一个极具挑战性的问题,它受多重复杂因素的影响,诸如不同地点之间的时空相关性、不同时间段之间的时间相关性、外部因素(事件和天气)等。除此之外,一个顶点中的流量(称之为顶点流量)和顶点之间的运输量(称之为边流量)也互相影响。为了解决这些问题,本文提...

2020-08-07 09:47:03 309

原创 Python Homework(第十五周,周三)

题目代码import sklearnfrom sklearn import metrics#load a default datasetfrom sklearn import datasetsiris = datasets.load_iris()dataset = datasets.make_classification(n_samples=1000,n_features=10,n_in...

2018-06-19 22:03:39 122

原创 Python Homework(2018-06-06,第十五周周三)

pandas    statsmodels     seaborn用pandas中的DataFrame时选取行或列import numpy as npimport pandas as pdfrom pandas import Sereis, DataFrameser = Series(np.arange(3.))data = DataFrame(np.arange(16).reshap...

2018-06-12 10:29:42 279

原创 Python Homework(2018-05-30,第十三周周三)

Python之Scipy【解题思路】最小二乘法,使用numpy.linalg模块的lstsq函数。【具体代码】import numpy as npm = 20n = 10A = np.random.rand(m,n)b = np.random.rand(m,1)x,_,_,_ = np.linalg.lstsq(A,b,rcond=None)b_ = np.dot(A,x)sum =...

2018-06-02 15:22:15 245

原创 Python Homework(2018-05-23,第十二州周周三)

MatplotlibEXExercise 11.1源代码import matplotlib as mplimport matplotlib.pyplot as pltimport mathimport numpy as npx = np.arange(0,2,0.02)plt.plot(x,np.sin((x-2)*(math.e**(-x*x))))plt.title("Plotti...

2018-05-29 09:45:31 152

转载 matplotlib库函数大全

Python之Matplotlib库常用函数大全(含注释)plt.savefig(‘test’, dpi = 600) :将绘制的图画保存成png格式,命名为 testplt.ylabel(‘Grade’) :  y轴的名称plt.axis([-1, 10, 0, 6]) :  x轴起始于-1,终止于10 ,y轴起始于0,终止于6plt.subplot(3,2,4) :  分成3行2列,共6个绘图...

2018-05-29 08:54:49 3270

转载 Matlab函数

Matlab函数一个函数是一组在一起执行任务的语句。 在MATLAB中,函数在单独的文件中定义。文件的名称和函数的名称应该是一样的。函数在自己的工作空间内的变量上运行,这个变量也称为本地工作空间,与在MATLAB命令提示符下访问的工作区(称为基本工作区)不同。函数可以接受多个输入参数,并可能返回多个输出参数。函数语句的语法是 -function [out1,out2, ..., outN] = m...

2018-05-18 23:34:26 555

原创 Python作业(2018-05-16,第十一周周三)

Introduction to Python Exercise NumpyGenerate matrices A, with random Gaussian entries, B, a Toeplitz matrix, where A ∈Rn×m and B ∈Rm×m, for n = 200, m = 500.Exercise 9.1: Matrix operations Calculate ...

2018-05-17 15:14:40 137

转载 GLUT函数说明(转载)

GLUT函数说明(转载) 一、初始化void glutInit(int* argc,char** argv) 这个函数用来初始化GLUT库。对应main函数的形式应是:int main(int argc,char* argv[]);  这个函数从main函数获取其两个参数。void glutInitWindowSize(int width,int height);void glutInitWi...

2018-05-15 09:10:46 233

原创 作业(2018-05-02,第九周周三)

Leetcode    46. PermutationsGiven a collection of distinct integers, return all possible permutations.Example:Input: [1,2,3]Output:[ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1]...

2018-05-06 12:25:05 100

原创 作业(2018-04-28,周六)

817. Linked List ComponentsWe are given head, the head node of a linked list containing unique integer values.We are also given the list G, a subset of the values in the linked list.Return the number ...

2018-04-29 20:01:26 93

原创 作业(2018-04-25,周三)

125. Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.Note: For the purpose of this problem, we define empty string as valid...

2018-04-27 22:46:41 88

原创 作业(2018-04-23,第八周周一)

16. 3Sum Closest16. 3Sum Closest                                                       Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest...

2018-04-24 20:30:28 127

原创 第十二次作业(2018-04-11,周三)

教材第十二章习题12-1    蓝色天空import sysimport pygamepygame.init()screen = pygame.display.set_mode((1200,800))pygame.display.set_caption("Alien Invasion")bg_color = (0,0,255)while True: for event in p...

2018-04-13 23:38:49 126

原创 第十一次作业(2018-04-09,周一)

教材第十一章习题11-1#city_functions.pydef city_func(city_name, country_name): return (city_name+","+country_name).title()#test_cities.pyimport unittestfrom city_functions import city_funcclass Test(unittes...

2018-04-12 17:05:08 112

原创 第十次作业(2018-04-04,周三)

教材第十章习题10-1#learning_python.txtIn python you can do mathematical calculationsIn python you can keep accountsIn python you can design websitesIn python you can develop good games#test.pyfile_name = "le...

2018-04-08 20:12:13 185

原创 第九次作业(2018-04-02,周一)

教材第九章习题9-1class Restaurant(): def __init__(self, restaurant_name, cuisine_type): self.restaurant_name = restaurant_name self.cuisine_type = cuisine_type def describe_restaurant(self): print("The re...

2018-04-08 13:08:04 112

原创 第八次作业(2018-03-28,周三)

教材第八章习题8-1def display_message(): print("What I learn in this chapter is function")display_message()8-2def favorite_book(book_name): print("One of my favorite books is "+book_name+".")favorite_book("Py...

2018-03-28 23:42:59 125

原创 第七次作业(2018-03-26,周一)

教材第七章习题7-1message  = input("What kind of car do you want?")print("Let me see if I can find a "+message+".")7-2number = int(input("How many people will have dinner?"))if number>8: print("Sorry, we d...

2018-03-26 17:26:02 201

原创 第六次作业(2018-03-21,周三)

6-1inf = {"first_name":"Huan", "last_name":"Huang", "age":20, "city":"GuangZhou"}print("first_name:"+inf["first_name"])print("last_name:"+inf["last_nam

2018-03-21 21:49:18 138

原创 第五次作业(2018-03-19,周一)

教材第五章习题5-2print("huan"=="huan")print("huang"!="huang")print("Huan".lower()=="huan")print("Huang".lower()=="huan")print(0.2>0.21)print(-1<=0)print(6>3 and 6

2018-03-19 23:16:27 128

原创 第四次作业(2018-03-15,周三)

教材第四章习题4-2animals = ["cat", "dog", "godfish"]for animal in animals: print("A "+animal+" would make a great pet.")print("Any of these animals would make a great pet!")4-3for i in range(1,21): print

2018-03-15 17:05:57 156

原创 第三次作业(2018-03-12,周一)

教材第三章习题3-1names = ["huanghb", "huanghh", "huangjx", "huangj"]print(names[0])print(names[1])print(names[2])print(names[3])3-2names = ["huanghb", "huanghh", "huangjx", "huangj"]p

2018-03-12 18:56:23 173

原创 第二次作业(2018-03-07,周三)

教材第二章练习题2-1message = "Hello, World!"print(message)2-2message = "Hello, World!"print(message)message = "My Name Is Python."print(message)2-3name = "Eric"print("Hello "+name+",would you like to learn so.

2018-03-11 10:51:26 102

原创 第一次作业(2018-03-05,周一)

    这是第一次上Python课,大致了解了Python语言的一些基本特征,课后又浏览了Python主页www.python.org,有了不少发现和收获。一、Python语言特性1、Python是一种解释型语言,与c/c++相比,Python是动态编译的,Python语言指令可以一边编写一边执行。2、Python的设计初衷之一就是增强程序的可读性,Python使用换行、缩进等空白字符来区分不同的...

2018-03-11 10:11:40 144

空空如也

空空如也

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

TA关注的人

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