ramp_database.tools.submission.get_event_nb_folds

ramp_database.tools.submission.get_event_nb_folds(session, event_name)

Get the number of fold for a given event.

Parameters
sessionsqlalchemy.orm.Session

The session to directly perform the operation on the database.

event_namestr

The event name.

Returns
nb_foldsint

The number of folds for a specific event.