Python Flashcards

1
Q

numpy

A

работаем с матрицами данных

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

pandas

A

обработка таблиц

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Matplotlib

A

визуализация данных

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Классификация

A

— Логистическая регрессия
— Метод опорных векторов
— Проблема переобучения
— Регуляризация

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

number_user = input()

A

получаем какой-то текст от юзера

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

number_int = int(number_user)

A

переводим текст в целое число

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

if number_int > 0:
print(‘Положительное’)
else:
print(‘Отрицательное’)

A

программа if

+/-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
if number_int > 0:
    print('Положительное')
else:
    if number_int < 0:
        print('Отрицательное')
    else:
        print("Ноль")
A

проверка на ноль

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

bool

A

True / False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

int (integer)

A

целое число

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

input

A

поле ввода данных (строка)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

type()

A

проверка типа данных

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

4 > 5

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

композитные условия

A

and

or

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

не равно

A

!=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

and

A

age = 29

if age > 18 and age < 40:
print(‘Age is 18..40’)