MCPcopy Create free account

hub / github.com/rohitg00/ai-engineering-from-scratch / types & classes

Types & classes1,490 in github.com/rohitg00/ai-engineering-from-scratch

↓ 65 callersClassCounter
A simple labelled counter.
phases/19-capstone-projects/28-observability-otel-traces/code/main.py:198
↓ 40 callersClassValue
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:4
↓ 36 callersClassComplex
phases/01-math-foundations/19-complex-numbers/code/complex_numbers.py:5
↓ 24 callersClassMatrix
phases/01-math-foundations/02-vectors-matrices-operations/code/matrices.py:32
↓ 23 callersClassHypothesis
phases/19-capstone-projects/56-iteration-scheduler/code/main.py:25
↓ 23 callersClassToolCall
A request from the model to invoke a tool.
phases/19-capstone-projects/25-verification-gates-observation-budget/code/main.py:26
↓ 22 callersClassVector
phases/01-math-foundations/01-linear-algebra-intuition/code/vectors.py:1
↓ 21 callersClassDataLoader
phases/03-deep-learning-core/10-mini-framework/code/main.py:341
↓ 20 callersClassHarnessLoop
Six-state deterministic loop with hook topics and event stream.
phases/19-capstone-projects/20-agent-harness-loop-contract/code/main.py:152
↓ 20 callersClassVote
phases/16-multi-agent-and-swarms/14-consensus-and-bft/code/main.py:15
↓ 19 callersClassProbe
phases/14-agent-engineering/35-initialization-scripts/code/main.py:46
↓ 17 callersClassBPETokenizer
Byte-level BPE tokenizer. The first 256 ids map to raw bytes. Special tokens occupy a small block above that. Learned merges fill the rest of
phases/19-capstone-projects/30-bpe-tokenizer-from-scratch/code/main.py:24
↓ 17 callersClassComplex
phases/01-math-foundations/20-fourier-transform/code/fourier.py:4
↓ 17 callersClassTensor
phases/01-math-foundations/12-tensor-operations/code/tensors.py:6
↓ 16 callersClassEvalCase
phases/10-llms-from-scratch/10-evaluation/code/main.py:7
↓ 15 callersClassAction
phases/15-autonomous-systems/10-claude-code-permission-modes/code/main.py:28
↓ 15 callersClassFinding
phases/13-tools-and-protocols/05-tool-schema-design/code/main.py:32
↓ 15 callersClassMiniPaper
Minimal paper shape for the critic loop. Mirrors lesson 54 Paper.
phases/19-capstone-projects/55-critic-loop/code/main.py:38
↓ 15 callersClassMultiHeadSelfAttention
Multi-head self-attention with a single QKV linear and a causal mask.
phases/19-capstone-projects/33-multihead-self-attention/code/main.py:20
↓ 15 callersClassObservationLedger
Append-only ledger of every observation the model has been shown.
phases/19-capstone-projects/25-verification-gates-observation-budget/code/main.py:95
↓ 15 callersClassTriple
phases/19-capstone-projects/66-reranker-cross-encoder/code/main.py:108
↓ 15 callersClassValidationError
phases/13-tools-and-protocols/04-structured-output/code/main.py:52
↓ 15 callersClassVerificationOutcome
The verifier's verdict on a single sample.
phases/19-capstone-projects/27-eval-harness-fixture-tasks/code/main.py:72
↓ 14 callersClassCandidate
phases/19-capstone-projects/66-reranker-cross-encoder/code/main.py:151
↓ 14 callersClassDoc
phases/19-capstone-projects/65-hybrid-retrieval-bm25-dense/code/main.py:25
↓ 14 callersClassGPTModel
A decoder only transformer language model with weight tied LM head.
phases/19-capstone-projects/35-gpt-model-assembly/code/main.py:123
↓ 14 callersClassKNN
phases/02-ml-fundamentals/06-knn-and-distances/code/knn.py:49
↓ 14 callersClassStep
phases/19-capstone-projects/24-plan-execute-control-flow/code/main.py:20
↓ 14 callersClassTokenizer
Byte-level deterministic tokenizer. Vocabulary: 0 boundary token (separator injected by the dataloader) 1..256 raw byte toke
phases/19-capstone-projects/43-hdf5-tokenized-corpus/code/main.py:75
↓ 14 callersClassTraceStep
phases/14-agent-engineering/26-failure-modes-agentic/code/main.py:16
↓ 14 callersClassValue
phases/03-deep-learning-core/03-backpropagation/code/main.py:5
↓ 13 callersClassCosineWithWarmup
Stateless cosine-with-warmup learning-rate schedule. Step indexing convention: step zero is the very first training update. At step zero the
phases/19-capstone-projects/44-cosine-lr-warmup/code/main.py:40
↓ 13 callersClassDispatcher
Per-call timeout, retry, idempotency, concurrency limit.
phases/19-capstone-projects/23-function-call-dispatcher/code/main.py:129
↓ 13 callersClassGateContext
Read-only context passed to every gate.
phases/19-capstone-projects/25-verification-gates-observation-budget/code/main.py:125
↓ 13 callersClassGeneratorConfig
phases/19-capstone-projects/50-hypothesis-generator/code/main.py:145
↓ 13 callersClassMatrix
phases/07-transformers-deep-dive/05-full-transformer/code/main.py:15
↓ 12 callersClassBranchStats
phases/19-capstone-projects/56-iteration-scheduler/code/main.py:51
↓ 12 callersClassCountPattern
A single hardcoded count in README pinned to a catalog totals field.
scripts/check_readme_counts.py:42
↓ 12 callersClassDoc
phases/19-capstone-projects/68-rag-eval-precision-recall/code/main.py:167
↓ 12 callersClassGateDecision
A single gate's verdict.
phases/19-capstone-projects/25-verification-gates-observation-budget/code/main.py:61
↓ 12 callersClassLinear
phases/03-deep-learning-core/10-mini-framework/code/main.py:25
↓ 12 callersClassPaper
phases/19-capstone-projects/51-literature-retrieval/code/main.py:24
↓ 12 callersClassSinusoidalPositionalEmbedding
Parameter-free position-to-vector mapping. pe[p, 2k] = sin(p / 10000^(2k/d_model)) pe[p, 2k+1] = cos(p / 10000^(2k/d_model))
phases/19-capstone-projects/32-token-positional-embeddings/code/main.py:84
↓ 11 callersClassCheckpointError
Raised when manifest validation or shard verification fails.
phases/19-capstone-projects/80-checkpoint-sharded-resume/code/main.py:69
↓ 11 callersClassConcept
phases/19-capstone-projects/17-personal-ai-tutor/code/main.py:48
↓ 11 callersClassCrossEncoder
phases/19-capstone-projects/66-reranker-cross-encoder/code/main.py:70
↓ 11 callersClassDPOConfig
phases/19-capstone-projects/40-dpo-from-scratch/code/main.py:351
↓ 11 callersClassDimensionScore
phases/14-agent-engineering/39-reviewer-agent/code/main.py:32
↓ 11 callersClassFinding
phases/14-agent-engineering/38-verification-gates/code/main.py:53
↓ 11 callersClassMinHasher
MinHash signature builder with a fixed family of hash seeds.
phases/19-capstone-projects/42-large-corpus-downloader/code/main.py:119
↓ 11 callersClassPCA
phases/01-math-foundations/10-dimensionality-reduction/code/dim_reduction.py:4
↓ 10 callersClassEvalResult
phases/19-capstone-projects/41-eval-pipeline/code/main.py:150
↓ 10 callersClassGPTModel
phases/19-capstone-projects/36-training-loop-eval/code/main.py:139
↓ 10 callersClassGuardrailResult
phases/11-llm-engineering/12-guardrails/code/guardrails.py:9
↓ 10 callersClassInstructionTokenizer
phases/19-capstone-projects/40-dpo-from-scratch/code/main.py:40
↓ 10 callersClassIterationScheduler
Drives a hypothesis queue across N parallel asyncio slots with UCB picking.
phases/19-capstone-projects/56-iteration-scheduler/code/main.py:114
↓ 10 callersClassMetricSpec
phases/19-capstone-projects/53-result-evaluator/code/main.py:41
↓ 10 callersClassMiniGPT
phases/10-llms-from-scratch/04-pre-training-mini-gpt/code/main.py:81
↓ 10 callersClassMiniSection
Minimal section shape for the critic loop. Mirrors lesson 54 Section.
phases/19-capstone-projects/55-critic-loop/code/main.py:28
↓ 10 callersClassMsg
phases/19-capstone-projects/10-multi-agent-software-team/code/main.py:37
↓ 10 callersClassObservation
The text the model is shown after a tool call.
phases/19-capstone-projects/25-verification-gates-observation-budget/code/main.py:44
↓ 10 callersClassSchemaField
phases/11-llm-engineering/03-structured-outputs/code/main.py:67
↓ 10 callersClassSuggestion
phases/19-capstone-projects/55-critic-loop/code/main.py:49
↓ 10 callersClassTokenEmbedding
Vocabulary-id to vector lookup.
phases/19-capstone-projects/32-token-positional-embeddings/code/main.py:32
↓ 9 callersClassAction
phases/15-autonomous-systems/14-kill-switches-canaries/code/main.py:66
↓ 9 callersClassEvaluator
Pure function over (candidate, baseline) result lists; returns a Verdict.
phases/19-capstone-projects/53-result-evaluator/code/main.py:226
↓ 9 callersClassGBMForTuning
phases/02-ml-fundamentals/12-hyperparameter-tuning/code/tuning.py:77
↓ 9 callersClassHypothesisGenerator
Drives the mock LLM over a temperature schedule and ranks the survivors.
phases/19-capstone-projects/50-hypothesis-generator/code/main.py:185
↓ 9 callersClassInstructionTokenizer
Byte-level tokenizer with INST, RESP, PAD specials.
phases/19-capstone-projects/39-instruction-tuning-sft/code/main.py:37
↓ 9 callersClassMockLLM
Scripted sampler keyed on (prompt_signature, temperature_bucket). The seed is folded into the response so identical prompts and buckets with
phases/19-capstone-projects/50-hypothesis-generator/code/main.py:121
↓ 9 callersClassPlanExecuteAgent
Sequential plan executor with replan on failure.
phases/19-capstone-projects/24-plan-execute-control-flow/code/main.py:98
↓ 9 callersClassReLU
phases/03-deep-learning-core/10-mini-framework/code/main.py:65
↓ 9 callersClassRecipe
phases/12-multimodal-ai/07-open-weight-vlm-recipes/code/main.py:19
↓ 9 callersClassResult
phases/19-capstone-projects/56-iteration-scheduler/code/main.py:35
↓ 9 callersClassRuleBasedAdapter
phases/19-capstone-projects/75-end-to-end-eval-runner/code/main.py:268
↓ 9 callersClassSection
phases/19-capstone-projects/54-paper-writer/code/main.py:51
↓ 9 callersClassShardedTokenizationPipeline
Tokenize iterable shard inputs into HDF5 files and write a shards.json.
phases/19-capstone-projects/43-hdf5-tokenized-corpus/code/main.py:204
↓ 9 callersClassSimpleRegressionTree
phases/02-ml-fundamentals/11-ensemble-methods/code/ensembles.py:102
↓ 9 callersClassSpan
phases/14-agent-engineering/16-openai-agents-sdk/code/main.py:59
↓ 9 callersClassStep
phases/19-capstone-projects/20-agent-harness-loop-contract/code/main.py:94
↓ 9 callersClassTarget
phases/17-infrastructure-and-production/12-edge-inference/code/main.py:14
↓ 8 callersClassACLMessage
phases/16-multi-agent-and-swarms/02-fipa-acl-heritage/code/main.py:23
↓ 8 callersClassArtifact
phases/19-capstone-projects/07-end-to-end-fine-tuning-pipeline/code/main.py:26
↓ 8 callersClassChunk
phases/19-capstone-projects/64-chunking-strategies-advanced/code/main.py:23
↓ 8 callersClassDoc
phases/19-capstone-projects/67-query-rewriting-hyde/code/main.py:60
↓ 8 callersClassExperimentRunner
Spawn a subprocess, enforce timeout and memory cap, return an ExperimentResult.
phases/19-capstone-projects/52-experiment-runner/code/main.py:175
↓ 8 callersClassFrontEndConfig
phases/19-capstone-projects/58-vision-encoder-patches/code/main.py:23
↓ 8 callersClassGPTModel
phases/19-capstone-projects/37-loading-pretrained-weights/code/main.py:124
↓ 8 callersClassProblem
Shape descriptor for an agentic task.
phases/11-llm-engineering/17-agent-framework-tradeoffs/code/main.py:22
↓ 8 callersClassSafetyVerdict
phases/14-agent-engineering/21-computer-use-agents/code/main.py:44
↓ 8 callersClassSlidingWindowDataset
PyTorch Dataset over a flat id stream. Each example is a window of size T+1. __getitem__ returns (input_ids, target_ids) where target = input
phases/19-capstone-projects/31-tokenized-dataset-sliding-window/code/main.py:151
↓ 8 callersClassSpanEvent
phases/14-agent-engineering/24-agent-observability-platforms/code/main.py:15
↓ 8 callersClassTestCase
phases/11-llm-engineering/10-evaluation/code/eval_framework.py:11
↓ 8 callersClassTierScore
phases/15-autonomous-systems/17-constitutional-ai/code/main.py:35
↓ 8 callersClassToken
phases/12-multimodal-ai/22-document-diagram-understanding/code/main.py:15
↓ 8 callersClassToolFailure
phases/19-capstone-projects/24-plan-execute-control-flow/code/main.py:81
↓ 8 callersClassToolRegistry
Name-keyed table of tool records with schema validation.
phases/19-capstone-projects/21-tool-registry-schema-validation/code/main.py:61
↓ 8 callersClassTraceEvent
phases/19-capstone-projects/56-iteration-scheduler/code/main.py:74
↓ 8 callersClassValidationError
phases/19-capstone-projects/70-task-spec-format/code/main.py:48
↓ 8 callersClassViTConfig
phases/19-capstone-projects/59-vit-transformer/code/main.py:49
next →1–100 of 1,490, ranked by callers