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

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

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

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

EG1hao
网课代修代上,cs代写代考
Python代写
您的位置: 主页 > 编程案例 > Python代写 >
代写Python:Artificial Intelligence代写 classification models代写 Python - Python代写
发布时间:2021-07-25 21:44:09浏览次数:
School of Computer Science The University of AdelaideArtificial Intelligence代写 In this assignment, you will develop several classification models to classify noisy input images intoArtificial Intelligence Assignment 2Semester 1, 2018due 11:55pm, Monday 14th May 2018Introduction Artificial Intelligence代写In this assignment, you will develop several classification models to classify noisy input images into the classes square or circle, as shown in Fig. 1Artificial Intelligence代写Figure 1: Samples of noisy images labelled as square (left) and circle (right).Your classification models will use the training and testing sets (that are available with this assignment) containing many image samples labelled as square or circle. Your task is to write a Python code that can be run on a Jupyter Notebook session, which will train and validate the following classification models:Artificial Intelligence代写1)K Nearest neighbour (KNN) classifier [35 marks]. For the KNN classifier, you can only use standard Python libraries (e.g., numpy) in order to implement all aspects of the training and testing algorithms. You will need to implement two functions: a) one to build a K-d tree from the training set (this function takes the training samples and labels as its parameters), and b) another to test the KNN classifier and compute the classification accuracy, where the parameters are K and the test images and labels. Using matplotlib, plot a graph of the evolution of classification accuracy for the training and testing sets as a function of K, where K = 1 to 10. Clearly identify the value of K, where generalisation is best.2)Decision tree classifier [35 marks].Artificial Intelligence代写For the decision tree classifier, you can only use standard Python libraries (e.g., numpy) in order to implement all aspects of the training and testing algorithms. Essentially you will need to implement two functions: a) one to train the decision tree using the training samples and labels plus a pre-pruning parameter indicating theminimum information content before stop splitting, and b) another to test the decision tree and compute the classification accuracy (similarly to the KNN classifier, the test function takes as one of its parameters the test images and labels and returns the classification accuracy). Using matplotlib, plot a graph of the evolution of classification accuracy for the training and testing sets as a function of the information content, where information content = 0 to 0.5 bits. Clearly identify the value of information content, where generalisation is best.Artificial Intelligence代写3)Convolutional neural network (CNN) classifier [20 marks].For the convolutional neural network, you are allowed to use Keras using TensorFlow backend, similar to the example shown in the code provided. The CNN structure is the lenet structure used in lecture. Using matplotlib, please plot a graph of the evolution of accuracy for the training and testing sets as a function of the number of epochs, where the max number of epochs is 200. Clearly identify the value of information content, where generalisation is best.Artificial Intelligence代写A sample code that trains and tests a multi-layer perceptron classifier that can run on a Jupyter Notebook session is provided, and it is expected that the submitted code can run on a Jupyter Notebook session in a similar manner. A held-out test set will be used to test the generalisation of the implemented classification models, but this held-out set will only be available after the assignment deadline – please note that this held-out set will contain samples obtained from the same distributions used to generate the training and testing sets.Artificial Intelligence代写You must write the program yourself in Python, and the code must be a single file that can run on a Jupyter Notebook session (file type .ipynb). You will only get marks for the parts that you implemented yourself. If you use a library package or language function call for training or testing a KNN or a Decision Tree classifier, then you will be limited to 50% of the available marks (noting that this assignment is a hurdle for the course). If there is evidence you have simply copied code from the web, you will be awarded no marks and referred for plagiarismSubmission Artificial Intelligence代写You must submit, by the due date, two files:ipynb file containing your code with the three classifiers and all implementations describedabovepdf file with a short written report detailing your implementation in no more than 1 page, and the followingresults:a)The training and testing accuracies at the best generalisation operating point for each type of classifier, using a table [5marks]

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。