1- You will be given a file named hobbies.txt. a. This file contains a group of fictitious Facebook users and their hobbies. b. Each line in the file contains a user/username and a list of hobbies of that user. c. The data in each line is delimited by commas. d. For instance in the line: 2254,reading,coding,swimming,playing soccer, i. The user/username is: 2254 ii. The hobbies are: reading, coding, swimming, and playing soccer iii. The number and type of hobbies may differ from one user to another. 2- This file will be your data set that your code has to read to be able to implement a code that does the following: a. Finding circles/networks of friends: i. In each circle you will report, all the users should share at least x number of hobbies ii. x is a variable that a user can input to the program. iii. Circles of friends should be written to a file named circles.txt. iv. Each line should have the usernames in the circle/network you found, tab character, and list of shared hobbies. v. for example, a line may look like: 2254,552,1258 reading,swimming,hiking b. Finding popular users: i. Popularity is based on being part of at least y circles/networks. ii. y can be variable that a user can input to the program. iii. Popular users should be written to a file named popular.txt. Each user and how many circles/networks the user belongs to, should be in separate line and separated by the tab character. iv. For instance: 2254 5 v. This step should occur after step (a.). vi. Hint: You may want to save the circles you found in part (a.) in some data structure so that you can us them in this part.
Hello,
I can implement for you a Java or Python program that will process a text files with users and hobbies and create circles of common interest with people as per your description. We can discuss the details if you are interested to work with me.
Thanks,
Paul
Hi, I have a lot of experience with similar projects (I suppose you are student, this seems like an university project to me, as I have recently finished my studies :) ).
Let me know about the programming language that needs to be used for this project, is it C or something else?
Regards, Stefan
Based ion your description i think Python language is best to implement your required coded. implementing algorithms and I/O manipulation are easy in Python. so with my experience i choose python.
I think your problem can be implemented based on creating subsets of all hobbies with length equals to x. and then computing user with shared hobbies for each subset. after that each of your required operation can be implemented.
but what is size of your data and number of hobbies ? if size is very large i can employ PySpark as Big data framework. please provide me some details about it.
Thanks
Recent graduate achieving a First Class honours degree in Computer Science and Artificial Intelligence. I have all the skills required to complete your project but may I ask which programming language you wish to be used? MySQL? Java? (Java would be very easy I think).
I'm interested in becoming a freelancer and this will be one of my first projects. In return for a cheap fee (55 dollars) and good rating I will devote 100% of my time to completing your task. The Java code will be human readable and well commented so that you may understand what is going on - I'll probably be able to finish it in 1 - 2 days.
Your custom will be greatly appreciated!
Kind Regards,
Ben
Hi,
I work with databases and I did my PhD related to diabetes using Stata and SPSS. I am familiar with R also.
Do you need the output and any programs could be used? Or you need a program (like in Java etc.) which deals with text files?
Have a nice day!