# Creating new classifications

Is it possible for an algorithm to predict a new class that has never been before in training? For example, in my training data I have:

I need a flight to Boston --> flight query

What is two plus two --> math query

Who is the president of the United States --> Donald Trump

How can I make a model that can predict a new class for:

How are you today --> ??? (Should be something like conversation query)


I am almost looking for a way to combine supervised learning and unsupervised learning. Using supervised learning for a model to predict new classes (unsupervised learning)

• Do you plan on providing a set of possible classes? Jan 6, 2017 at 10:31
• This might be a x y problem. Are you really interested in a generic open-ended classifier as your model (and if so, how are you expecting the computer to correctly label a new class, as opposed to simply identifying that it is a class it has not seen before and assign some kind of generic id), or are you trying to solve a different problem in NLP such as creating a Topic Model? Feb 6, 2017 at 14:41