I am trying different Nengo model for classification , I want to try sentiment analysis using Nengo model , But nengo neurons are optimized to represent values between -1 to 1 by default , It means i have to provide continuous values as input but In sentiment i have text so can i use word embedding for Input , something like :
Ex: This is demo sentence.
converted into int ids . == > . [ 23 , 24 , 25 , 26 ]
since those are discrete values then :
Word_embedding ( int_ids ) ===> [ [ 0.11 , 0.43 , 0.14 …] , [ 0.2 , 0.54 , 0.1 …] , [ 0.43 , 0.22 , 0.14 …] ,[ 0.13 , 0.10 , 0.14 …] ]
Now this is 2d vector now if i have sentiment classes are like :
[ [ 0.11 , 0.43 , 0.14 …] , [ 0.2 , 0.54 , 0.1 …] , [ 0.43 , 0.22 , 0.14 …] ,[ 0.13 , 0.10 , 0.14 …] ] ==> [ 0,1]
So will it work ? I have doubt since this is 2d vector so it will treat each element in vector as individual or it will treat it as element of same vector ?
Second question is How we can feed values in batch to Nengo model ?