diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5c1c2d0..a22380b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,9 @@ + - - + + + + @@ -122,7 +125,7 @@ - + 1589815443652 @@ -131,7 +134,14 @@ - @@ -152,7 +162,8 @@ - diff --git a/Assiging/feature_hashing.py b/Assiging/feature_hashing.py new file mode 100644 index 0000000..b225e0a --- /dev/null +++ b/Assiging/feature_hashing.py @@ -0,0 +1,6 @@ +from sklearn.feature_extraction import FeatureHasher +from data import create_data_sweets + +data = create_data_sweets() + + diff --git a/data.py b/data.py index 8d55fcd..c101d40 100644 --- a/data.py +++ b/data.py @@ -1,7 +1,7 @@ from sweets import Sweets -def createDataSweets(): +def create_data_sweets(): allProducts = [] sweet = Sweets('Mars', 'czekoladowy', 'baton', 'sredni', 2.49)