13. The computer program product of claim 8 , wherein the CPC mapping associates a context of the event, a personality of the user, and a cognitive state of the user such that the cognitive state is determined based on the context of the event and the personality of the user of other CPC mappings having similar event contexts and personalities.
8. A computer program product comprising: a computer readable storage medium readable by one or more processor and storing instructions for execution by the one or more processor for performing a method comprising: collecting user data from the user; analyzing a context of an event from the user data, wherein the event comprises one or more actions; identifying subsequent actions of the event based on the context of the event and participants of the event; creating one or more context-personality-cognitive state (CPC) mapping; adding the one or more CPC mapping to a knowledgebase by machine learning; predicting a first cognitive state of the user by use of the knowledgebase; and generating an alarm for a first subsequent action based on the predicted first cognitive state of the user and notifying the generated alarm to the user.