Concepts starting with Q
21 concepts, each with a plain-language explanation, examples and diagrams. Pick a letter or open a concept.
- Q-learning: Off-policy TD Control — The cliff-walking task separates the shortest optimal route from the safer route under exploration.
- Q-value estimation — Off-policy n-step Q(σ) separates the policy that generates experience from the policy whose value estimates are learned or…
- Quantifiers and Repetition Patterns — The backslash (\) is the escape character that converts special regex characters into literal symbols
- Quantifiers: Matching Multiple Characters — The period (.) in a regular expression is a wildcard that matches any single character—letters, digits, spaces, punctuation, or…
- Queries, Keys, and Values — The SelfAttention_v1 class stores three trainable matrices, W_query, W_key, and W_value, each mapping the input dimension to the…
- Query Optimization and Performance Tuning — An index is extra information stored by a database to enable faster lookups on a specific column without scanning every row.
- Query Techniques for Language Models — An LLM can generate text, and the source material notes that it can be coded to do so, making generation the foundation of an…
- Query, Key, and Value Projections — Weight parameters are learned coefficients optimized during training, while attention weights are dynamic, context-specific…
- Querying and Analyzing Data in SQLite — spider.py systematically crawls web pages and stores them in a local database, recording both page content and the links between…
- Querying and Retrieving Data with SELECT — Auto-generated primary keys shift the responsibility for ID management from the application to the database, eliminating manual…
- Querying Data from SQLite with SELECT Statements — Use the Database Browser for SQLite to verify that your Python programs are correctly reading and writing data to the database.
- Querying Data with SELECT — DROP TABLE IF EXISTS safely removes a table and allows scripts to run repeatedly without errors.
- Querying Data with SELECT and WHERE Clauses — INSERT adds rows to a database table; commit() must be called to permanently save changes to the database file.
- Querying Data with SELECT: Retrieving Information — DELETE removes rows from a table; the WHERE clause specifies which rows to delete.
- Querying Many-to-Many Relationships with Joins — SQL does not support arrays as a native data type, making array-based many-to-many workarounds impossible.
- Querying Multiple Tables with Joins — Data modeling is the strategic process of breaking application data into multiple tables and establishing relationships between…
- Querying the mapping.sqlite Database — Mapping tables unify changing email addresses and multiple domain names into single canonical identifiers, preventing entity…
- Querying XML with XPath — XML documents are organized as tree structures with a single root element containing all other elements as nested children.
- Queue Operations: Enqueue and Dequeue — Queues are used when only one item can be processed at a time but several items may be waiting for processing.
- Queues and Stacks — A priority queue removes elements by priority, not by the order in which they were added.
- Queues and Their Operations — A priority queue is an abstract data type whose items each carry a priority, and whose remove operation returns an item with the…