跟讀練習: ► 2. СВОЙСТВА МАССИВОВ. Функции автозаполнения | Курс по Numpy. - 通過影片學習英語口語

選擇練習模式

每種模式都會開啟全屏練習室。

130 句
如果句子過短或過長,請點選 Edit 進行調整。
1
Здравствуйте друзья, с вами Дубинин Сергей, вы смотрите видео из курса по библиотеке NumPy.
2
В этом видео вы познакомитесь с основными свойствами массивов, а также разберем специальные функции для их формирования.
3
Перед тем как мы начнем, поставьте видео на паузу, подпишитесь на канал и нажмите на колокольчик, чтобы не пропускать новые видео.
4
Также не забывайте про задачи, которые я подготовил ко всем видео курсам, ссылку найдете в описании.
5
First, we import the library and create a massive, with which we will continue to work.
6
The function array is already known.
7
The massive has two asses and the size is 3x3.
8
The first element is enddim.
9
With its use, we get the number of asses in the massive.
10
There are only two asses.
11
The second element is size.
12
It returns the number of elements in the massive.
13
Because we have a massive size of 3 on 3, the number of elements should be 9.
14
Let's see how it is.
15
And we see that it is exactly like this.
16
The next component is Shape.
17
This component is brought to Cartage, showing what number of elements are on each of theses.
18
I'm going to perform this section.
19
In this component, we have three elements on each of theses.
20
Also, with this component, we can change the form of the mass.
21
выполню эти две строчки и мы видим что форма массива изменилась до этого он был 3 на 3
22
а теперь он имеет 9 элементов по одному элементу в каждом
23
то есть 9 на 1 о свойстве шейп мы еще подробно
24
поговорим в следующем видео а сейчас переходим свойства detail с помощью него можно how to get the data in the mass,
25
in this case it is IN32, so to change the data in the new data.
26
For this, we need to write the data in the new data.
27
I complete this array, and we see that the data has changed.
28
But it turns out that the mass has changed.
29
Here it has 9 elements, and here 9 elements.
30
таких элементов дело в том что до того как мы поменяли
31
тип данных на int 8 данные в массиве имели тип данных
32
int 32 и под каждый элемент массива было выделено по 4
33
байта в памяти а элемент с типом данных int 8 занимает
34
1 байт в памяти поэтому одно значение с типом данных int
35
32 заменилось на 4 значения с типом данных int 8 стоит отметить что при такой замене types of data,
36
and if again change the type of data on int32, then we will get the data frame.
37
Now we will see the different functions for creating massives that work faster than the array function.
38
The first function is empty.
39
It returns the type of data and the type of data.
40
For example, we will get a number of massives with 7 elements with certain values.
41
данная функция работает быстрее всех функций которые мы сегодня с вами
42
рассмотрим в эту функцию можно передать список чтобы получить массив нужного
43
размера выполню эту строчку и получаю массив у которого три элемента на нулевой оси два элемента на первой оси
44
and one element on the last one.
45
You can also install the type of data in the mass.
46
For this, in the argument Detype, we give the type of data.
47
We complete this array and get a mass of this type of data with this type of data.
48
The next function is Once.
49
It returns the mass of the size and type of data and contains only 1.
50
выполню эту ячейку и получаем массив размером 3 на 3 на
51
2 со всеми единицами еще одна полезная функция once like она
52
на вход принимает массив и возвращает массив того же размера но
53
со всеми единицами для примера я создам вот такой вот массив
54
с размером 3 на 2 и на 2 и передам его
55
функцию once like посмотрим что получится здесь хорошо видно что данная функция вернула нам massif такого же размера,
56
но вместо вот этих вот значений у нас стоят единицы.
57
Следующая функция Zeros.
58
Она возвращает массив заданного размера и типа данных и содержит только нули.
59
Выполню и получаем массив 3 на 2 и на 3 со всеми нулями.
60
Функция ZerosLike работает аналогично функции OnceLike.
61
В нее мы передаем массив и она возвращает массив такого же размера, но только со всеми
62
выполню эту ячейку вот это массив который мы передали функцию за
63
1 like а вот это то что она вернула тот же самый размер Но все элементы равны нулю.
64
Еще одна функция full.
65
В нее передается два аргумента.
66
Первый это размер массива.
67
А вторым значение которым будет заполнен весь массив.
68
Выполню эту ячейку и получаю массив размера 3 на 2 и на 3 со всеми семерками.
69
Думаю как работает функция full like вы уже догадываетесь.
70
В нее мы передаем массив и какое -нибудь число.
71
В итоге получаем массив такого же размера как и тот который мы передали.
72
но заполненный всеми семерками теперь рассмотрим как создавать массивы с числовым
73
диапазоном для этого нужно воспользоваться функции range если мы передадим сюда
74
число например семерку то получим одномерный массив с целочисленными значениями от
75
0 до 6 7 в этот диапазон не включена функцию можно
76
передать начало и конец диапазона получим вот такой вот одномерный массив с with the numbers of 7 to 16, the number of 17 is not included in this diapason.
77
In addition to the same diapason, we can also include the steps.
78
For example, we have a step 3.
79
Again, we have a standard mass of this diapason with this step 7, 10, 13 and 16.
80
As you can see, this function is very similar to the same function range of Python.
81
But there are differences in this function this is not only a single step, but also a single step.
82
In the end, we have a one -way mass of this one -way, where 10 is not in the one -way, with a single step of 0 .5.
83
We still have a basic function with which we can create any size of any size.
84
Now we have a basic function with which we can create a matrix.
85
Remember that the matrix is a This is a square table of numbers, so there should only be two axes.
86
The first function, which we consider, is MATH.
87
If we give it a set, then this function will return the matrix, which is one of the strings.
88
If you look at this function, this function will return the matrix, Two of the strings, and two of the strings.
89
This means that here is not a single mass, like this case, but a double mass.
90
So this is a matrix with one strata.
91
If the function is to give like this, then it will return to the matrix with two strata and three strata.
92
The next function is Diag.
93
This function is to change the matrix, on the main diagonal of which are the elements of this matrix.
94
But if the function is to give a matrix, then it will return the value of this mass, which will be on the main diagonal of this mass.
95
The next function is Diagflat.
96
It will turn any mass, even a two -mer mass, into a diagonal matrix, on the main diagonal of which will be left the elements of this mass.
97
All the other values will be equal to 0.
98
The function Y will return the matrix, which is on the main diagonal of this mass.
99
If we add here just a number of numbers, for example, 4, then we get a matrix of 4 on 4 with 1 on the diagonal,
100
so that we can also add any other number of numbers of matrix.
101
In this case, we get 4 on 5, but also with 1 on the diagonal.
102
If we need a 1 on the matrix, then we can use this function, We can add the number of the number of the number
103
of the number of the number of the number of the
104
number of the number of the number of the number of
105
the number of the number of the number of the number
106
of the number of the number of the number of the
107
number of the number of the number of the number of
108
the number of the number of the number of the number
109
of the number of the number of the number of the number of the number.
110
on 8 with all the units on the main diagonal and below it.
111
The next function is Trill.
112
In this function gives a two -dimensional mass.
113
And the function returns the lower triangle matrix, which is the one from the previous mass.
114
This looks like the NPRay.
115
And this is the one that returns the Trill.
116
See, all the elements above the diagonal diagonal are lost.
117
If the function Trill will be added in the список, то мы также получим нижнюю треугольную матрицу,
118
в которой нулевой столбец заполнен значением из списка с индексом 0, первый столбец из соответствующего значения в списке, ну и так далее.
119
Последняя функция, которую мы сегодня рассмотрим, функция True.
120
В нее передается также двухмерный массив, и на выходе получаем верхнюю треугольную матрицу.
121
Вот так вот выглядит массив, который мы передаем функцию.
122
А вот что получаем на выходе.
123
We can see that the elements below the main diagonal are equal to 0, so this matrix is a triangle.
124
And in the same way, you can also add a list.
125
And we get the top triangle matrix.
126
This is what we have done to the end.
127
So, if the material is better, you can do the tests and decide the task.
128
The link will be found in the description.
129
Don't forget to subscribe to the channel, leave the like, leave the comment.
130
I'm with you, I'll see you next time.

