--
--
Factorie Discuss group.
To post, email: dis...@factorie.cs.umass.edu
To unsubscribe, email: discuss+u...@factorie.cs.umass.edu
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@factorie.cs.umass.edu.
--
Oh, I see. I think you are conflating two things here -- the type of the feature (string) and the type of value the feature can take on. Why not just make a feature called "INTFEATURE" and set it equal to 9 or 10? BinaryFeatureVectorVariable requires features to be binary, but regular FeatureVectorVariable should just have a SparseIndexedTensor by default and you should be able to assign whatever (double) value you'd like to it.
On Fri, Mar 20, 2015 at 3:33 PM Arbaz Khan <arbazk...@gmail.com> wrote:
Yeah I could do that but wouldn't that stop the learner from leveraging the integer values and in-turn lose information. Because it would just interpret values as a string, if there are two feature values INFEATURE=9 and INTFEATURE=10, then it would treat them as two independent values but integers 9 and 10 are not independent, they are close to each other more than say values 1 and 10.Hope that helps to clarify my requirement.--Arbaz
--
Factorie Discuss group.
To post, email: dis...@factorie.cs.umass.edu
To unsubscribe, email: discuss+unsubscribe@factorie.cs.umass.edu
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+unsubscribe@factorie.cs.umass.edu.
To unsubscribe, email: discuss+u...@factorie.cs.umass.edu
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@factorie.cs.umass.edu.