Eduonix ML Tutorial Flashcards

1
Q

Print the version of sys

A

print(sys.version)

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

Print the version of any other library

A

print(.__version__)

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

Print the version of any other library example

A

print(nltk.__version__)

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

Import pandas

A

import pandas as pd

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

Import numpy

A

import numpy as np

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

Load dataset steps

A
  1. Download zip file
  2. Extract all to tutorial folder
  3. Create dataframe
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Load dataset

A

pd.read_table(‘’)

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

Load dataset example

A

pd.read_table(‘SMSSpamCollection’)

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

Create a dataframe

A

df = pd.read_table(‘’)

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

Create a dataframe example

A

df = pd.read_table(‘’)

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