下載應用

流利口語所需的一切

AI 發音評分逐句打分
音標練習掌握每個音
詞彙學習建立你的詞庫
詞彙遊戲邊玩邊學
FOR YOU

推薦影片

本課的詞彙與口語要點

這節 C1 級別的口語課以影片“► 2. СВОЙСТВА МАССИВОВ. Функции автозаполнения”為素材。 影片中反覆出現的詞有:function, mass, matrix, element, diagonal。 這段影片共有 98 個句子、1036 個單詞可供跟讀。 講話部分時長為 10:16。 說話人語速較慢,每分鐘約 101 個詞,你有足夠的時間模仿每一個音。 88% 的單詞屬於英語最常用的 3,000 詞,其餘的詞建議在練習前先學一下。

影片中的重點詞彙

影片中最難的 12 個單詞,附發音和釋義:

單詞發音釋義
element 名詞/ˈɛləmənt/要素
component 名詞/kəmˈpoʊ.nənt/元件, 部件
string 名詞/stɹɪŋ/線 /線
triangle 名詞/ˈtɹaɪˌæŋɡəl/三角, 三角形
thesis 名詞/ˈθisɪs/論點 /論點, 論題 /論題
install 動詞/ɪnˈstɔl/安裝 /安裝
import 名詞/ˈɪm.pɔɹt/進口貨 /進口貨, 舶來品 /舶來品
dimensional 形容詞/daɪˈmɛn.ʃə.nəl/維的 /維的
subscribe 動詞/səbˈskɹaɪb/簽署 /簽署
axe 名詞/æks/футу, 斧頭 /斧頭
diagonal 形容詞/daɪ̯ˈæɡ(ə)nəl/對角 /對角
massif 名詞/mæˈsiːf/山體 /山體

