Earthquake prediction and modeling of seismicity