- 博客(16)
- 资源 (4)
- 收藏
- 关注
原创 [高级编程技术作业-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
419
原创 [高级编程技术作业-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
299
原创 [高级编程技术作业]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
211
原创 [高级编程技术作业]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
197
原创 [高级编程技术作业]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
194
原创 [高级编程技术作业]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
180
原创 《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
522
原创 《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
666
原创 《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
878
原创 《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
819
原创 《Python编程-从入门到实践》第3、4章习题选练
3-1 姓名: 将一些朋友的姓名存储在一个列表中,并将其命名为names 。依次访问该列表中的每个元素,从而将每个朋友的姓名都打印出来。3-2 问候语: 继续使用练习3-1中的列表,但不打印每个朋友的姓名,而为每人打印一条消息。每条消息都包含相同的问候语,但抬头为相应朋友的姓名。知识点分析:列表元素的访问代码:names = ['Zachary', 'Charlie', 'Alice', 'Neo...
2018-03-15 15:45:15
2379
原创 《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
457
原创 浏览Python主页的发现与收获
Python作为高级程序语言中的新起之秀,其简洁大气的官方主页可谓良心!首先,在Python主页上我们可以下载Python的各个发行版,系统齐全,这为Python学习开发人员提供了极大的方便。另外,Python主页中的Documentation中有许多优秀的资料,不仅有指导、论文、常见问题等,更有库/API大全。最令我惊喜的是,在Documentatioin中有十分详尽的Tutorial,可以当教...
2018-03-06 18:57:40
311
离散数学及其应用(Rosen第7版)偶数题答案
2017-07-09
离散数学及其应用(第七版)Rosen 奇数题答案(英文)
2017-07-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人