Scientists invent doom calculator predicting when you'll DIE, how much money you'll earn

A photo taken on November 23, 2023 shows the logo of the ChatGPT application developed by US artificial intelligence research organization OpenAI on a smartphone screen (L) and the letters AI on a laptop screen. (Photo by KIRILL KUDRYAVTSEV/AFP via G

None of us can predict when our lives will end, but if you have wondered about this, a new device may offer the answer.

Researchers in Denmark and the U.S. created an AI machine-learning chatbot similar to ChatGPT, where people can interact with it like they can with ChatGPT.

This model, called life2vec, has the ability to process data, including the person's age, health, education, jobs, income, pregnancy history, and injuries. 

RELATED: US life expectancy soared in 2022, but remains below pre-COVID level

Data for the model came from over six million people from Denmark between 2008 and 2016, and was provided by the country’s government, which helped the research team with their report published in the Nature Computational Science online journal.

Researchers in the study noted that life2vec could correctly predict who would die by 2020 about 78% of the time.

RELATED: Report ranks US states with the longest life expectancy: here's where your state falls

Citing the report, Science Times, a technology and science publication, noted that several factors in the algorithm linked to earlier death were having a mental health diagnosis, being male, or having a skilled profession. Factors connected with a longer lifespan include having a leadership role in a job and a higher income.

According to Science Times, the algorithm is not available to the public to protect the information and privacy of the people in the study. 

This story was reported from Washington, D.C.