Repeat part (b) using the conditional probabilities given in part (c).

(b) Use the estimate of conditional probabilities given in the previous ques-

tion to predict the class label for a test sample (A = 0, B = 1, C = 0)

using the na ??ve Bayes approach.

Estimate the conditional probabilities using the m-estimate approach,

with p = 1/2 and m = 4.

Consider the data set shown in Table 5.1




Let P(A = 0, B = 1, C = 0) = K



The class label should be ’+’.

Computer Science & Information Technology

You might also like to view...

Windows 7 is an operating system that has a Start screen.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A(n) ________ is a set of numbers and letters that have the same design and shape

Fill in the blank(s) with correct word

Computer Science & Information Technology

Use Telnet to connect to port 68. What happens? Explain.

Using Telnet to Test TCP Services a. In Part 1, nginx was found to be running and assigned to port 80 TCP. Although a quick Google search revealed that nginx is a lightweight web server, how would an analyst be sure of that? What if an attacker changed the name of a malware program to nginx, just to make it look like the popular web server? Use telnet to connect to the local host on port 80 TCP:

[analyst@secOps ~]$ telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
b. Press a few letters on the keyboard. Any key will work. After a few keys are pressed, press ENTER. Below is the full output, including the Telnet connection establishment and the random keys pressed (fdsafsdaf, this case):
fdsafsdaf
HTTP/1.1 400 Bad Request
Server: nginx/1.10.2
Date: Tue, 28 Feb 2017 20:09:37 GMT
Content-Type: text/html
Content-Length: 173
Connection: close

400 Bad Request

400 Bad Request


nginx/1.10.2
Connection closed by foreign host.
Thanks to the Telnet protocol, a clear text TCP connection was established, by the Telnet client, directly to the nginx server, listening on 127.0.0.1 port 80 TCP. This connection allows us to send data directly to the server. Because nginx is a web server, it does not understand the sequence of random letters sent to it and returns an error in the format of a web page. While the server reported an error and terminated the connection, we were able to learn a lot. We learned that: 1) The nginx with PID 395 is in fact a web server. 2) The version of nginx is 1.10.2. 3) The network stack of our CyberOps Workstation VM is fully functional all the way to Layer 7. Not all services are equal. Some services are designed to accept unformatted data and will not terminate if garbage is entered via keyboard. Below is an example of such a service: c. Looking at the netstat output presented earlier, it is possible to see a process attached to port 22. Use Telnet to connect to it. Port 22 TCP is assigned to SSH service. SSH allows an administrator to connect to a remote computer securely. Below is the output:
[analyst@secOps ~]$ telnet 127.0.0.1 22
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.4
sdfjlskj
Protocol mismatch.
Connection closed by foreign host.

Computer Science & Information Technology

Your network recently upgraded the wireless network to require WPA2. After the upgrade it is discovered that several important wireless clients only support WEP and have no upgrade to path put them in compliance. Which of the following steps should be taken to allow these clients access until they can upgrade? (Choose two)

A. Create a separate SSID and WEP key on a new network segment. B. Only allow required communication paths. C. Enable detection of rogue APs. D. Require the legacy clients to install antivirus softwar.e

Computer Science & Information Technology