-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththis.txt
18 lines (18 loc) · 1.27 KB
/
this.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
1.First, I predicted the "Store_Name" for "Pinginformation" dataframe by:-
(a) I trained the Randomforest classifier by taking features as "Floor", "longitude"
and "latitude" and labels as "Store_Name" from storemapping dataframe.
(b) Predicted the "Store_Name" as labels on pinginformation dataframe by taking "Floor",
"longitude" and "latitude" as testing features from pinginformation dataframe for every
corresponding "Shopper_ID".
(c) Took the most frequent occuring value (Mode) of "Store_Name" for every corresponding
"Shopper_ID".
2.Second, I predicted the "Store_Category_Visited" for "Pinginformation" dataframe by:-
(a) I mapped the "Store_Category_Name" for storemapping dataframe by using Categorymapping
dataframe for corresponding "Store_Name".
(b) Trained the Support Vector Machine classifier by taking features as "Floor", "longitude"
and "latitude" and labels as "Store_Category" from storemapping dataframe.
(c) Predicted the "Store_Category" as labels on pinginformation dataframe by taking "Floor",
"longitude" and "latitude" as testing features from pinginformation dataframe for every
corresponding "Shopper_ID".
(d) Took the most frequent occuring value (Mode) of "Store_Category" for every corresponding
"Shopper_ID".