1 Write the main method
2 . Write the 3 parts needed to read an integer called numberl
from the keyboard
5 Wnte the code to declare a CONSTANT called
RATE at .03
4. Write the code to create a class.
= Concepts =
What are the 3 elements of class
Hw #2: MidTerm Review
Write the main method
Public static void main(String args)cfw_
2. Write the 4 parts needed to prompt and read
Public static void main(String  arg
Name the 4 parts of code needed to input the integer length from the keyboard.
3 Encapsulation dataH. Dins 7/4=1 or 7.014-1.75
Name the 4 programming constructs found in all languages
3 Semantic-Real time.
B555 - Machine Learning - Homework 3
April 13, 2015
Problem 1: Consider a logistic regression problem where X = Rk and Y = cfw_1, +1.
Derive the weight update rule that maximizes the likelihood.
Solution: By definition, for this logistic re
B555 - Machine Learning - Homework 4
April 28, 2015
Problem 1: Give decision trees to represent the following Boolean functions
a) A B
b) A [B C]
c) A B
d) [A B] [C D]
e) [A B] [C D]
where A is a negation of A and is an exclusive OR oper
B555 - Machine Learning - Homework 2
March 05, 2015
Problem 1: Suppose that the number of accidents occurring daily in a certain plant has a Poisson distribution with an
unknown mean . Based on previous experience in similar industrial plan
B555 - Machine Learning - Homework 1
February 07, 2015
Problem 1: Let (, F, P ) be a probability space. Using only the set operations and axioms of probability, show that for
any two sets, not necessarily disjoint, A and B
P (A B) = P (A)