This application discloses a classification method, apparatus, and storage medium, belonging to the field of
semiconductor detection technology. The method includes: acquiring multiple type conditions; compiling based on the multiple type conditions to determine an
executable composite function; acquiring parameters of the current target to be classified; determining a type result array based on the
composite function and the parameters of the current target to be classified, the type result array indicating whether the current target to be classified satisfies some or all of the multiple type conditions; and determining the type of the current target to be classified based on the type result array. This application can reduce the number of compilation iterations, solve the problem of poor classification efficiency caused by compilation time, and improve classification efficiency.