![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
高级编程技术
文章平均质量分 76
ZacharyLei
这个作者很懒,什么都没留下…
展开
-
浏览Python主页的发现与收获
Python作为高级程序语言中的新起之秀,其简洁大气的官方主页可谓良心!首先,在Python主页上我们可以下载Python的各个发行版,系统齐全,这为Python学习开发人员提供了极大的方便。另外,Python主页中的Documentation中有许多优秀的资料,不仅有指导、论文、常见问题等,更有库/API大全。最令我惊喜的是,在Documentatioin中有十分详尽的Tutorial,可以当教...原创 2018-03-06 18:57:40 · 284 阅读 · 0 评论 -
[高级编程技术作业-Week 13]Scipy相关习题练习
Code:Result:Code:Result:Code:Result:原创 2018-06-05 10:58:32 · 280 阅读 · 0 评论 -
[高级编程技术作业-Week 12]Matplotlib相关习题练习
代码:原创 2018-05-28 19:45:23 · 331 阅读 · 0 评论 -
[高级编程技术作业-Week 14]IPython notebooks, Pandas, Statsmodels
Anscombe's quartetAnscombe's quartet comprises of four datasets, and is rather famous. Why? You'll find out in this exercise. datasetxy0I108.041I86.952I137.583I98.814I118.33Part 1For each of the four ...原创 2018-06-11 23:40:58 · 266 阅读 · 0 评论 -
[高级编程技术作业]LeetCode Problem 83. Remove Duplicates from Sorted List
Description:Given a sorted linked list, delete all duplicates such that each element appear only once.Example 1:Input: 1->1->2Output: 1->2Example 2:Input: 1->1->2->3->3Output: ...原创 2018-04-29 19:51:03 · 166 阅读 · 0 评论 -
[高级编程技术作业]LeetCode Problem 34. Search for a Range
Description:Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the order of O(log n...原创 2018-04-23 23:06:12 · 148 阅读 · 0 评论 -
[高级编程技术作业-Week 11]NumPy相关习题练习
知识总结:原创 2018-05-22 15:08:41 · 275 阅读 · 0 评论 -
[高级编程技术作业]LeetCode Problem 58. Length of Last Word
Description:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.Note: A word ...原创 2018-05-03 19:48:07 · 178 阅读 · 0 评论 -
[高级编程技术作业]LeetCode Problem 520. Detect Capital
Description:Given a word, you need to judge whether the usage of capitals in it is right or not.We define the usage of capitals in a word to be right when one of the following cases holds:All letters ...原创 2018-04-29 16:37:53 · 169 阅读 · 0 评论 -
《Python编程-从入门到实践》第11章习题选练
11-1. City, Country: Write a function that accepts two parameters: a city name and a country name. The function should return a single string of the form City, Country, such as Santiago, Chile. Store ...原创 2018-04-11 19:25:51 · 478 阅读 · 0 评论 -
《Python编程-从入门到实践》第9、10章习题选练
9-1. Restaurant: Make a class called Restaurant. The __init__() method for Restaurant should store two attributes: a restaurant_name and a cuisine_type. Make a method called describe_restaurant() that...原创 2018-04-04 20:41:56 · 627 阅读 · 1 评论 -
《Python编程-从入门到实践》第7、8章习题选练
7-1. Rental Car: Write a program that asks the user what kind of rental car they would like. Print a message about that car, such as “Let me see if I can find you a Subaru.”知识点分析:Python输入函数input的简单应用代...原创 2018-03-29 19:43:41 · 832 阅读 · 0 评论 -
《Python编程-从入门到实践》第5、6章习题选练
5-3. Alien Colors #1: Imagine an alien was just shot down in a game. Create a variable called alien_color and assign it a value of 'green', 'yellow', or 'red'.• Write an if statement to test whether t...原创 2018-03-21 22:53:11 · 774 阅读 · 0 评论 -
《Python编程-从入门到实践》第3、4章习题选练
3-1 姓名: 将一些朋友的姓名存储在一个列表中,并将其命名为names 。依次访问该列表中的每个元素,从而将每个朋友的姓名都打印出来。3-2 问候语: 继续使用练习3-1中的列表,但不打印每个朋友的姓名,而为每人打印一条消息。每条消息都包含相同的问候语,但抬头为相应朋友的姓名。知识点分析:列表元素的访问代码:names = ['Zachary', 'Charlie', 'Alice', 'Neo...原创 2018-03-15 15:45:15 · 2310 阅读 · 0 评论 -
《Python编程-从入门到实践》第2章习题选练
本章主要学习的知识:1. 字符串类型及其常用操作2. 整数和浮点数的常用运算3. 注释的使用以下是课后练习:2-2. Simple Messages: Store a message in a variable, and print that message. Then change the value of your variable to a new message, and print th...原创 2018-03-08 12:34:24 · 419 阅读 · 0 评论 -
[高级编程技术作业-Week 15]Scikit-Learn: Machine Learning in Python
In this 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 generate a random bin...原创 2018-06-17 11:50:14 · 377 阅读 · 0 评论