**Purpose: To learn about Artificial Neural Network (ANN) predictive model using SAS Enterprise Miner application**
Question 1
1 / 1 pts
SAS ANN’s inability to select useful input variables is partially counterbalanced by its Stopped Trainingoptimization algorithm’s attempt at reducing the chances of ____________.
under-fitting
over-fitting
a good fit
None of the above
Question 2
1 / 1 pts
The regression model’s ‘intercept’ and ‘parameter/coefficient’ terms are referred to in the ANN models as ________ and ________, respectively.
weight and bias
checks and balances
input layer and hidden layer
Correct!
None of the above
Question 3
1 / 1 pts
The default number of hidden layer nodes in the ANN’s model is:
1Correct!
3
5
6
Question 4
1 / 1 pts
Interpreting a neural network model can be difficult. Correct!
Description
The goal of this assignment is to create a re-usable Card and Deck class. This assignment will lead into Assignment 3 where you will build more classes to flesh out a card game.
Use the following Guidelines:
• Give identifiers semantic meaning and make them easy to read (examples numStudents, grossPay, etc).
• Keep identifiers to a reasonably short length.
• User upper case for constants. Use title case (first letter is upper case) for classes. Use lower case with uppercase word separators for all other identifiers (variables, methods, objects).
• Use tabs or spaces to indent code within blocks (code surrounded by braces). This includes classes, methods, and code associated with ifs, switches and loops. Be consistent with the number of spaces or tabs that you use to indent.
• Use white space to make your program more readable.
Important Note:
All files in submitted assignments must begin with the descriptive comment block. To avoid losing trivial points, make sure this comment header is included in every assignment you submit, and that it is updated accordingly from assignment to assignment.
Your header should identify you as the author and have a short description of the class contained in the file and what it does in your software.
Programming Assignment:
Instructions:
You are eventually going to create a multi-class system to play a card game. For this assignment you will lay the groundwork by creating the Card and Deck classes and demonstrating them working.
Required Classes:
• Card – Standard 52-Card Deck cards
• Deck – Deck of cards with deck behaviors
• Assn2 Class (Main) – Demonstrates the cards and deck functionality
Specifications:
Part 1 – Build your Card Class
Start by building your basic Card Class
Card:
Card:
• Properties
o Value:int
o suit:char
o faceup:boolean
• Methods
o Constructor
? Card(value:int, suit:char)
o Getters for value and suit
? You can’t change a card after its built, so no setters
o Getter/Setter for FaceUp
? You can flip it over
o toString()
? Override it to print your card nicely
Part 2 – Build your Deck Class
Deck:
Deck:
• Properties
o cards:Card[]
o cardCount:int
? Keeps track of the number of valid cards in the array
o maxSize:int
? Helps initialize the array
• Methods
o Constructors
? Deck()
• Default – fill with standard deck of 52
o Hint make a private method to help you fill it
? Deck(size:int)
• Set the maxSize to value passed in
• Initialize array … but don’t fill it
• Use this constructor to make an empty deck to fill via the Add() method
o Shuffle():void
? Shuffle the array
• Hint: remember Card object references
• Hint: Do the names Fisher and Yates ring a bell? Google might know …
o Draw:Card
? Reduce the card count, return a Card object reference
• Hint: last card in the array is easiest
• Hint2: think about setting the Card reference in the array to null – not necessary, but cleaner
o AddToTop(newCard:Card )
? Take a Card reference add it to the array at index last valid index if able to
o AddToBottom(newCard:Card)
? Take a Card reference add it to the array at the 0 index if able to
o PrintDeck
? Method to output your array all nice like …
? Hint: card.toString()
Both
CIS 375
Software Lab #3
Score for this quiz: 4 out of 4
This attempt took 34 minutes.
Instructions
**Purpose: To learn about various options to manage missing data, transformation of extreme or unusual input values, and handling non-numeric input variables all for the purposes of creating a Regression predictive model using SAS Enterprise Miner application.**
Instructions: In order to finish Software Lab #3,
• Read Software Tutorial #3 file: Regressions, perform its respective demonstrations (pp. 4-14 to 4-23; 4-27 to 4-33; 4-35 to 4-43; 4-45 to 4-46; 4-50 to 4-59; and 4-62 to 4-67)
• Answer the questions in Software Lab #3 (by clicking "Take the Quiz") .
Attempt History
LATEST Attempt 1
Question 1
1 / 1 pts
Which of the following is NOT an essential aspect of a Regression model?
Prediction formula
Selection of useful input variables
Selection of useful target variable
Complexity reduction (via optimization)
Question 2
1 / 1 pts
In linear regression, the parameter estimates (i.e. coefficients of input variables) are chosen so as to ______ the (squared)error between the observed and predicted target values.
Increase
Maximize
Minimize
None of the above
Question 3
1 / 1 pts
In complete-case-analysis (which is SAS’ default method of handling missing values in most regression tools), all cases are used in the analysis (regardless of any missing values for the input variables).
True
False
Question 4
1 / 1 pts
The three sequential selection methods for building regression model (forward, backward, and stepwise) can never lead to the same model for the same dataset.
CIS 375 Quiz 3
Score for this quiz: 5 out of 5
This attempt took 19 minutes.
Question 1
0.5 / 0.5 pts
A linear discriminant model partitions the instance space into similar regions by perpendicular decision boundaries - horizontal and vertical decision boundaries.
True
False
Question 2
0.5 / 0.5 pts
A key distinct feature of linear discriminant approaches from decision trees is that it takes multiple attributes into account in the form of a mathematical function of attributes.
True
False
Question 3
1 / 1 pts
Loss functions are different ways of measuring the amount of classification error our model has in the training data.
True
False
Question 4
1 / 1 pts
Logistic regression is estimating the probability of class membership (a numeric quantity) over a categorical class.
True
False
Question 5
1 / 1 pts
A learning curve shows the generalization performance plotted against the amount of training data used.
True
False
Question 6
1 / 1 pts
Learning curves ...
are used to select an optimal complexity parameter.
plot true positive rate vs. false positive rate.
can illustrate whether obtaining more data would be a good investment.
What statistical test would perform to test your hypothesis: average time to deliver pizza, once the order is placed, is greater than 25 minutes in the population.
Group of answer choices
T-test
No test is necessary
ANOVA
Z-test
Question 2 3 pts
The null hypothesis for the statistical test for Question 1 is:
Group of answer choices
None of the other answers are correct
Mean delivery time is less than 0.05
Mean delivery time is more than 25 minutes
Mean delivery time is less than or equal to 25 minutes
Question 3 3 pts
Based on the sample, is there sufficient evidence in the data to conclude that the population average time to deliver a pizza, once the order is placed, is greater than 25 minutes? Based on the statistical analysis (with margin of error = 5%) what is your conclusion? [Save the script to the data file]
Group of answer choices
We accept the null hypothesis and hence conclude that the delivery time is more than 25 min.
We could not conclude anything
We reject the null hypothesis, and hence conclude that the delivery time is more than 25 min
We could not reject the null hypothesis, and hence conclude the mean delivery time is less than 25 min
Question 4 3 pts
Submit a screenshot of an appropriate analysis table to support your answer in Question 3.
Upload
Question 5 3 pts
Given the sample data, what kind of statistical test would you perform in order to find out if the days of the week have an effect on the mean delivery time?
Group of answer choices
Z-test
T-test
Descriptive
ANOVA
Question 6 3 pts
Based on executing the test in Question 5, what would you conclude, given a margin of error of 5%?
Group of answer choices
We reject the null hypothesis; the mean delivery time is different at least on one of the days of the week
We reject the null hypothesis; the mean delivery time is different for every day of the week
We accept the null hypothesis; the mean delivery time is not different for different days of the week
We could not reject the null hypothesis; the mean delivery time is not different for different days of the week
Question 7 3 pts
Execute an appropriate follow-up test to determine on which days of the week the mean delivery time is different. What is your conclusion? [Save the script to the data file]
Group of answer choices
Mean delivery times on Friday and Thursday are different
Mean delivery times on Saturday and Thursday are different
Mean delivery times on Tuesday and Wednesday are different
All of the answers are correct
Question 8 3 pts
Execute an appropriate statistical test, with a margin of error of 5%, to determine if hour of the day has an effect on the mean delivery time. What is your conclusion? [Save the script to the data file]
Group of answer choices
Nothing can be concluded as additional information is necessary
Mean delivery time is different on the 9th and 10th hour of the day
Mean delivery time does not vary by the hour of the day
Mean delivery time is different at every hour of the day
Question 9 3 pts
Based on your analysis, what action would you recommend to the owner of Pizza Perk to improve their operation?
Group of answer choices
The owner should collect additional delivery time data to make better recommendation on pizza delivery operation
The owner should consider hiring you full time
The owner should consider hiring more staff on Friday and Saturday to reduce wait time on those days.
The owner should focus on reducing the mean delivery time to 20 minutes.
Question 10 3 pts
Submit the JMP data file with the saved scripts for all the analyses to answer questions from this assignment.
Quiz Instructions
• Start with datafile: PatientFeedback.jmp download | ComplaintData.xlsx download
• Change the file name to: YourFirstName_YourLastName_PatientFeedback.jmp
• Review what we did in the lab.
• You must use JMP to answer the following multiple-choice questions.
• Note: When you are asked to submit a screen capture, you need to make sure that your name is part of the capture.
Question 1 1 pts
What percentage of the complaint was about ‘lack information’?
26%
21%
16%
5%
Question 2 1 pts
Show frequency distribution of the type of complaints in the survey. Submit a screenshot.
Upload
Question 3 1 pts
What is the range of the middle 50% of the data obtained from the patient feedback data (percent who would recommend)?
56
16
42
71
Question 4 1 pts
Which of the following values was obtained as the central tendency in the percent of respondents who would recommend this clinic to others?
71
57.8
8.8
42
Question 5 1 pts
Which week of the survey did you find the highest percent of respondents who would recommend the clinic to others?
Week 2
Week 7
Week 13
Week 10
Question 6 1 pts
In which week at least three out of the four measures in the survey saw the lowest satisfaction rate?
Week 11
Week 8
Week 5
Week 2
Question 7 1 pts
Submit a run chart visual to support your answer for Q6.
Upload
Question 8 1 pts
Out of the four measures in the survey, which two variables have the highest correlation?
Wait time acceptable and Respect
Patient would recommend and Respect
Patient would recommend and Enough information
Patient would recommend and Wait time acceptable
Question 9 1 pts
Out of the four measures in the survey which two variables have the lowest correlation across all 13 weeks?
Respect and Enough Information
Wait time acceptable and Respect
Patient would recommend and Respect
Patient would recommend and Enough information
Question 10 1 pts
Which of the following JMP feature do you use to show bar charts?
CIS 355: Business Data Warehousing and Dimensional Modeling
(Term: Spring 2021, BDA Program)
Assignment 3 (individual work)
1. In your Assignment 2, you were asked to create a visualization (a chart) of total sales by different product categories over years using data from the data warehouse that you have created in class. You were given the option of creating the chart using any tool of your choice. Many of you (including myself) exported the data from SQL MS to Excel, re-arranged/formatted the data, and plotted the chart. That approach works well, but involves a few steps. In this assignment, re-create a report and a visualization using the same data as that in Assignment 2, but using the tool PowerBI. Copy and paste your report and visualization below.
2. Using the sample “AdventureworksDW2014” data warehouse, generate a matrix report (using powerBI or another visualization tool such as Tableau), which contains the total internet sales amount by calendar year in different sales territory regions for different products (using English Product names). In your report, make territory region as your columns, calendar year and product name as your rows. A partial report looks like:
Filter your report to include total sales amount for only product “Mountain-200 Silver, 38” and “Road-250 Black, 58” in calendar year 2012 in the US regions (Central, Northeast, Northwest, Southeast, Southwest). Copy and paste your report below.
3. Create a vertical Stacked bar chart of total internet sales by calendar year and product line. Copy and paste your chart below.
4. Create an impact bubble chart (using scatter chart), plotting “average of product cost” on x-axis, “tax amount” on y-axis, “total sales” as bubble Size, “sale territory region” as the legend, calendar year as the “play axis”. Filter the sales data in only four countries “Australia”, “Canada”, “France”, and “Germany”. Copy and paste your bubble chart in year 2013 below.
5. [For you to think]Use the data cube “zzhan277 CIS355DW” developed in class, and write a MDX query to find internet order quantities (on Columns) by cities (on Rows) for calendar year “2012’’. Copy and paste your MDX query as well as the first 10 rows below.
This quiz is open note and is not timed. This quiz is comprehensive and covers information from all readings/videos in this lesson overview and learning materials page, including any that are embedded in the activity template.
Question 1
2 / 2 pts
______________ is a social anthropologist who developed the situated learning theory. She believes knowing and learning should take place/be situated in environments with other engaged people.
Jean Piaget
Albert Bandura
Etienne WengerCorrect!
Jean Lave
Question 2
2 / 2 pts
Definition of situated learning: Learning that happens when a person is in a real-world situation and they interact with other people. In such cases, attaining specific learning objectives is not the intention; instead, learning happens as a function of the individual's engagement with their surroundings.orrect!
True
False
Question 3
2 / 2 pts
When attention is focused less on individual learning and more on group learning, a community of practice develops. Individuals in a community of practice learn better because they interact regularly surrounding generating ideas about how to improve their shared "practice." Levels of involvement vary by individual.orrect!
True
False
Question 4
2 / 2 pts
Situated learning environments usually yield low levels of engagement by individuals.
TrueCorrect!
False
Question 5
2 / 2 pts
In its truest sense, situated learning is not always appropriate for PreK-12 students in public school environments because it’s difficult to manage the noise level of this age student.
TrueCorrect!
False
Question 6
2 / 2 pts
Situated learningorrect!
is embedded in real-life circumstances and is motivating.
is expensive to replicate.
involves mentors and protégés.
can never replace a communities of practice.
Question 7
2 / 2 pts
"Relationship" ___________ a key component in situated learning models.Correct!
is
is not
can be
is seldom
Question 8
2 / 2 pts
Those who are followers of situated learning theorists believe
textbooks are an appropriate method for delivering instruction.
students who are lifelong learners are more apt to be successful as professionals.Correct!
there is a strong connection between what is learned and how it is learned.
none of the above
all of the above
Question 9
2 / 2 pts
Learning new vocabulary by looking up definitions in a dictionary
Is effective because it offers scholarly and accurate information.Correct!
Is not very effective because it does not account for the context in which words are used.
Is effective because it includes abstract concepts.
Is not very effective, according to case studies.
Question 10
2 / 2 pts
Situated learning theorists believe learning is a continuous, life-long process that happens when one is engaged in situations.Correct!