Strategies for Landmark Selection
1. In this example you will implement the algorithm for approximating distances in networks. First, you will select ?? landmarks ?? = {??1, ??2, ????} and then compute distances from each of these landmarks to all other nodes in the network. Using the upper bound on the distance you will approximate the distances for all pairs of nodes ?? and ?? by:?????,?? = ??????????? {???,???? + ???,???? }.To practically evaluate different strategies for selecting landmarks you will work with the network from the Les Misarables book. On the course web site you can find the network and a simple python code (https://courses.isds.tugraz.at/dhelic/websci/websci1.zip) showing you how to work with the network analysis library networxs (https://networkx.github.io/). This network has ?? = 77 nodes (76 nodes are in the giant component and you should work only with the giant component) and for each experiment you will select ?? = 10 landmarks. Implement these three strategies for landmark selection:(a) uniform random selection of landmarks, (b) random selection of landmarks proportional to the nodes degree, (c) random selection of landmarks inversely proportional to the nodes degree.To evaluate the strategies compute distances exactly for all pairs of nodes. Than compute absolute error for each pair of nodes ?? and ??:????,?? = |????,?? ? ?????,??|. Plot the histogram of absolute errors for all three strategies, together with the mean absolute error and the sample standard deviation of the error. Label the axes of your plots and provide a descriptive title for the plots. Include the mean and the standard deviation in the title of the plot. For all computations, plots, etc. you can either implement the code yourself or find an appropriate networxs function. For plotting use matplotlib and seaborn, which provides ready to use functions for various kinds of plots. In your report submit only the plots with a short discussion of what you see in the plots and which strategy worked best in your opinion. If your results are inconclusive you can repeat the selection of landmarks many times (e.g., 1000 times) and look at the averages over the landmark selections. In case of repetitions optimize your code by e.g., computing distances in a preprocessing step. You do not need to submit the code. For creating the report you can use the provided tex file to compile to PDF or create a PDF with any other tool that you like.
Top Homework Writers is here for any paper writing help you need!
Plagiarism-free Papers
We guarantee that every piece of work we produce is original. Top Homework Writers has a team of native-speaking experts who are devoted to giving you the best paper writing help. Your work will be 100% original and on time since they always adhere to your instructions, use reputable sources, and quote them appropriately. The referencing styles used by our paper writing help experts are always per university guidelines..
Stay Anonymous
We are dedicated to delivering the safest online payment experience possible, guaranteed confidentiality. That is why we maintain complete confidentiality regarding our customers' orders. Customers' private information is always protected with the highest care and confidentiality. SSL data encryption ensures that all transactions with us are safe and secure, and we provide a variety of payment choices. You can trust Top Homework Writers to keep your personal information private..
Wow Customer Support
Our online support chat is available around the clock to answer any queries about the ordering paper writing help procedure. Our customer service team cares about your satisfaction and will answer any questions you may have along the way. Our experts can assist you in any way possible, whether it's assisting you in putting together the essential points that you're struggling to convey, providing advice, or writing an entire essay.
Top Notch Quality Papers
If you need an essay urgently, or you have been in the “I need help with writing a paper” mode, you can always count on the expertise of our writers to deliver. You can relax knowing that you'll acquire a high-quality paper with our paper writing help services since their arguments are well-defined and presented. We offer help in writing papers that meet or exceed the standards and criteria of colleges and universities. That's why we have a quality assurance team to ensure that our papers help writing services are of the highest quality.
We can help with urgent tasks
Whether you need help writing papers in a matter of hours or a matter of days, we can meet your deadline. All our college paper writers are full-time writers, which means that they know their way around credible scholarly sources, and they can write a lot of pages in a short time. When you work with Top Homework Writers, you can count on us to meet every deadline. To meet your deadline, we work around the clock, even if that means staying up all night..
Pay a fair price
Our paper writing help service stands out from the competition because we put the needs of our customers first and charge lower high-quality paper writing help services. With a large array of papers, customers worldwide recognize the perfect combination of price and professionalism that we offer here at tophomeworkwriters.com