EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
数学代写案例
您的位置: 主页 > 理科代写案例 > 数学代写案例 >
数学代写:Bayesian代写 Uses Gibbs probabilities for a Bayesian network - math代写
发布时间:2021-07-25 16:47:55浏览次数:
What you will writeYou will write code that uses Gibbs sampling to compute conditional probabilities for a Bayesian network.  Note:  part of this assignment will be an interview with the course staff including questions about the code.  If we conclude the code is not yours, you will receive an NR for the course and we will initiate formal procedures for academic dishonesty.Bayesian代写To enable you to focus on Gibbs sampling, your code is only responsible for working with one specific network structure provided at https://docs.google.com/spreadsheets/d/1wgIZUV3dvcKMC5_yAbDCHW-lvj1ON7LBNnVGUvyTSkA/edit?usp=sharingInput/Output formatYour program will take the following command-line arguments:The node to query, and the observed evidence nodes.  You can assume we are only interested in the probabilities of one of the nodes.The number of updates to perform.  You can assume that each time a node changes value that is an update.The number of initial samples to drop before computing the probability.For example:gibbs price schools=good location=ugly -u 10000 -d 0Would query the node size, given evidence location=ugly and schools=good.  It would run 10000 iterations of gibbs sampling, and discard none of the observations.  The output should be something like:P(price = cheap) = 0.58P(price = ok) = 0.34P(price = expensive) = 0.08gibbs amenities location=bad neighborhood=good -u 100000 -d 1000Should return something like:P(amenities = lots) = 0.15P(amenities = little) = 0.85WriteupFor your writeup, come up with 3 queries of varying complexity.How did you select which node to update?  Did you sweep through the nodes as a batch?  Sample randomly?  Something else?  Justify your decision.Experiment with using varying numbers of samples for each of the queries.   How many samples are required for the estimated probability to converge?  For each query plot the # of samples vs. estimated probability.What, if anything, seems to influence the number of samples required?Does discarding initial samples speed the convergence of probabilities?Part 2:  Kalman filterFor this question, you will not program and should perform the calculations “by hand.”  Code to multiply matrices is fine, but simply finding someone’s code for Kalman filters and running it is not.  You are to show the steps of your work.  The point of this question is to have you understand the inputs to a Kalman filter and how it updates its estimates.  Note: this question goes beyond the simple examples of Kalman filters we did in class.  For this task, consider a scenario where you need to keep track of a country’s gross domestic product using a Kalman filter.  For the sensor model, you must make use of at least two sensors.  For the transition model, you must consider the prior GDP (position)  and the prior rate of growth (velocity).  Sketch the network that represents your Kalman filter, and specify all of the necessary CPTs (probability distributions).Next, compute the estimate of the GDP in the absence of any sensor information.Finally, compute the estimate of the GDP given that you have information from all of the sensors.March 7, clarification.  The purpose of this question is for you to understand how Kalman filters work.  You will need to :  come up with some plausible sensors for GDP, come up with transition and sensor models that are loosely based on reality (it doesn’t have to be publishable economics research, just something that looks plausible like a higher GDP leads to more exports), and hand compute a transition.最先出自315代写 数学代写 统计代写 金融经济统计代写 机器学习代写合作:315代写

所有的数学代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供数学代写、math代写、数学作业代写、math作业代写、数学代考、math代考等留学生数学作业代写、exam代考服务。