影片中出現的短語動詞

單詞釋義
turn out 動詞原來 /原來

值得反覆跟讀的句子

影片中簡短而完整的句子,可以直接用在日常對話裡:

  • Let's see how it is.
  • I'm going to perform this section.
  • I'm with you, I'll see you next time.

影片中的語法

說話人最常用的結構,並附上影片中的原話:

結構影片中的用法
條件句 if + 從句,will/would + 動詞 — 條件及其結果If the function Trill will be
被動語態 be + 過去分詞 — 強調發生了什麼,而不是誰做的is already known · is brought · is not included
定語從句 who / which + 從句 — 補充說明人或事物matrix, which is · mass, which will
現在完成時 have/has + 過去分詞 — 過去發生但與現在仍有關聯的事has changed · have done

需要注意的發音

說話人用了 4 次縮略和弱讀形式,例如 I'm, don't, I'll。請按聽到的簡短形式來說。

  • 長單詞——注意重音位置: dimensional /daɪˈmɛn.ʃə.nəl/, diagonal /daɪ̯ˈæɡ(ə)nəl/

中文母語者容易讀錯的音:

  • 詞尾子音 — 要讀清楚,後面不要加母音: matrix /ˈmeɪ.tɹɪks/, element /ˈɛləmənt/, component /kəmˈpoʊ.nənt/, thesis /ˈθisɪs/, import /ˈɪm.pɔɹt/
  • /æ/ — 嘴張大,不要讀成 /e/: triangle /ˈtɹaɪˌæŋɡəl/, axe /æks/, diagonal /daɪ̯ˈæɡ(ə)nəl/, massif /mæˈsiːf/

如何用這段影片練習

  1. 先完整聽一遍影片,不要開口,記下不認識的單詞。
  2. 用正常速度逐句跟讀,每句重複到你的節奏與說話人一致為止。
  3. 錄下自己的聲音並與原聲對比,特別注意 element, component, string 這類單詞。

什麼是跟讀法?

跟讀法 (Shadowing) 是一種有科學依據的語言學習技巧,最初開發用於專業口譯員的培訓,並由多語言者Alexander Arguelles博士普及。這個方法簡單而強大:您在聽英語母語原聲的同時立即大聲重複——就像是一個延遲1-2秒緊跟說話者的影子。與被動聽力或語法練習不同,跟讀法強迫您的大腦和口腔肌肉同時處理並模模擬實的講話模式。研究表明它能顯著提高發音準確性,語調,節奏,連讀,聽力理解和口語流利度——使其成為雅思口語備考和真實英語交流最有效的方法之一。

影子跟讀法: 閱讀完整分步指南 →