Index

[SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N][O][P][Q][R][S][T][U][V][W][X][Y][Z]

SYMBOL

@abstractmethods annotation
@dataclass decorator
@functools.lru_cache() function
@lru_cache() decorator
^ operator

A

A* searches
  
algorithm for
  
heuristics
    Euclidean distance
    Manhattan distance
  
priority queues
acg Codon
activation functions2nd3rd4th
acyclic trees2nd
add_edge() function
adjacency lists
admissible heuristics2nd3rd
adversarial search
  
basic board game components
  
Connect Four
    alpha-beta pruning
    code for
    developing AI for
  
iterative deepening
  
minimax algorithm2nd
  
quiescence search
  
real-world applications for
  
tic-tac-toe
    developing AI for
    managing states
    minimax algorithm
AI (artificial intelligence), resources for
algorithms, resources for
alphabeta() function2nd
artificial general intelligence
artificial neural networks
  
backpropagation
  
layers
  
neurons
  
overview
astar() function2nd
Australian map-coloring problem
auto-memoization2nd

B

backpropagation2nd3rd4th
backtracking2nd
backtracking_search() function2nd
base cases
Basic Linear Algebra Subprograms (BLAS)
BFS (breadth-first searches)2nd
  
algorithm for
  
queues
bfs() function2nd3rd4th
binary search
binary_contains() function2nd
bit array
bit string2nd3rd4th
bit vector
bit_length() function
BitString class
BLAS (Basic Linear Algebra Subprograms)
Board class2nd
breadth-first search.
    See BFS.
brute-force searches

C

C4Board class
C4Piece class
calculatePi() function
Callable function
Cell enum
centroid2nd
character encoding
choices() function
Chromosome class2nd3rd4th
chromosomes
circuit board layouts
classic computer science problems, defined
classification problems
  
classifying wine
  
iris data set
  
normalizing data
Cluster class
clustering2nd
  
by age
  
by longitude.
    See also k-means clustering.
Codon type
codons2nd
colons
Column class
comma-separated values (CSV)2nd
Comparable class
_compress() function
compress() function
CompressedGene class2nd3rd
compression2nd
  
optimizing list compression
  
real-world applications of
  
trivial
Connect Four
  
alpha-beta pruning
  
code for
  
developing AI for
connected graphs
connected property
consistent() function
Constraint class2nd
constraint propagation
constraints2nd
constraint-satisfaction problems.
    See CSPs (constraint-satisfaction problems).
costs of building networks, minimizing
  
finding minimum spanning tree
    calculating total weight of weighted paths
    Jarník’s algorithm
    priority queues
  
working with weights
crossover2nd
crossover operator
crossover() function2nd3rd
cryptarithmetic puzzles2nd
CSP class
CSPs (constraint-satisfaction problems)
  
Australian map-coloring problem
  
building frameworks for
  
circuit board layouts
  
cryptarithmetic puzzles
  
eight queens problem
  
real-world applications of
  
word searches
CSV (comma-separated values)2nd
csv module
csv.reader() function
cycles2nd

D

data
  
large data sets
  
normalizing
  
resources for data structures
DataPoint interface2nd3rd
decompress() function
decompression2nd
decrypting
deep learning2nd
deltas2nd
DFS (depth-first searches)
  
algorithm for
  
stacks
dfs() function2nd3rd
Dijkstra’s algorithm2nd3rd
dijkstra() function2nd
DijkstraNode
_dimension_slice() function
directed graphs (digraphs)2nd3rd
display_solution() function
distance() function2nd
DNA search problem
  
binary search
  
example of
  
linear search
  
storing DNA
domain() function
domains2nd3rd
dot products
dynamic programming
  
defined
  
knapsack problem
  
real-world applications for

E

Edge class2nd
Edge protocol, implementing
edges
eight queens problem
encrypt() function
encryption
  
decryption and
  
getting data in order
  
real-world applications of
endianness
Euclidean distance2nd
euclidean_distance() function

F

feature scaling
feed-forward artificial neural network6th.
    See artificial neural networks.
  
