When studying the photoelectric effect, which parameters did scientists think were relevant for electrons to be released or not in both the wave and particle models?

frequency and intensity for the wave model; frequency only for the particle model
frequency and intensity for the particle model; frequency only for the wave model
frequency only for both models
intensity only for both models

frequency only for both models