> For the complete documentation index, see [llms.txt](https://litepaper.newwit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://litepaper.newwit.com/newwit-ai/ai-model.md).

# AI model

### Model Inputs&#x20;

Newwit AI model inputs consists of three parts.

**Player embedding** This is a mathematical matrix describing a player’s features, including age, occupation, education, number of predictions, overall accuracy, topic accuracy etc.&#x20;

**Question embedding** This is a mathematical matrix describing a question’s features, including title, associated topics, associated subtopics, number of answers etc.&#x20;

**Interaction embedding** This is a mathematical matrix describing how the player interacted with the question, including player’s prediction, player’s comments, number of upvotes received from the comment etc.

**Model target** With the above 3 input embeddings, the model will compute a prediction power score per user using a deep neural network. During training, the AI model will push the prediction power to 1 if the player’s prediction was correct and -1 if the player’s prediction was incorrect. When the model converges, it will know how much to trust a player when it comes to a particular question. The level to trust is the measure of prediction power.

Note that prediction power scores of 1 and -1 are equally important to the model. Player with -1 prediction power score contributes to the model by saying that most likely his/her prediction is incorrect. Prediction power score of 0 will mean the player’s prediction performance is not consistent and is considered noise statistically.

The prediction power of each player in each question is different.&#x20;

### Model Output&#x20;

Final Newwit Prediction&#x20;

Finally, the prediction power scores are summed to compute the final prediction.

![](/files/wKpZB3JoZVVDACrBwvo7)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://litepaper.newwit.com/newwit-ai/ai-model.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
