代写Final Project代做留学生Matlab编程

Final Project

Logistics: You may choose one of the topics listed below, or choose your own, subject to in- structor’s approval. Your project must include a written paper and coding in Julia. You may work alone or with a partner; if you work as a pair, you should make only one submission, assigning credit to both partners, and both partners will receive the same grade. You must choose a project topic and a partner (if applicable) by Friday, November 22; fill out this form no later than 11/22. Your final project is due Friday, December 6th by 11:59pm

Format: You will typeset a paper that:  summarizes the linear algebra background required for your project; the code you wrote and the results you obtained; and a summary of what you learned.  It should be written so that someone else in the class could read and under- stand your paper. You must include your code—you can typeset it in LaTeX or print a Julia notebook to pdf and include it as an appendix. You should submit a single pdf on gradescope.

Grading: Projects are graded out of 5 points. A project with working code and a readable paper will earn 3-4 points.  Projects which also explore some facet of the project beyond the minimal requirements can earn 5 points. Examples include: applying your code to different or larger datasets, implementing variations of your algorithm and testing how they compare, researching and writing up some of the more advanced theory behind your application, or any other extension you are interested in.  In other words: take your project in some direction that is interesting to you!  Quality is better than quantity:  Thoughtful exploration of one or two questions is better than superficial treatment of more. You will be evaluated on:

1.  Mathematics and code

•  Does your code produce the intended results on all valid inputs?

•  Is your code well organized and documented?

Are the mathematical ideas implemented correctly?

•  Are the choices (e.g. of parameters) made in the code appropriate?

2.  Paper

Is the paper structured (in sections and paragraphs) to clearly explain your work?

Is the writing clear, grammatical, and free of errors?

Is the mathematical notation defined and consistent?

Are the following things clearly and correctly explained?

Mathematical background

Algorithms and computations (Pseudocode and examples are critical.)

Coding and algorithm design decisions

Results and interpretation of computations

•  Does your paper have a complete bibliography that contains the background for your work and any other work you refer to?

Project  1: Iterative methods to compute eigenvectors and singular vectors

Background: In practice, eigenvalues, eigenvectors, singular values, and singular vectors are not computed by finding the roots of the characteristic polynomial (which is the method typ- ically discussed in a linear algebra course). This method is slow and very unstable (roundoff errors can compound to make the calculations inaccurate).  Instead, one can use iterative methods. Two such methods are the Power method and the QR method.

Project: Use the references listed below (and/or additional references of your choosing) to learn what the Power and QR methods are and why they work.  Then write some Julia code to compute leading eigenvectors and singular vectors using these methods (you may restrict yourself to symmetric matrices to guarantee that the eigenvalues and eigenvectors are real).

Then you might consider some extensions, such as

•  Use deflation or some other method to compute all eigenvectors or singular vectors for a matrix.

•  Determine why these methods are fast and accurate and what factors affect the speed of convergence (e.g.  ratio of first two eigenvalues).  Do some experiments to compare the speed of convergence under different conditions.

•  Explore what  modifications  can  be  made to make these methods even faster  (e.g. shifting, Hessenberg matrices, etc.). Implement some such modifications.

•  Alter these methods to handle complex eigenvectors or eigenvalues.

•  Explore how eigenvector methods are used in polynomial solvers.  (In practice, rather than finding roots of polynomials to find eigenvalues, we do the opposite:  Determine eigenvalues to find roots of polynomials.)

References

•  Strang (5th Edition) Chapter 11.3 (p. 528-529)

•  Foundations of Data Science by Blum, Hopcroft, and Kannan, Chapter 3.7 (ebook available through CMU library)

•  (for advanced topics) Matrix Computations by Golub and Van Loan, e.g.  Chapter 7. (physically copy available at CMU library)

Project 2: Markov chains, random walks, and PageRank

Background: When you search for a topic on a web browser, you are provided with a list of related websites.  How does the web browser decide the order of that list?  It uses a page ranking algorithm. For this project you will explore two early page ranking algorithms that rank pages based on the link structure of the internet. The original algorithm used by Google is called PageRank.

Project: Use the references listed below (and/or additional references of your choosing) to learn how PageRank works and implement a version of it on a toy example by hand (an “internet” with just a few nodes and directed links). You should understand and explain the modifications made to change the algorithm from a naive random walk and why this modifi- cation is necessary (e.g. with a directed graph, why might a random walk not correspond to a stochastic matrix?). Next, write Julia code that: takes as input a list of websites (indexed by natural numbers) and for each website a list of links; and outputs a list of ranks, one for each site.  Apply your code to a few example networks.  Finally, implement the HITS algo- rithm (which is a different page ranking algorithm) on your example networks and compare the results of the two algorithms.

Then you might consider some extensions, such as

•  Explore how PageRank and HITS differ; what are the advantages and disadvantages of each algorithm?

•  Learn how PageRank and/or HITS can be run efficiently on a truly large graph (e.g. the full internet). What is done to make the algorithms run faster than a naive imple- mentation?

•  Learn about and implement successors to or variations of PageRank or HITS.

•  Use PageRank or some appropriate variations to analyze a large or interesting network of your choice.

References

•  Strang (5th Edition) Chapter 7.3 (p. 386-387)

https://en.wikipedia.org/wiki/PageRank

How Google works: Markov chains and eigenvalues, by Rousseau (click for pdf)

•  Google’s PageRank and Beyond, by Langville and Meyer (ebook available through CMU library)

Project 3: Spectral Clustering

Background: A clustering problem seeks to group the elements of a data set into a number of groups based on some measure of similarity.  Spectral clustering refers to a family of methods using eigenvalues and eigenvectors that in some situations can be more effective than other standard methods. In a spectral clustering algorithm, you should

•  Create a similarity graph/similarity matrix for your data using an appropriate measure of similarity.

• Find the first k eigenvectors of the Laplacian or normalized Laplacian matrix, placing them in a matrix A.

• Apply a standard clustering algorithm (such as k-means) to the rows (normalized if necessary) of A.

Interpret the results as clusters for your original data

Project: Use the references listed below (and/or additional references of your choosing) to learn the specifics of spectral clustering.  Choose a spectral clustering algorithm, write Julia code that applies it to some data sets, and interpret the results. Discuss what value(s) of k and other parameters you chose and why.

Then you might consider some extensions, such as

•  Compare results of different spectral clustering algorithms, or algorithms with different parameters.

•  Compare results of spectral clustering with other standard clustering algorithms.  Iden- tify characteristics of datasets where each might be superior.

Apply spectral clustering to some novel data sets.

References

Spectral clustering by William Fleshman (click for link)

Spectral clustering for beginners by Amine Aoullayam (click for link)

Tutorial on spectral clustering by Ulrike von Luxburg (click for pdf)

•  Foundations of Data Science by Blum, Hopcroft, and Kannan, Chapter 7 (section 7.5) (ebook available through CMU library)


热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图