[Solved] EECS658 Assignment 3

$25

File Name: EECS658_Assignment_3.zip
File Size: 188.4 KB

SKU: [Solved] EECS658 Assignment 3 Category: Tag:
5/5 - (1 vote)

Deliverables:

  1. Copy of Rubric3.docx with your name and ID filled out (do not submit a PDF)
  2. Python source code for CompareMLModelsV2
  3. Screen print showing the successful execution of CompareMLModelsV2 4. Answers to the following questions for CompareMLModelsV2:
    1. Based on accuracy which model is the best one?
    2. For each of the 11 other models, explain why you think it does not perform as well as the best one.
  4. Python source code for dbn.py
  5. Screen print showing the successful execution of dbn.py 7. Answers to the following questions about dbn.py:
    1. Does the program use k-fold cross-validation?
    2. What percentage of the data set was used to train the DBN model?
    3. How many samples are in the test set?
    4. How many samples are in the training set?
    5. How many features are in test set?
    6. How many features are in the training set?
    7. How many classes are there?
    8. List the classes.

Assignment:

  • This assignment has two parts:
  • Part 1: Expand our comparison ML classifiers to include SVM, Decision Tree, Random Forest, ExtraTrees, and Neural Network.
    • Enhance your CompareMLModels program and call it

CompareMLModelsV2 so that it includes the SVM, Decision Tree, Random Forest, ExtraTrees, and Neural Network.

  • It should now do the following:
  • Uses 2-fold cross-validation to produce a test set of 150 samples of the iris data set with the following ML models:
  • Nave Baysian (NBClassifier)
  • Linear regression (LinearRegression)
  • Polynomial of degree 2 regression (LinearRegression)
  • Polynomial of degree 3 regression (LinearRegression)
  • kNN (KNeighborsClassifier)
  • LDA (LinearDiscriminantAnalysis)
  • QDA (QuadraticDiscriminantAnalysis)
  • SVM (svm.LinearSVC)
  • Decision Tree (DecisionTreeClassifier)
  • Random Forest (RandomForestClassifier)
  • ExtraTrees (ExtraTreesClassifier)
  • NN (neural_network.MLPClassifier)
  • For each of the 12 models the program should display (with a label before each models display indicating which model the results are for):
    • Confusion matrix
    • Accuracy metric
  • If the values in your confusion matrices do not add up to 150, then you did something wrong.
  • Part 2: Implement the deep learning DBN example at:
    • https://github.com/albertbup/deep-beliefnetwork/blob/master/README.md
    • Name the program dbn.py
    • The code has two imports from SupervisedDBNClassification. Use the one from dbn import SupervisedDBNClassification and comment out the other one. Note: The sample code uses from dbn.tensorflow import SupervisedDBNClassification and has from dbn import SupervisedDBNClassification commented out.
    • More details regarding the program can be found at:

https://medium.com/analytics-army/deep-belief-networks-an-introduction1d52bb867a25

Remember:

  • Your Programming Assignments are individual-effort.
  • You can brainstorm with other students and help them work through problems in their programs, but everyone should have their own unique assignment programs.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] EECS658 Assignment 3[Solved] EECS658 Assignment 3
$25