The NYPD is taking a page out of “Minority Report” — using a computerized, early-warning system to identify potentially problematic cops.

The data-driven program — which brings to mind the 2002 sci-fi thriller starring Tom Cruise, whose character stopped killers before they struck — was revealed Tuesday in a report from NYPD Inspector General Philip Eure on lawsuits filed against the department.

Police brass quietly adopted the Risk Assessment Information Liability System, known as “RAILS,” in October 2017, the report says.

RAILS compiles information from several NYPD databases and other sources, including the Civilian Complaint Review Board and the city’s five district attorney offices.

The high-tech software crunches the data and produces “performance indicators” in six categories, including multiple misconduct allegations, suspensions and other discipline, police-involved shootings and arrests that DAs refuse to prosecute — likely because they don’t want to put the cop on the witness stand.

“Within each category, NYPD has established a set of thresholds that, if met, will trigger a RAILS alert on the officer,” the report says.

“Supervisors are required to acknowledge all alerts, take action to address the officer’s behavior and record such actions in RAILS by responding to a drop-down menu of suggested interventions.”

The report also says that lawsuits alleging police misconduct rose slightly last year, to 1,586 from 1,389 in 2017, but notes a 72 percent increase in “use-of-force allegations” in the suits.

Meanwhile, settlements dropped from 1,136 to 991, with the total payouts falling from $138.5 million to $55.6 million, with the big gap blamed in part on 15 deals of $1 million or more that were struck in 2017.

Between 2014 and 2017, cops in Brooklyn and The Bronx racked up both the highest number of misconduct suits and the biggest total payouts of $136.6 million and $104.6 million, respectively, the report says.

Patrolmen’s Benevolent Association President Patrick Lynch blasted the prescient system as “the result of an oversight regime run amok” that’s “cooking up new ways to penalize rank-and-file cops.”

“The only sure way for cops to avoid triggering a false ‘red flag’ in RAILs will be to avoid taking enforcement action whenever possible,” he warned.

Sergeants union chief Ed Mullins called RAILS “just another way for [city officials] to say, ‘We have oversight.’”

“They are crushing a very successful police department. In 10 years, they’re going to look back and regret it,” he said.

“Because the city of New York was a cesspool in the 1970s and 80s, and what cops see in the street is that the criminals are emboldened.”

The NYPD wouldn’t say if any action has been taken against cops who were flagged by RAILS, but pointed to figures from the report that show misconduct suits are down nearly 50 percent since 2014.

“This reflects the success of the Department’s merit-based work with litigation data to improve officer performance, and enhance policy and practices,” Sgt. Jessica McRorie said.