The attacker had explosives strapped to his body and infiltrated the General Kahiye Police Training Academy during an early morning parade, police said.
Islamist militants al Shabaab claimed responsibility for this weekend’s attack.
A bomb attack in Mogadishu killed at least 358 people this month.
At least 15 people were killed in the attack.
The group is launching more and more raids in the region.
A gunfight is reportedly ongoing.
This is a critical year for the troubled African nation.
The Islamist militants detonated the bomb outside a popular park.