defined2nd
  
first layer of
  
last layer of
fib() function
fib1() function2nd
fib2() function2nd
fib3() function
fib4() function
fib5() function
fib6() function
Fibonacci sequence
  
first recursive attempt
  
generating with generator
  
iterative approach to
  
memoization
  
utilizing base cases
FIFO (First-In-First-Out)2nd
find_best_move() function2nd
fitness function
fitness proportionate selection
float type
floating-point numbers2nd3rd4th5th
fMRI (functional magnetic resonance imaging)
frameworks
  
for constraint-satisfaction problems
  
for graphs
    Edge protocol
    Graph protocol
functional programming, resources for

G

gat Codon
Gene type
generate_domain() function
generations
genetic algorithms
  
biological background for
  
challenges for
  
cryptarithmetic puzzles
  
generic genetic algorithm
  
naive test
  
optimizing list compression
  
real-world applications of
genetic programming2nd
GeneticAlgorithm class2nd3rd4th5th
gradient descent2nd
gradually typed language
Graph class2nd3rd
graph problems
  
building graph frameworks
    Edge protocol
    Graph protocol
  
finding shortest paths
    breadth-first search
    in weighted graphs
  
maps as graphs
  
minimizing costs of building networks
    finding minimum spanning tree
    working with weights
  
real-world applications of
Graph protocol, implementing
graphics
graphs
greedy algorithm2nd3rd
GridLocation

H

hanoi() function
heappop() function
heappush() function
heapq module
heuristic() function
heuristics2nd
  
Euclidean distance
  
Manhattan distance
hidden layers2nd
Hyperloop network2nd3rd4th5th6th

I

