IUM_7
This commit is contained in:
parent
0916bfc576
commit
25619cb914
@ -1,7 +1,7 @@
|
|||||||
import pandas as pd
|
import pandas as pd
|
||||||
from sklearn.model_selection import train_test_split
|
from sklearn.model_selection import train_test_split
|
||||||
|
|
||||||
data = pd.read_csv('data/beer_reviews.csv')
|
data = pd.read_csv('beer_reviews.csv')
|
||||||
|
|
||||||
train_data, test_data = train_test_split(data, test_size=0.2, random_state=42)
|
train_data, test_data = train_test_split(data, test_size=0.2, random_state=42)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user