Phone

+919997782184

Email

support@roboticswithpython.com

Geeks of Coding

Join us on Telegram

Viewing 0 reply threads
  • Author
    Posts
    • #1170
      Abhishek TyagiAbhishek Tyagi
      Keymaster

      P.S.- If you know remaining answers feel free to add

      Question 1- Please don’t forget to import the assignment notebook before answering questions as instructed the learning item before.

      https://github.com/IBM/coursera/blob/master/coursera_bd/week4/a6_w4_assignment.ipynb

      Please use the discussion forums if you have questions

      What is the correlation between HOURLYWindSpeed and HOURLYPressureTendency? Please use the already existing code for the colleration matrix and adjust the code respectivly.

      Answer-

      -0.01324305

      Question 2- What is the RMSE metric obtained from the LinearRegression model (1st model in the notebook – cell has comment #LR1)

      Answer-

      Question 3- Please change #LR1 in order to use features_norm over features. What’s the RMSE value you get now?

      Answer-

      Question 4 What’s the RMSE value we obtain from cell #GBT1?

      Answer-

      Question 5- What is the accuracy you get from cell #LGReg1?

      Answer-

      0.692922

      Question 6- What is the accuracy you get from cell #RF1?

      Answer-

      0.717808

      Question 7- What is the accuracy you get from cell #GBT2?

      Answer-

      Question 8- If you change the number of trees in cell #RF1 from 30 to 10, what’s the new accuracy?

      Answer-
      0.720091

      Question 9- What data storage format is the used?

      Answer-
      CSV, with header, columns separated by comma

      Question 10- What correlation methods are supported by the Correlation matrix function?

      https://spark.apache.org/docs/latest/api/python/pyspark.ml.html#pyspark.ml.stat.Correlation

      Answer:
      Spearman
      Pearson

      Question 11- Which Classification Model performs best in this notebook?

      1. Logistic Regression

      2. Random Forest

      3. Gradient Boosted Tree

      Possible answers: 1,2 or 3

      Answer-
      2

      Question 12- Which Regression Model performs best in this notebook?

      1. Linear Regression

      2. Gradient Boosted Tree Regressor

      Possible answers: 1 or 2

      Answer-

      1

      • This topic was modified 1 year, 3 months ago by Yash AroraYash Arora.
Viewing 0 reply threads
  • You must be logged in to reply to this topic.