MCPcopy Create free account

hub / github.com/rohitg00/ai-engineering-from-scratch / functions

Functions8,347 in github.com/rohitg00/ai-engineering-from-scratch

↓ 10 callersFunction_bank
(prompt: str)
phases/19-capstone-projects/15-constitutional-safety-harness/code/main.py:144
↓ 10 callersFunction_tiny_cfg
(**overrides)
phases/19-capstone-projects/35-gpt-model-assembly/code/tests/test_model.py:18
↓ 10 callersMethod_transition
(self, target: State)
phases/19-capstone-projects/20-agent-harness-loop-contract/code/main.py:185
↓ 10 callersFunctionaccuracy
(y_true, y_pred)
phases/02-ml-fundamentals/06-knn-and-distances/code/knn.py:174
↓ 10 callersMethodadd
(self, text: str, *, user_id: str, session_id: str = "s0", scope: str = "user", importance: float
phases/14-agent-engineering/09-hybrid-memory-mem0/code/main.py:113
↓ 10 callersFunctionaio_run
(coro)
phases/19-capstone-projects/56-iteration-scheduler/code/tests/test_scheduler.py:26
↓ 10 callersMethodallocate
(self, component, content, max_tokens=None)
phases/11-llm-engineering/05-context-engineering/code/main.py:23
↓ 10 callersMethodbackward
(self)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:91
↓ 10 callersFunctionbar
()
phases/11-llm-engineering/06-rag/code/main.ts:189
↓ 10 callersFunctioncall_llm
(client, model, system, user, temperature=0.0)
phases/11-llm-engineering/02-few-shot-cot/code/advanced_prompting.py:160
↓ 10 callersFunctioncheck_convexity
(f, dim, bounds=(-5, 5), samples=2000, label="")
phases/01-math-foundations/18-convex-optimization/code/convex.py:5
↓ 10 callersFunctioncondition_number
(A)
phases/01-math-foundations/17-linear-systems/code/linear_systems.py:107
↓ 10 callersMethodemit
(taskId: string, event: TaskEvent)
phases/16-multi-agent-and-swarms/03-communication-protocols/code/main.ts:268
↓ 10 callersMethodevaluate
( self, hypothesis_id: int, metric_spec: MetricSpec, candidates: list[Experime
phases/19-capstone-projects/53-result-evaluator/code/main.py:232
↓ 10 callersFunctionf1_score
(prediction: str, target: str)
phases/19-capstone-projects/71-classical-metrics/code/main.py:38
↓ 10 callersMethodfire
(event: HookEvent, payload: HookPayload)
phases/19-capstone-projects/01-terminal-native-coding-agent/code/ts/src/hooks.ts:25
↓ 10 callersMethodfit
(self, X, y, epochs=1000, print_every=200)
phases/02-ml-fundamentals/02-linear-regression/code/linear_regression.py:261
↓ 10 callersFunctionfreshState
()
phases/19-capstone-projects/13-mcp-server-with-registry/code/ts/tests/protocol.test.ts:8
↓ 10 callersMethodget_context
(self)
phases/11-llm-engineering/05-context-engineering/code/main.py:126
↓ 10 callersMethodhandle
(self, prompt: str)
phases/19-capstone-projects/87-end-to-end-safety-gate/code/safety_gate.py:199
↓ 10 callersMethodlogprob
(self, a: int)
phases/18-ethics-safety-alignment/03-direct-preference-optimization-family/code/main.py:60
↓ 10 callersFunctionloop
(host, fn, period = 6000, opts = {})
site/figures.js:30
↓ 10 callersFunctionmake_dataloader
Build a DataLoader with a deterministic per-epoch shuffle.
phases/19-capstone-projects/31-tokenized-dataset-sliding-window/code/main.py:197
↓ 10 callersFunctionmatmul
(A: Matrix, B: Matrix)
phases/07-transformers-deep-dive/03-multi-head-attention/code/main.py:45
↓ 10 callersMethodmatmul
(self, other)
phases/01-math-foundations/02-vectors-matrices-operations/code/matrices.py:92
↓ 10 callersFunctionnoise
(v: number)
phases/17-infrastructure-and-production/20-shadow-canary-progressive/code/main.ts:95
↓ 10 callersMethodparameters
(self)
phases/03-deep-learning-core/10-mini-framework/code/main.py:15
↓ 10 callersFunctionpretty
(tag: str, msg: Message)
phases/13-tools-and-protocols/06-mcp-fundamentals/code/main.py:60
↓ 10 callersMethodquery
(self, question: str)
phases/19-capstone-projects/69-end-to-end-rag-system/code/main.py:487
↓ 10 callersMethodrecord
(self, obs: Observation)
phases/19-capstone-projects/25-verification-gates-observation-budget/code/main.py:100
↓ 10 callersFunctionrender_latex
Render a Paper to a full LaTeX document string.
phases/19-capstone-projects/54-paper-writer/code/main.py:125
↓ 10 callersMethodsave
(self, key: str, record: dict)
phases/15-autonomous-systems/15-propose-then-commit/code/main.py:53
↓ 10 callersMethodset
(self, i, j, v)
phases/07-transformers-deep-dive/05-full-transformer/code/main.py:26
↓ 10 callersMethodsolve
(self, question: str, plan: Plan, evidence: dict[str, str])
phases/14-agent-engineering/02-rewoo-plan-and-execute/code/main.py:98
↓ 10 callersMethodspan
( self, name: str, attributes: dict[str, Any] | None = None, parent: GenAISpan
phases/19-capstone-projects/28-observability-otel-traces/code/main.py:337
↓ 9 callersFunction_cfg
(**overrides)
phases/19-capstone-projects/34-transformer-block/code/tests/test_block.py:27
↓ 9 callersFunction_make_param_with_grad
(values: list[float])
phases/19-capstone-projects/45-gradient-clipping-amp/code/tests/test_amp.py:34
↓ 9 callersFunction_registry_with
(name: str, handler, **opts)
phases/19-capstone-projects/23-function-call-dispatcher/code/tests/test_dispatcher.py:26
↓ 9 callersMethodadd
(self, doc_id: str, text: str)
phases/19-capstone-projects/51-literature-retrieval/code/main.py:62
↓ 9 callersMethodadd
(self, chunk: Chunk)
phases/19-capstone-projects/02-rag-over-codebase/code/main.py:113
↓ 9 callersMethodall
(self)
phases/15-autonomous-systems/15-propose-then-commit/code/main.py:49
↓ 9 callersFunctionanchor
(c: Chunk)
phases/19-capstone-projects/02-rag-over-codebase/code/ts/src/types.ts:21
↓ 9 callersMethodanchor
(self)
phases/19-capstone-projects/08-production-rag-chatbot/code/main.py:32
↓ 9 callersFunctionarrow
(x1, y1, x2, y2)
site/figures-llms-systems.js:434
↓ 9 callersMethodclassify
(self, text: str)
phases/19-capstone-projects/85-content-classifier-integration/code/classifiers.py:110
↓ 9 callersFunctioncreate_demo_model
(d_model=256, hidden=512, n_classes=10)
phases/11-llm-engineering/08-fine-tuning-lora/code/lora.py:178
↓ 9 callersFunctiondefaultSeed
()
phases/19-capstone-projects/09-code-migration-agent/code/ts/src/migrations.ts:54
↓ 9 callersFunctiondequantize_per_channel
(quantized, scales, axis=0)
phases/10-llms-from-scratch/11-quantization/code/main.py:112
↓ 9 callersFunctionescHtml
(str)
site/cmdpalette.js:175
↓ 9 callersFunctionescapeHtml
(str)
site/app.js:447
↓ 9 callersFunctionexpected_calibration_error
(confidences: Sequence[float], correct: Sequence[int], bins: int = 10)
phases/19-capstone-projects/73-perplexity-calibration/code/main.py:78
↓ 9 callersFunctionfind_executable
(candidates: Iterable[str])
phases/19-capstone-projects/26-sandbox-runner-denylist/code/main.py:378
↓ 9 callersMethodfit
(self, X, y)
phases/02-ml-fundamentals/12-hyperparameter-tuning/code/tuning.py:88
↓ 9 callersFunctionfmtInt
(n)
site/lesson-figures.js:61
↓ 9 callersFunctionformat
(n)
site/header.js:10
↓ 9 callersMethodforward
(self, x)
phases/03-deep-learning-core/07-regularization/code/main.py:11
↓ 9 callersFunctionframe
(host, label, hint, grid, outKids, caption)
site/figures-genai-rl.js:11
↓ 9 callersFunctionlabel
(x, y, txt, fill)
site/figures-frontier.js:26
↓ 9 callersMethodlog_call
(self, model, input_tokens, output_tokens, cached_input_tokens=0, latency_ms=0, user_id="anonymous", cache_sta
phases/11-llm-engineering/11-caching-cost/code/caching_cost.py:236
↓ 9 callersMethodmagnitude
(self)
phases/01-math-foundations/19-complex-numbers/code/complex_numbers.py:49
↓ 9 callersFunctionmake_runs
(spec)
phases/19-capstone-projects/74-leaderboard-aggregation/code/tests/test_leaderboard.py:24
↓ 9 callersFunctionmake_spec
(**overrides)
phases/19-capstone-projects/52-experiment-runner/code/tests/test_runner.py:28
↓ 9 callersMethodparameters
(self)
phases/03-deep-learning-core/10-mini-framework/code/main.py:225
↓ 9 callersFunctionpass_at_k
(n: int, c: int, k: int)
phases/19-capstone-projects/72-code-exec-metric/code/main.py:253
↓ 9 callersFunctionpercentile
(data, p)
phases/01-math-foundations/15-statistics-for-ml/code/statistics.py:43
↓ 9 callersFunctionpost_process
(text: str, rule: str)
phases/19-capstone-projects/70-task-spec-format/code/main.py:241
↓ 9 callersMethodpredict
(self, X)
phases/02-ml-fundamentals/11-ensemble-methods/code/ensembles.py:403
↓ 9 callersMethodprobs
(self)
phases/18-ethics-safety-alignment/01-instruction-following-alignment-signal/code/main.py:38
↓ 9 callersFunctionquantize_per_channel
(tensor, num_bits=8, axis=0)
phases/10-llms-from-scratch/11-quantization/code/main.py:97
↓ 9 callersFunctionrand_matrix
(rows: int, cols: int, rng: random.Random, scale: float = 0.1)
phases/10-llms-from-scratch/18-multi-token-prediction/code/main.py:22
↓ 9 callersFunctionrandn_matrix
(rows, cols, rng, scale=None)
phases/07-transformers-deep-dive/03-multi-head-attention/code/main.py:36
↓ 9 callersFunctionresolve
(action: str, score: TierScore)
phases/15-autonomous-systems/17-constitutional-ai/code/main.py:50
↓ 9 callersMethodrun
(self, seed_prompt: str)
phases/19-capstone-projects/50-hypothesis-generator/code/main.py:221
↓ 9 callersMethodrun
(self, text: str)
phases/19-capstone-projects/85-content-classifier-integration/code/main.py:60
↓ 9 callersMethodrun
(self, goal: str)
phases/19-capstone-projects/24-plan-execute-control-flow/code/main.py:118
↓ 9 callersFunctionrun_candidate
(code: str, assertions: list[str], timeout_s: float = DEFAULT_TIMEOUT_S)
phases/19-capstone-projects/72-code-exec-metric/code/main.py:151
↓ 9 callersFunctionscore
(metric_name: str, prediction: str, targets: list[str])
phases/19-capstone-projects/71-classical-metrics/code/main.py:146
↓ 9 callersMethodsend
(self, dst: int, tensor: torch.Tensor)
phases/19-capstone-projects/76-collective-ops-from-scratch/code/main.py:53
↓ 9 callersFunctionshell
(host, label, hint, grid, outKids, cap)
site/figures-transformers.js:11
↓ 9 callersFunctionsigmoid
(z)
phases/02-ml-fundamentals/17-imbalanced-data/code/imbalanced.py:90
↓ 9 callersFunctionsoftmax
(logits)
phases/01-math-foundations/16-sampling-methods/code/sampling.py:209
↓ 9 callersMethodstep
(self, detections, frame)
phases/04-computer-vision/27-multi-object-tracking/code/main.py:39
↓ 9 callersFunctiontfidf_embed
(text, vocab, idf)
phases/11-llm-engineering/07-advanced-rag/code/main.py:42
↓ 9 callersFunctiontokenise
(text: str)
phases/19-capstone-projects/51-literature-retrieval/code/main.py:46
↓ 9 callersFunctiontokenize_sequence
(text, vocab_size=256)
phases/10-llms-from-scratch/08-dpo/code/main.py:48
↓ 9 callersFunctiontrain_test_split
(X, y, test_ratio=0.2, seed=42)
phases/02-ml-fundamentals/04-decision-trees/code/trees.py:317
↓ 9 callersFunctionturnCompletionScore
(partial: string)
phases/19-capstone-projects/03-realtime-voice-assistant/code/ts/src/vad.ts:3
↓ 8 callersFunctionJ
(t)
site/figures-genai-rl.js:357
↓ 8 callersFunction_content_tokens
(text: str)
phases/19-capstone-projects/69-end-to-end-rag-system/code/main.py:54
↓ 8 callersMethod_deny
(self, code: int, msg: str)
phases/13-tools-and-protocols/09-mcp-transports/code/main.py:76
↓ 8 callersFunction_err_envelope
(rid: int | str | None, code: int, message: str, data: Any | None = None)
phases/19-capstone-projects/22-jsonrpc-stdio-transport/code/main.py:91
↓ 8 callersFunction_model_cfg
(**overrides)
phases/19-capstone-projects/36-training-loop-eval/code/tests/test_training.py:32
↓ 8 callersFunctionaccuracy
(y_true, y_pred)
phases/02-ml-fundamentals/04-decision-trees/code/trees.py:281
↓ 8 callersMethodadd_node
(self, name: str, fn: NodeFn)
phases/14-agent-engineering/13-langgraph-stateful-graphs/code/main.py:38
↓ 8 callersFunctionadvanceJob
(job: Job, nowOverride?: number)
phases/19-capstone-projects/12-video-understanding-pipeline/code/ts/src/stages.ts:4
↓ 8 callersMethodanalyze
(self, prompt: str)
phases/19-capstone-projects/83-prompt-injection-detector/code/main.py:137
↓ 8 callersMethodanchor
(self)
phases/19-capstone-projects/02-rag-over-codebase/code/main.py:35
↓ 8 callersFunctionapp
()
phases/19-capstone-projects/02-rag-over-codebase/code/ts/tests/server.test.ts:7
↓ 8 callersFunctionbuildApp
(options: AppOptions = {})
phases/19-capstone-projects/08-production-rag-chatbot/code/ts/src/server.ts:68
↓ 8 callersFunctionbuild_client
(config: RetrievalConfig | None = None)
phases/19-capstone-projects/51-literature-retrieval/code/main.py:400
← previousnext →201–300 of 8,347, ranked by callers