Lil Matrix
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-07.)
Lil Matrix has 15 facts recorded in Dontopedia across 4 references, with 1 live disagreement.
Mostly:rdf:type(4), rdfs:label(3), creates sparse matrix(1)
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-07.)
Lil Matrix has 15 facts recorded in Dontopedia across 4 references, with 1 live disagreement.
Mostly:rdf:type(4), rdfs:label(3), creates sparse matrix(1)
createsSparseMatrixrequiresParametersreturnssubTypeOfimportedFromisUsedFormoduleisSubtypeOfOther 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.
importsImports(2)ex:import-statementex:scipy-sparseinitializedWithInitialized With(2)ex:new_vectorsex:vectors-attributeprovidesProvides(2)ex:scipy-sparseex:scipy.sparseinstantiatesInstantiates(1)ex:constructor-callmemberOfMember of(1)ex:toarrayusesDataStructureUses Data Structure(1)ex:SparseVectorStorageTimeline 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.
doc:beam/64b78ef0-51e8-44c3-8e8b-4efc1e6f6610def _resize(self): new_capacity = int(1.5 * self.capacity) # Increase capacity by 50% new_vectors = lil_matrix((new_capacity, self.vector_size), dtype=np.float32) new_vectors[:self.capacity] = self.vectors …
doc:beam/84374ede-abf6-45be-8655-597249e8102ereturn self.vectors[:self.num_vectors].toarray() def _resize(self): new_capacity = int(1.5 * self.capacity) # Increase capacity by 50% new_vectors = lil_matrix((new_capacity, self.vector_size), dtype=np.float3…
doc:beam/e84015fa-c493-4afc-989d-244a981b70fe- The `add_vector` method checks if the current number of vectors has reached the capacity. If so, it resizes the array to accommodate more vectors. - The new vector is added to the array, and the count of vectors is incremented. 3. …
Dontopedia is in a read-only public launch. Follow the references and disputed branches now; contributions will open after durable identity and moderation are in place.