np.sum
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-09.)
np.sum has 9 facts recorded in Dontopedia across 3 references, with 2 live disagreements.
Mostly:rdf:type(3), called in(1), has parameter(1)
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (7)
Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.
usesFunctionUses Function(2)
- Code Example
ex:code-example - Linear Combination Function
ex:linear-combination-function
aggregatesAggregates(1)
- Mismatch Detection
ex:mismatch-detection
appliesApplies(1)
- Mismatch Check
ex:mismatch-check
computedAsComputed As(1)
- True Positive Definition
ex:true-positive-definition
returnStatementReturn Statement(1)
- Cached Function
ex:cached-function
usesLibraryFunctionUses Library Function(1)
- Hybrid Ranking Function
ex:hybrid-ranking-function
Other facts (7)
The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.
| Predicate | Value | Ref |
|---|---|---|
| Rdf:type | Numpy Function | [1] |
| Rdf:type | Numpy Function | [2] |
| Rdf:type | Numpy Function | [3] |
| Called in | True Positive Definition | [1] |
| Has Parameter | Axis Parameter | [2] |
| Specifies Axis | 0 | [2] |
| Input | Boolean Array | [3] |
Timeline
Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
References (3)
ctx:claims/beam/eb7f55ff-6715-4dd8-81f8-023b5f9693f2- full textbeam-chunktext/plain1 KB
doc:beam/eb7f55ff-6715-4dd8-81f8-023b5f9693f2Show excerpt
retrieved_labels = relevant_labels[retrieved_indices] true_positives = np.sum(retrieved_labels) recall = true_positives / num_relevant return recall # Initialize the recall scores recall_scores = [] for tool in tools: …
ctx:claims/beam/3c399a7b-cdb0-4ea1-9eb4-12f84952a5d3- full textbeam-chunktext/plain1 KB
doc:beam/3c399a7b-cdb0-4ea1-9eb4-12f84952a5d3Show excerpt
# Calculate the weighted sum of the queries weighted_sum = np.sum([weight * query for weight, query in zip(weights, queries)], axis=0) return weighted_sum def loss_function(weights, queries, true_values): # Calculate the we…
ctx:claims/beam/f5a5540b-3c9d-4103-85d7-7db7b8ea25d3
See also
Keep researching
Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.