Back
Close

Activating Latent Semantic Models with Natural Language Inference

andrew-lucker
7,902 views
Previous: Input and Output

Next Steps

To implement the base four emotional states (happiness, sadness, anger, and fear) we must first create a data structure capable of encoding the variable identifier and confidence. To keep things simple we will simply create a list containing a tuple of (identifer, confidence). This now allows us to encode mixed emotions as seen below:

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io