Artificial Intelligence Complete Reference Index

Select any item below to open its full syntax specification, parameters, and live example.

Artificial Intelligence Tutorial

concept

20 entries
AI product feasibility and baselinesummarize(rows)
Summarize verified task outcomes with explicit denominators and severe error counts; not a real evaluation.
AI research milestones
Distinguish dated proposals, publications, historical periods and documented operational uses. Selected milestones: Dartmouth proposal 1955 and meeting 1956; influential backpropagation paper 1986; ImageNet deep network paper 2012; Transformer paper 2017; foundation-model report 2021. A research milestone is not evidence of universal capability or deployment.
AI samples, features and labels
A sample is the prediction unit; features are inputs available by the decision time; the label is the target observed for supervised training. Keep feature order and sample alignment stable. Exclude future information and distinguish observed sales from unconstrained demand.
AI service integration patternsadmit(request, tenant, allowed_items, max_chars=80)
Local admission contract; does not authenticate or parse transport bytes.
AI task types
An AI or conventional computing system may apply explicit rules, explore alternatives, estimate unknown quantities, or produce material. These are task/approach labels, not exclusive categories. Example: a fixed refund keyword rule routes a ticket; a learned delay estimator predicts a value. Use the simplest adequate technique.
AI threat modelingtool_route(action, permitted, approved, sandbox_ready)
Route simulated proposals using independently verified authority, isolation and approval.
Agent and environmentstate → observation → action → transition → next state
An agent selects actions using available observations; the environment determines transitions. PEAS specifies performance, environment, actuators and sensors. Partial observability and stochastic transitions are independent properties.
Architecture decisions and governancefailure_budget(total, failed, target_bp)
Fixed-window integer failure allowance and remaining count for a basis-point SLO; zero observations are no data.
Artificial neuronsz = sum(w_i * x_i) + b; a = max(0, z)
An artificial neuron applies an affine map and optional activation; align feature and weight lengths.
Automation quality and human reviewsummarize(rows)
Paired fixture metrics: exact routes, correction count, handling time and severity.
Autoregressive generationP(t1,...,tn) = product_i P(ti | t1,...,t(i-1))
Generate a sequence using conditional next-token distributions. Greedy decoding and sampling are distinct choices. Use explicit stop conditions and output budgets. The example is a last-word transition baseline, not a neural model.
Baseline and AI stop condition
A baseline is a comparison method, such as a fixed menu or manual review. Evaluate alternatives on equivalent cases using defined success and failure criteria. A stop condition specifies when to suspend an operation; for example, stop automatic FAQ replies on an invented policy promise. A passing test does not prove future safety.
Bayes and base ratesP(D | E) = P(E | D) P(D) / P(E), P(E) > 0
Bayes’ rule reverses a conditional probability using a prior and total evidence probability. A low base rate can produce mostly false alerts even when sensitivity is high.
Bayesian network intuitionP(r,w,v) = P(r) × P(w|r) × P(v|r); probability(rows, query, evidence) → Fraction or None
A DAG with local conditional distributions factors the joint distribution. In a common-parent fork, the children are conditionally independent given the parent under the network model. Enumerate worlds, sum over unobserved variables, normalize by evidence probability, and report undefined for zero-probability evidence. The Python function is a teaching interface, not a built-in.
Benchmark and accuracy
A benchmark defines a task, evaluation data, procedure and scoring rules. Accuracy = correct predictions / total evaluated predictions, for a nonempty set. Compare fixed systems under comparable conditions; report sample size, baseline, category-level errors and generalization limits. A higher score on another dataset is not proof of superiority.
Binary mask enclosing boxmask_box(mask)
Return half-open integer xyxy bounds of all foreground cells of a nonempty rectangular binary mask, or None for no foreground. A single enclosing box is not instance detection.
Bounded agent state machinesrun(observations, limits, cancel_at=None)
Offline bounded lookup state machine; budgets are fixed synthetic units.
Breadth-first and depth-first searchbfs(graph, start, goal) → path or None; dfs(graph, start, goal) → path or None
BFS uses FIFO and minimizes edge count; DFS uses LIFO and finds a reachable goal on a finite graph with cycle handling. Neighbor order can change ties. These are example functions, not Python built-ins.
Capstone design and implementation plananswer(question, tenant, docs, aliases, mode, mock)
Tenant-scoped canonical response and exact mock proposal validation; not semantic retrieval.
Capstone evaluation and operationsrelease_decision(metrics, cost, cap, reviewed, live_verified)
Apply ordered fictional risk, cost, quality and review gates; never deploy automatically.

Showing 20 of 124 entries