Boiling helps to remove the cyanogenic glycosides present in the cassava as it leaches into the water. Therefore, frying from raw will cause considerably less toxin to be removed than boiling.