Reference no: EM132117881
R code: experiment with different sets of parameters and observe how your model performs. classification.
1. Experiment with different initializations of the parameter used for gradient descent . Clearly mention the initial values of the parameter tried,
1a.Train 2 models, one on the train_0_1 set and another on train_3_5, and report the training and test accuracies.
1b. Repeat a 10 times, i.e. you should obtain 10 train and test accuracies for each set.
Calculate the average train and test accuracies over the 10 runs, and report them., report the average test and train accuracies obtained by using this initialization, mention which is set of initializations is the better.
2.. Experiment with different convergence criteria for gradient descent. Clearly mention the new criteria tried, run the same experiment as 1b using this new criteria, report average test and train accuracies obtained using this criteria, mention which set of criteria is better.
Describe [initial_parameters_baseline, convergence_criteria_baseline] in your first set of results 1b and these will serve as your baseline results.
For 1a, just change the initial parameters and keep the convergence criteria same [initial_parameters_experiment, convergence_criteria_baseline] and obtain the results.
For 1b, just change the convergence criteria and keep parameter initialization same [initial_parameters_baseline, convergence_criteria_experiment] and obtain results. Experiment with ONLY one different initialization and ONLY one different convergence criteria than baseline.
You can either code new functions for question 1 or you can re-use your previous functions with different function arguments if your code is generic and modular.
For e.g. in Gradient Descent function, you can have "theta" as an argument and call it with different initial values instead of creating a new Gradient Descent function for a different initial value of "theta". Implementation details are up to you.
What percent of the first dgits of pi are
: Using an internet search, locate a text file that contains the first 100,000 digits of pi. If this file includes the decimal point, remove this in a text editor
|
Why does it fail to deliver economic growth
: What is the mechanism in the Solow model that generates growth? Why is this an appealing mechanism? Why does it fail to deliver economic growth in the long run?
|
What is monthly payment
: a. What is your monthly payment? b. How much of your 20th payment is payment of principal?
|
What is the solution of the solow model
: What is the solution of the Solow model for consumption per person in the steady state, c* C* /L*? How does each parameter in the solution affect c*, and why?
|
Calculate the average train and test accuracies
: Experiment with different initializations of the parameter used for gradient descent . Clearly mention the initial values of the parameter tried, 1a.
|
Level of retained earnings on the company
: What was the level of retained earnings on the company's December 31, 2008 balance sheet?
|
Difference in the effective annual rates
: An offer to lend you the $33,000 also comes from Community Bank, but it will charge 6.1%, simple interest, with interest paid at the end of the year
|
Describe the ethical dilemma in detail
: Describe the ethical dilemma in detail. Explain both sides of the issue (for and against) with an eye on concerns and regulations.
|
What about the labor market and the financial market
: Are households demanders or suppliers in the goods market? Are firms demanders or suppliers in the goods market? What about the labor market and the financial.
|