自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

= =

……

  • 博客(18)
  • 收藏
  • 关注

原创 Deploying guidelines and a simplified data model ...文献笔记

目录 Catalog本文希望解决的问题原文:Deploying guidelines and a simplified data model to provide real world geodata in driving simulators and driving automation原文标题太长了,博客标题都打不下了……本文希望解决的问题...

2020-09-13 20:26:39 224

原创 OpenDRIVE 1.6 参考线采样方法

目录 Catalog前言 Foreword坐标系 Coordinate Systems参考线几何描述 Geometry直线 Line参考线坐标系es⃗,et⃗,eh⃗\vec{e_s}, \vec{e_t}, \vec{e_h}es​​,et​​,eh​​曲率κ\kappaκ位置p⃗\vec{p}p​欧拉螺旋线 & 弧线 Sipral & Arc曲率κ\kappaκ参考线坐标系es⃗,et⃗,eh⃗\vec{e_s},\vec{e_t},\vec{e_h}es​​,et​​,eh​​位置p⃗

2020-09-06 00:04:18 1931 8

原创 Phong光照模型与Blinn-Phong光照模型的优劣问题

目录Phong光照模型Phong光照模型的BRDF版本Blinn-Phong光照模型Blinn-Phong光照模型的BRDF版本两种模型的效果与优劣可能的误区参考资料Phong光照模型首先来看一下Phong光照模型的计算式:Lo(v⃗)=(cosθi∗cdiff+cosmαr∗cspec)⊗BLL_o(\vec{v})=(cos{\theta_i}∗c_{diff}+cos^m{\alpha_r}∗c_{spec})\otimes B_LLo​(v)=(cosθi​∗cdiff​+cosmαr​∗cs

2020-05-24 12:21:34 2558

原创 hw15(第十五周)

sklearn相关练习 In the second ML assignment you have to compare the performance of three different classification algorithms, namely Naive Bayes, SVM, and Random Forest. For this assignment you need to...

2018-06-19 09:39:53 336

原创 hw14(第十四周)

Pandas、Seaborn相关练习 Anscombe’s quartet Anscombe’s quartet comprises of four datasets, and is rather famous. Why? You’ll find out in this exercise. Part 1 For each of the four datasets… ...

2018-06-11 12:55:51 318

原创 hw13(第十三周)

Scipy相关练习 Exercise 10.1: Least squares Generate matrix A ∈ Rm×n with m > n. Also generate some vector b ∈ Rm. Now find x = arg(min xk)||Ax−bk||2. Print the norm of the residual. Exercise 10.2...

2018-05-31 15:57:33 243

原创 hw12(第十二周)

Matplotlib相关练习 Exercise 11.1: Plotting a function Plot the function f(x) = sin2(x−2)e−x2 over the interval [0,2]. Add proper axis labels, a title, etc. Exercise 11.2: Data Create a data matr...

2018-05-28 15:48:56 321

原创 hw11(第十一周)

Numpy相关练习 Generate 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 A + A, AA>,A&g...

2018-05-21 00:12:44 268

原创 hw10(第九周)

LeetCode 338 (Counting Bits)思路: 如果已知0到2^k - 1之间的所有数的比特计数,那么2^k到2^(k+1) - 1之间的所有数的比特计数就可以推导出来:bit [ i + 2^k ] = bit [ i ] + 1,其中0 <= i < 2^k. 因为bit [ i + 2^k ]的前k位与bit [ i ]相同,只是第k+1位由0变成了1....

2018-05-03 15:01:16 128

原创 hw9(第九周)

LeetCode 4 (Median of Two Sorted Arrays)思路: 设两个有序数组为a[0:m], b[0:n]。如果存在两个正整数x, y使{a[0:x], b[0:y]}, {a[x:m], b[y:n]}为个数相等或个数相差不大于1的两个集合P, Q,满足P中任意数不大于Q中任意数(max(P) <= min(Q)),那么中位数会变得非常好找。得到中位数...

2018-05-02 17:56:50 216

原创 hw8(第八周)

LeetCode 206 (Reverse Linked List)思路: 如果原链表为空或只有一个结点,则直接返回原链表(后面会发现只有一个结点的情况可以合并到下面的情况)。 遇到其他情况则可以创建一个新链表。以原链表的头为新链表的尾,在遍历原链表时把遍历到的链表逐个插入到新链表的前面。 在链表前插入结点的步骤如下:创建一个新的结点frontNode.令frontNode的后继...

2018-04-27 21:03:47 125

原创 hw7(第八周)

LeetCode 665 (Non-decreasing Array)思路: 声明一个计数器。对比数组中两个相邻的数的大小,如果后者不小于前者,则往下继续比较;如果后者小于前者,则计数器+1,并判断下列两个条件是否满足(不妨设两个数分别为nums[i]和nums[i + 1]): 1. i > 0 且 nums[i + 1] < nums[i - 1] 2. i <...

2018-04-23 20:26:48 178

原创 hw6(第六周)

# [11-1, 11-2]import unittest# 11-1, 11-2def city_country(city, country): return city + ', ' + countrydef city_country2(city, country, population): return city + ', ' + country + ' - popu...

2018-04-16 00:06:53 143

原创 hw5(第五周)

# [9-1, 9-2, 9-3]# 9-1class Restaurant: def __init__(self, _name, _type): self.restaurant_name = _name self.cuisine_type = _type def describe_restaurant(self): print...

2018-04-07 22:50:32 257

原创 hw4(第四周)

# [7-1, 7-2, 7-3]# 7-1car = input('What kind of car would you like to rend? ')print('Let me see if I can find you a ' + car)# 7-2if(int(input('How many people are there having dinner? ')) >= 8...

2018-03-28 21:36:24 144

原创 hw3(第三周)

# [5-1]# 5-1mouse = 'Jerry'print("Is mouse == 'Jerry'? I predict True.")print(mouse == 'Jerry')print("Is mouse == 'Mickey'? I predict False.")print(mouse == 'Mickey')# [5-3, 5-4, 5-5, 5-6, 5-...

2018-03-22 17:36:16 546

原创 hw2(第二周)

# [3-1, 3-2, 3-3]# 3-1names = ['Mao', 'Deng', 'Jiang', 'Hu', 'Xi']for name in names: print(name)# 3-2for name in names: print(name + ': Hello!')# 3-3vehicles = ['motorcycle', 'bike', 'c...

2018-03-15 09:34:16 196

原创 hw1(第一周)

1.浏览https://www.python.org/的发现和收获。官网上有在线的python shell.看到一些python2和python3代码的对比,发现python3中的print比python2更像函数。发现了很多功能相似的库,如发现了很多图形库。2.打算实现的程序。爬虫,游戏,网站,都算是目标……不过最近的想用python实现的程序应该会是爬虫相关的,比如可以爬取课表并生成自定义课表...

2018-03-07 22:58:13 214

空空如也

空空如也

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

TA关注的人

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