MCPcopy Create free account

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

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

Method__init__
(self, script: dict[str, str | list[str]])
phases/14-agent-engineering/12-anthropic-workflow-patterns/code/main.py:16
Method__init__
(self)
phases/14-agent-engineering/02-rewoo-plan-and-execute/code/main.py:31
Method__init__
(self, plan: Plan)
phases/14-agent-engineering/02-rewoo-plan-and-execute/code/main.py:87
Method__init__
(self, answer_template: str)
phases/14-agent-engineering/02-rewoo-plan-and-execute/code/main.py:95
Method__init__
(self)
phases/14-agent-engineering/09-hybrid-memory-mem0/code/main.py:27
Method__init__
(self)
phases/14-agent-engineering/09-hybrid-memory-mem0/code/main.py:57
Method__init__
(self)
phases/14-agent-engineering/09-hybrid-memory-mem0/code/main.py:80
Method__init__
(self, config: Mem0Config | None = None)
phases/14-agent-engineering/09-hybrid-memory-mem0/code/main.py:106
Method__init__
(self)
phases/14-agent-engineering/20-benchmarks-webarena-osworld/code/main.py:14
Method__init__
(self)
phases/14-agent-engineering/15-crewai-role-based-crews/code/main.py:126
Method__init__
(self, dim: int = 16)
phases/14-agent-engineering/15-crewai-role-based-crews/code/main.py:163
Method__init__
(self)
phases/14-agent-engineering/17-claude-agent-sdk/code/main.py:21
Method__init__
(self)
phases/14-agent-engineering/17-claude-agent-sdk/code/main.py:49
Method__init__
(self, tools: ToolRegistry, hooks: Hooks, store: SessionStore)
phases/14-agent-engineering/17-claude-agent-sdk/code/main.py:84
Method__init__
(self, name="")
phases/00-setup-and-tooling/12-debugging-and-profiling/code/debug_tools.py:29
Method__init__
(self, data, shape=None)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:7
Method__init__
(self, n_nodes, directed=False)
phases/01-math-foundations/21-graph-theory/code/graph_theory.py:6
Method__init__
(self, lr=0.001)
phases/01-math-foundations/18-convex-optimization/code/convex.py:66
Method__init__
(self, n_components)
phases/01-math-foundations/10-dimensionality-reduction/code/dim_reduction.py:5
Method__init__
(self, components)
phases/01-math-foundations/01-linear-algebra-intuition/code/vectors.py:2
Method__init__
(self, rows)
phases/01-math-foundations/01-linear-algebra-intuition/code/vectors.py:82
Method__init__
(self, data, children=(), op='')
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:5
Method__init__
(self, n_inputs)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:192
Method__init__
(self, n_inputs, n_outputs)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:205
Method__init__
(self, sizes)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:217
Method__init__
(self, lr=0.001)
phases/01-math-foundations/08-optimization/code/optimizers.py:17
Method__init__
(self, lr=0.001, momentum=0.9)
phases/01-math-foundations/08-optimization/code/optimizers.py:25
Method__init__
(self, lr=0.001, beta1=0.9, beta2=0.999, epsilon=1e-8)
phases/01-math-foundations/08-optimization/code/optimizers.py:41
Method__init__
(self, real, imag=0.0)
phases/01-math-foundations/19-complex-numbers/code/complex_numbers.py:6
Method__init__
(self, smoothing=1.0)
phases/01-math-foundations/07-bayes-theorem/code/bayes.py:20
Method__init__
(self, real=0.0, imag=0.0)
phases/01-math-foundations/20-fourier-transform/code/fourier.py:5
Method__init__
(self, transition_matrix, state_names=None)
phases/01-math-foundations/22-stochastic-processes/code/stochastic.py:26
Method__init__
(self, data)
phases/01-math-foundations/02-vectors-matrices-operations/code/matrices.py:5
Method__init__
(self, data)
phases/01-math-foundations/02-vectors-matrices-operations/code/matrices.py:33
Method__init__
(self, d, eps=1e-6)
phases/07-transformers-deep-dive/14-build-a-transformer-capstone/code/main.py:127
Method__init__
(self, d, h, block_size)
phases/07-transformers-deep-dive/14-build-a-transformer-capstone/code/main.py:137
Method__init__
(self, d, expansion)
phases/07-transformers-deep-dive/14-build-a-transformer-capstone/code/main.py:159
Method__init__
(self, d, h, block_size, expansion)
phases/07-transformers-deep-dive/14-build-a-transformer-capstone/code/main.py:170
Method__init__
(self)
phases/07-transformers-deep-dive/12-kv-cache-flash-attention/code/main.py:60
Method__init__
(self, rows: int, cols: int, fill: float = 0.0, data=None)
phases/07-transformers-deep-dive/03-multi-head-attention/code/main.py:18
Method__init__
(self, rows, cols, fill=0.0, data=None)
phases/07-transformers-deep-dive/05-full-transformer/code/main.py:18
Method__init__
(self, d, n_heads, ffn_expansion, rng, use_swiglu=True)
phases/07-transformers-deep-dive/05-full-transformer/code/main.py:164
Method__init__
(self, d_model, dk, dv, seed=42)
phases/07-transformers-deep-dive/02-self-attention-from-scratch/code/self_attention.py:19
Method__init__
(self, d_model, n_heads, seed=42)
phases/07-transformers-deep-dive/02-self-attention-from-scratch/code/self_attention.py:36
Method__init__
(self, in_dim: int, hidden: int, out_dim: int)
phases/12-multimodal-ai/05-llava-visual-instruction-tuning/code/main.py:48
Method__init__
(self)
phases/13-tools-and-protocols/08-building-an-mcp-client/code/main.py:87
Method__init__
(self)
phases/13-tools-and-protocols/13-mcp-async-tasks/code/main.py:56
Method__init__
(self, client_id: str, user_id: str)
phases/13-tools-and-protocols/16-mcp-security-oauth-2-1/code/main.py:106
Method__init__
(self, vocab_size, embed_dim, max_seq_len)
phases/10-llms-from-scratch/04-pre-training-mini-gpt/code/main.py:5
Method__init__
(self, dim, eps=1e-5)
phases/10-llms-from-scratch/04-pre-training-mini-gpt/code/main.py:17
Method__init__
(self, embed_dim, num_heads)
phases/10-llms-from-scratch/04-pre-training-mini-gpt/code/main.py:29
Method__init__
(self, embed_dim, ff_dim)
phases/10-llms-from-scratch/04-pre-training-mini-gpt/code/main.py:56
Method__init__
(self, embed_dim, num_heads, ff_dim)
phases/10-llms-from-scratch/04-pre-training-mini-gpt/code/main.py:69
Method__init__
(self, vocab_size=50257, embed_dim=768, num_heads=12, num_layers=12, max_seq_len=1024, ff_dim
phases/10-llms-from-scratch/04-pre-training-mini-gpt/code/main.py:82
Method__init__
(self, num_layers, num_heads, head_dim, max_seq_len, dtype=np.float16)
phases/10-llms-from-scratch/12-inference-optimization/code/main.py:6
Method__init__
(self, d_model, num_heads)
phases/10-llms-from-scratch/12-inference-optimization/code/main.py:57
Method__init__
(self, request_id, prompt_tokens, output_tokens, arrival_step)
phases/10-llms-from-scratch/12-inference-optimization/code/main.py:85
Method__init__
(self)
phases/10-llms-from-scratch/12-inference-optimization/code/main.py:178
Method__init__
(self, max_entries=1000)
phases/10-llms-from-scratch/12-inference-optimization/code/main.py:185
Method__init__
(self, vocab_size, acceptance_rate=0.8)
phases/10-llms-from-scratch/12-inference-optimization/code/main.py:239
Method__init__
(self, vocab_size)
phases/10-llms-from-scratch/12-inference-optimization/code/main.py:251
Method__init__
(self, input_text, expected, metadata=None)
phases/10-llms-from-scratch/10-evaluation/code/main.py:8
Method__init__
(self, name, cases, scorers)
phases/10-llms-from-scratch/10-evaluation/code/main.py:15
Method__init__
(self, k=32, initial_rating=1500)
phases/10-llms-from-scratch/10-evaluation/code/main.py:64
Method__init__
( self, vocab_size=256, embed_dim=128, num_heads=4, num_layers=4,
phases/10-llms-from-scratch/07-rlhf/code/main.py:49
Method__init__
(self, vocab_size=256)
phases/10-llms-from-scratch/03-data-pipelines/code/main.py:97
Method__init__
(self, sequences, attention_masks, batch_size, shuffle=True)
phases/10-llms-from-scratch/03-data-pipelines/code/main.py:183
Method__init__
(self)
phases/10-llms-from-scratch/13-building-complete-llm-pipeline/code/main.py:73
Method__init__
(self)
phases/10-llms-from-scratch/01-tokenizers/code/bpe.py:5
Method__init__
(self)
phases/10-llms-from-scratch/01-tokenizers/code/main.py:13
Method__init__
(self)
phases/10-llms-from-scratch/02-building-a-tokenizer/code/main.py:35
Method__init__
(self)
phases/10-llms-from-scratch/02-building-a-tokenizer/code/main.py:60
Method__init__
(self, alpha=1.0)
phases/02-ml-fundamentals/14-naive-bayes/code/naive_bayes.py:5
Method__init__
(self, var_smoothing=1e-9)
phases/02-ml-fundamentals/14-naive-bayes/code/naive_bayes.py:49
Method__init__
(self, learning_rate=0.01)
phases/02-ml-fundamentals/02-linear-regression/code/linear_regression.py:19
Method__init__
(self)
phases/02-ml-fundamentals/02-linear-regression/code/linear_regression.py:69
Method__init__
(self, n_features, learning_rate=0.01)
phases/02-ml-fundamentals/02-linear-regression/code/linear_regression.py:102
Method__init__
(self, degree, learning_rate=0.01)
phases/02-ml-fundamentals/02-linear-regression/code/linear_regression.py:187
Method__init__
(self, n_features, learning_rate=0.01, alpha=1.0)
phases/02-ml-fundamentals/02-linear-regression/code/linear_regression.py:249
Method__init__
(self, lr=0.001, lambda_param=0.01, n_epochs=1000)
phases/02-ml-fundamentals/05-support-vector-machines/code/svm.py:54
Method__init__
(self, max_depth=None, min_samples_split=2, min_samples_leaf=1, criterion="gini",
phases/02-ml-fundamentals/04-decision-trees/code/trees.py:76
Method__init__
(self, n_trees=100, max_depth=None, min_samples_split=2, max_features="sqrt",
phases/02-ml-fundamentals/04-decision-trees/code/trees.py:224
Method__init__
(self, max_depth=10, rng=None)
phases/02-ml-fundamentals/16-anomaly-detection/code/anomaly_detection.py:38
Method__init__
(self, n_estimators=100, max_samples=256, seed=42)
phases/02-ml-fundamentals/16-anomaly-detection/code/anomaly_detection.py:91
Method__init__
(self)
phases/02-ml-fundamentals/13-ml-pipelines/code/pipeline.py:60
Method__init__
(self)
phases/02-ml-fundamentals/13-ml-pipelines/code/pipeline.py:79
Method__init__
(self, handle_unknown="ignore")
phases/02-ml-fundamentals/13-ml-pipelines/code/pipeline.py:97
Method__init__
(self, steps)
phases/02-ml-fundamentals/13-ml-pipelines/code/pipeline.py:120
Method__init__
(self, transformers)
phases/02-ml-fundamentals/13-ml-pipelines/code/pipeline.py:144
Method__init__
(self, steps)
phases/02-ml-fundamentals/13-ml-pipelines/code/pipeline.py:165
Method__init__
(self, lr=0.01, n_iter=1000)
phases/02-ml-fundamentals/13-ml-pipelines/code/pipeline.py:185
Method__init__
(self, max_depth=5)
phases/02-ml-fundamentals/13-ml-pipelines/code/pipeline.py:218
Method__init__
(self, model, numeric_cols, categorical_cols)
phases/02-ml-fundamentals/13-ml-pipelines/code/pipeline.py:299
Method__init__
(self)
phases/02-ml-fundamentals/01-what-is-machine-learning/code/ml_intro.py:5
Method__init__
(self, n_lags=5)
phases/02-ml-fundamentals/15-time-series/code/time_series.py:107
Method__init__
(self)
phases/02-ml-fundamentals/11-ensemble-methods/code/ensembles.py:28
Method__init__
(self, n_estimators=50)
phases/02-ml-fundamentals/11-ensemble-methods/code/ensembles.py:60
Method__init__
(self, value=None)
phases/02-ml-fundamentals/11-ensemble-methods/code/ensembles.py:94
Method__init__
(self, max_depth=3, min_samples_split=2)
phases/02-ml-fundamentals/11-ensemble-methods/code/ensembles.py:103
Method__init__
(self, n_estimators=100, learning_rate=0.1, max_depth=3)
phases/02-ml-fundamentals/11-ensemble-methods/code/ensembles.py:167
← previousnext →6,101–6,200 of 8,347, ranked by callers