Data Structure in java i.e book recommendation
In this project we have following classes i.e
as you can see we are working on three dataset i.e amazon, ZStore and UrdUBazar There are two classes in it
In the pictures below we can see that we are using Nodes for storing multiple attributes of a book. Attributes of a Book are Book Name, Author Name, Price, Rating, Purchase Ratio and Number of Reviews
In this picture you will see a class re which is used in recommanding by scores which you will see below later
General class is used for extract and formatting the dataset which is being used by using csv files in the requried form by using differet function as :
This Function is used for scanning a csv file and separating the data by commas
This function was used for extracting the data into a specified fromat
This function is used to input the extract data of all three file in Nodes, As all three dataset have same books but have differnt price, Purchase Ratio, Number of reviews and are from different source i.e Amazon, ZStore and Urdu Bazar. You will see below that i am using a max function to get the maximum value out of all the three dataset of Purchase Ratio, Reviews and Rating. In case of price i am extracting the minimum price out of all and from which souce i get the minimum price i am also maintaining it
Here a function is being used for geting the max