A Fibonacci Heaps in AI NLP QA Model - Suggestions?

  • A
  • Thread starter Thread starter heff001
  • Start date Start date
AI Thread Summary
Fibonacci heaps are being considered for an AI NLP Question Answering Model focused on hierarchical trees. The user has previously attempted Red Black Trees but found them unsuccessful. Prototyping in a high-level language like Python with a pre-built tree package is recommended before developing a custom solution. The goal is to create a flexible data structure for building an Answer Model from a Question Model, with a focus on natural language classifications. The discussion emphasizes the importance of finding the right data structure for effective NLP/NLU implementation.
heff001
Messages
30
Reaction score
1
TL;DR Summary
Fibonacci (min) heaps
I am using them in an AI NLP Question Answering Model - Root to Frontier Hierarchical Trees. Is this too academic? I have tried Red Black Trees with little success. What do you suggest?
 
Physics news on Phys.org
heff001 said:
I am using them in an AI NLP Question Answering Model - Root to Frontier Hierarchical Trees.
Is this a practical implementation? You might be better off asking in the Programming and Computer Science topic.

heff001 said:
Fibonacci (min) heaps... Is this too academic?
Not for me :) but if I were you I would start prototyping your model using a high level language (e.g. Python) and a pre-built tree package (e.g. anytree). Once you have a working Proof of Concept you can start looking for bottlenecks and only then if you need to consider rolling your own low-level tree handler.
 
I thank you...

This for an NLP/NLU Startup

The Fibonacci heap of (min) trees so far has been #1 on my list. Adjacency trees are too simple for NLP/NLU. I need to build an Answer Model from a Question model.
Here, I can build hierarchical trees within a heap, build strings from trees, for the NLU response.
The major up-front work is the NL classifications. I just want a flexible data structure that I can adjust and eventually populate in Hadoop DB.

I do Python.

I am not at a point of using recursive features yet.
 
I'm taking a look at intuitionistic propositional logic (IPL). Basically it exclude Double Negation Elimination (DNE) from the set of axiom schemas replacing it with Ex falso quodlibet: ⊥ → p for any proposition p (including both atomic and composite propositions). In IPL, for instance, the Law of Excluded Middle (LEM) p ∨ ¬p is no longer a theorem. My question: aside from the logic formal perspective, is IPL supposed to model/address some specific "kind of world" ? Thanks.
I was reading a Bachelor thesis on Peano Arithmetic (PA). PA has the following axioms (not including the induction schema): $$\begin{align} & (A1) ~~~~ \forall x \neg (x + 1 = 0) \nonumber \\ & (A2) ~~~~ \forall xy (x + 1 =y + 1 \to x = y) \nonumber \\ & (A3) ~~~~ \forall x (x + 0 = x) \nonumber \\ & (A4) ~~~~ \forall xy (x + (y +1) = (x + y ) + 1) \nonumber \\ & (A5) ~~~~ \forall x (x \cdot 0 = 0) \nonumber \\ & (A6) ~~~~ \forall xy (x \cdot (y + 1) = (x \cdot y) + x) \nonumber...

Similar threads

Replies
11
Views
2K
Replies
11
Views
2K
Replies
12
Views
2K
Replies
10
Views
3K
Replies
19
Views
356
Back
Top