Skip to main content

Posts

Showing posts from February, 2019

We will use it for every example in this book

We will use it for every example in this book For example, if the target at index 2 is 1, then the one-hot target will have a 1 at row 2, column 1. If the target at index n is k, then the one-hot target will have a 1 at row n, column k. We don’t use this if we don’t have to since it takes up more space. For most of the examples in this book, we can make use of “sparse_categorical_crossentropy”, but “categorical_crossentropy” must be used in special cases as we shall see. Next, what is the “optimizer”? You can see we’ve chosen an optimizer called “adam”. This can get quite mathematical, so if you’re not into the math, just remember that “adam” is a typical default used by modern deep learning researchers today. We will use it for every example in this book. I’ve linked to other types of optimizers in the code, or you can just click here: https://keras.io/optimizers/ . For the more mathematically-inclined, I mentioned earlier that we use gradient descent to train the model parameters.

You can utilize this feature to add systems on your network that you dont want

you can utilize this feature to add systems on your network that you dont want $ nmap 192.168.1.0/24 --exclude 192.168.1.1-100 Starting Nmap 6.47 ( http://nmap.org ) at 2015-01-13 19:57 CST [...] Nmap done: 156 IP addresses (5 hosts up) scanned in 48.79 seconds Excluding a range of IP addresses from a scan In the example above, 256 addresses are specified using CIDR and a range of 100 addresses are excluded, which results in 156 addresses being scanned. Exclude Targets Using a List The --excludefile option is related to the --exclude option and can be used to provide a list of targets to exclude from a network scan. $ cat list.txt 192.168.1.1 192.168.1.5 192.168.1.100 Text file with hosts to exclude from a scan The example below demonstrates using the --excludefile argument to exclude the hosts in the list.txt file displayed above. Usage syntax: nmap [targets] --excludefile [list.txt] $ nmap 192.168.1.0/24 --excludefile list.txt Starting Nmap 6.47 ( http://nmap.org ) at 2015-01-13 2