Flashield's Blog

Just For My Daily Diary

Flashield's Blog

Just For My Daily Diary

Month: January 2024

02.exercise-explore-your-data【练习:探索数据】

Machine Learning Course Home Page This exercise will test your ability to read a data file and understand statistics about the data. In later exercises, you will apply techniques to filter the data, build a machine learning model, and iteratively improve your model. The course examples use data from Melbourne. To ensure you can apply […]

02.course-basic-data-exploration【基础数据探索】

Using Pandas to Get Familiar With Your Data The first step in any machine learning project is familiarize yourself with the data. You’ll use the Pandas library for this. Pandas is the primary tool data scientists use for exploring and manipulating data. Most people abbreviate pandas in their code as pd. We do this with […]

01.course-how-models-work【模型如何工作】

Introduction We’ll start with an overview of how machine learning models work and how they are used. This may feel basic if you’ve done statistical modeling or machine learning before. Don’t worry, we will progress to building powerful models soon. This course will have you build models as you go through following scenario: Your cousin […]

07.exercise-working-with-external-libraries【练习:使用外部库】

This notebook is an exercise in the Python course. You can reference the tutorial at this link. Try It Yourself There are only three problems in this last set of exercises, but they’re all pretty tricky, so be on guard! Run the setup code below before working on the questions. 自己尝试一下 最后一组练习只有三道题,但是都比较棘手,要小心! 在回答问题之前运行下面的设置代码。 from learntools.core […]

07.course-working-with-external-libraries【使用外部库】

In this tutorial, you will learn about imports in Python, get some tips for working with unfamiliar libraries (and the objects they return), and dig into operator overloading. 在本教程中,您将了解 Python 中的 导入,获得一些不熟悉的库(及其返回的对象)的使用技巧,并深入研究 运算符重载。 Imports So far we’ve talked about types and functions which are built-in to the language. But one of the best things about […]

06.exercise-strings-and-dictionaries【练习:字符串及字典】

Python Home Page Try It Yourself You are almost done with the course. Nice job. Fortunately, we have a couple more interesting problems for you before you go. As always, run the setup code below before working on the questions. 自己尝试一下 您即将完成课程。 不错的工作。 幸运的是,在您出发之前,我们还为您准备了一些更有趣的问题。 与往常一样,在解决问题之前运行下面的设置代码。 from learntools.core import binder; binder.bind(globals()) from learntools.python.ex6 import * print('Setup […]

06.course-strings-and-dictionaries【字符串及字典】

This lesson will cover two essential Python types: strings and dictionaries. 本课程将介绍两种基本的 Python 类型:字符串和字典。 Strings 字符串 One place where the Python language really shines is in the manipulation of strings. This section will cover some of Python’s built-in string methods and formatting operations. Such string manipulation patterns come up often in the context of data […]

05.exercise-loops-and-list-comprehensions【练习:循环及列表推导式】

This notebook is an exercise in the Python course. You can reference the tutorial at this link. Try It Yourself With all you’ve learned, you can start writing much more interesting programs. See if you can solve the problems below. As always, run the setup code below before working on the questions. 自己尝试一下 有了所学的知识,您就可以开始编写更有趣的程序了。 看看你能否解决下面的问题。 […]

05.course-loops-and-list-comprehensions【循环及列表推导式】

Loops Loops are a way to repeatedly execute some code. Here’s an example: 循环 循环是重复执行某些代码的一种方式。 这是一个例子: planets = ['Mercury', 'Venus', 'Earth', 'Mars', 'Jupiter', 'Saturn', 'Uranus', 'Neptune'] for planet in planets: print(planet, end=' ') # print all on same line Mercury Venus Earth Mars Jupiter Saturn Uranus Neptune The for loop specifies the variable name to […]

04.exercise-lists【练习:列表】

This notebook is an exercise in the Python course. You can reference the tutorial at this link. Try It Yourself Things get more interesting with lists. See if you can solve the questions below. Remember to run the following cell first. 自己尝试一下 有了列表,事情就变得更有趣了。 看看你能否解决下面的问题。 请记住首先运行以下单元格。 from learntools.core import binder; binder.bind(globals()) from learntools.python.ex4 import * print('Setup […]

Scroll to top