if statement2nd
import statement2nd
infinite loops
infinite recursion2nd
__init__() function
input layers2nd
int type2nd3rd
int.from_bytes() function
integer-division (//)
IntEnum type
interpret_output() function
iris data set
iris_classifications
iris_interpret_output() function2nd
iterative deepening
itertools module2nd

J

Jarník’s algorithm2nd3rd

K

KMeans class2nd3rd4th
k-means clustering
  
album example
  
algorithm for
  
clustering by age and longitude
  
extensions
  
preliminaries of
  
problems with
  
real-world applications of
knapsack problem

L

Last-In-First-Out (LIFO)2nd3rd
Layer class2nd
layers2nd
layer_structure argument
learning rate2nd3rd4th5th
LIFO (Last-In-First-Out)2nd3rd
linear search
linear_contains() function2nd
local_assignment dictionary

M

machine learning
Manhattan distance
map() function
MapColoringConstraint class
maps, as graphs
matplotlib library
max_depth function
Maze class2nd
maze problems
  
A* search
    algorithm for
    heuristics
    priority queues
  
breadth-first search
    algorithm for
    queues
  
depth-first search
    algorithm for
    stacks
  
generating random mazes
  
maze minutiae
MazeLocation2nd
MCState class2nd
mean() function
memoization2nd3rd
  
automatic
  
real-world applications of
metropolitan statistical areas (MSAs)
min() function
minimax algorithm
  
improving
    with alpha-beta pruning
    with iterative deepening
    with quiescence search
  
testing
minimax() function2nd3rd
minimum spanning trees.
    See spanning trees, finding minimum.
missionaries and cannibals problem
  
representation of problem
  
solving
mnemonics for phone numbers
MSAs (metropolitan statistical areas)
mst() function
mutate() function2nd3rd
mutation operator
my_gene function
mypy project

N

NamedTuple class
neighbors_for_index() function
Network class
networks
  
building
    implementing layers
    implementing neurons
  
implementing
  
minimizing costs of building
    finding minimum spanning tree
    working with weights
neural networks2nd
  
artificial
    backpropagation
    layers
    neurons
    overview
  
biological basis of
  
building networks
    implementing layers
    implementing networks
    implementing neurons
  
classification problems
    classifying wine
    iris data set
    normalizing data
  
defined
  
extensions
  
preliminaries for
    activation functions
    dot products
  
problems with
  
real-world applications of
  
speeding up
Neuron class2nd
neurons2nd3rd
nlargest() function
Node class2nd
node_to_path() function
normalization2nd
normalize_by_feature_ scaling() function
normalizing data
NP-hard (non-deterministic polynomial hard) problem2nd
nucleotides2nd3rd
NumPy

O

open source projects, resources for
open() function
Optional type
output layers2nd

P

pandas
parse_CSV() function
partial() function
paths
  
defined
  
finding shortest
  
finding shortest in weighted graphs
    Dijkstra’s algorithm
  
weighted
permutation generation
  
phone number mnemonics
  
real-world applications for
  
Traveling Salesman Problem
permutations() function2nd
phone number mnemonics
pi, calculating
_pick_tournament() function
Piece class2nd
pip install typing_extensions
pip3 install typing_extensions
ply2nd
pop operation
pop() function
population
powerset
Prim’s algorithm
print() function
print_weighted_path() function
priority queues2nd3rd
PriorityQueue class2nd
product() function
Protocol type2nd
pseudocode
pstdev() function
push operation
push() function
python filename.py file
Python IDE PyCharm
Python programming language
  
resources for
  
source code repository
  
versioning
python3 filename.py file

Q

QueensConstraint class
Queue class
queues2nd3rd
quiescence search

R

random module2nd
random_instance() function2nd
random_key() function
recursive functions2nd
reduce() function
repeat() function
__repr__() function
_reproduce_and_replace() function2nd
roulette-wheel selection
run() function2nd

S

satisfied() function2nd
scikit-learn
search problems
  
DNA search
    binary search
    example of
    linear search
    storing DNA
  
maze problems
    A* search
    breadth-first search
    depth-first search
    generating random mazes
    maze minutiae
  
missionaries and cannibals problem
    representation of problem
    solving
  
real-world applications of.
    See also adversarial search.
secrets package
seeding
selection operator
SelectionType enum
SEND+MORE=MONEY puzzle2nd
shuffle() function
sigmoid functions2nd
SIMD (single instruction, multiple data)2nd
SimpleEquation2nd
spanning trees, finding minimum
  
calculating total weight of weighted paths
  
Jarník’s algorithm
  
priority queues
Stack class2nd3rd
stacks2nd
standard score
states, managing
statistics module
stdev() function
stochastic operations
stringToGene() function
strong AI
successors() function
sum() function2nd
supervised learning2nd
switch statement
synapses2nd
sys.getsizeof() function

T

table variable
TensorFlow
testing genetic algorithms
tic-tac-toe
  
developing AI for
  
managing states
  
minimax algorithm
token_bytes() function
total_weight() function
tournament selection2nd3rd
Towers of Hanoi
  
modeling the towers
  
solving
training2nd
Traveling Salesman Problem
  
naive approach to
    brute-force searches
    permutation generation
    sample data
  
real-world applications for
  
with large data sets
TTTBoard class2nd
TTTPiece class2nd
type hints2nd
  
downsides of using
  
examples of
  
overview
  
resources for
  
usefulness of
type() function
typing import Protocol
typing module
typing package
typing_extensions module2nd3rd

U

unbreakable encryption
  
decrypting
  
encrypting
  
getting data in order
undirected graphs2nd
unsupervised learning2nd
unsupervised methods
unweighted graph2nd
user interface code

V

validate() function
variables2nd
vector instructions
vertex matrix
vertices2nd
_vertices array
_vertices list2nd
visit() function

W

weighted graph2nd3rd4th5th6th
WeightedEdge class
WeightedEdges class
WeightedGraph class2nd
WeightedPath class
weights
  
finding shortest paths in weighted graphs
    Dijkstra’s algorithm
  
of weighted paths, calculating total
  
working with
wine_interpret_output() function
word searches
WordSearchConstraint class2nd

X

XOR (exclusive or) operation2nd

Y

yield statement

Z

zip() function2nd
zlib module
z-score2nd
_zscore_normalize() function
zscores() function2nd3rd