Method for controlling a light signal system, comprising the following steps: receiving first traffic condition data that represent a current traffic condition in the surroundings of the light signal system, receiving second traffic condition data that represent a historical traffic condition in the surroundings of the light signal system, ascertaining a deviation of the current traffic condition from the historical traffic condition, producing control signals for controlling the light signal system on the basis of the ascertained deviation in such a way that, when the light signal system is controlled on the basis of the control signals, a current signal timing plan is changed or replaced, outputting the produced control signals, wherein training data signals that represent training data for machine learning are produced and output, wherein the training data comprise one or more of the following data: traffic condition in the surroundings of the light signal system, while the light signal system is operated on the basis of the changed signal timing plan or of the replaced signal timing plan, at least one parameter of the changed signal timing plan or of the replaced signal timing plan, the currently applied change to the signal timing plan, the signal timing plan resulting therefrom, vehicle detection times, vehicle numbers derived therefrom, static information relating to the light signal system, in particular topology of a junction, in particular intersection, the traffic at which is regulated by the light signal system, and/or relating to a system associated with the light signal system, occupancy data, wherein the occupancy data in particular comprise one or more elements of the following group of occupancy data: position of a detection of a vehicle, trajectory of the detected vehicle, occupancy values of a detector per unit of cycle time, number of vehicles per detector per unit of cycle time, cycle duration, characterized in that traffic condition threshold value signals that represent at least one traffic condition threshold value are received, wherein the control signals are produced on the basis of the at least one traffic condition threshold value, wherein the current traffic condition is compared with the at least one traffic condition threshold value, wherein the control signals are produced on the basis of the comparison of the current traffic condition with the at least one traffic condition threshold value, wherein, before the control signals are output, a check is carried out to determine whether the current traffic condition would exceed the at least one traffic condition threshold value as a result of changing or replacing the signal timing plan, wherein the control signals are output depending on a result of the check. receiving first traffic condition data that represent a current traffic condition in the surroundings of the light signal system, receiving second traffic condition data that represent a historical traffic condition in the surroundings of the light signal system, ascertaining a deviation of the current traffic condition from the historical traffic condition, producing control signals for controlling the light signal system on the basis of the ascertained deviation in such a way that, when the light signal system is controlled on the basis of the control signals, a current signal timing plan is changed or replaced, outputting the produced control signals, wherein training data signals that represent training data for machine learning are produced and output, wherein the training data comprise one or more of the following data: traffic condition in the surroundings of the light signal system, while the light signal system is operated on the basis of the changed signal timing plan or of the replaced signal timing plan, at least one parameter of the changed signal timing plan or of the replaced signal timing plan, the currently applied change to the signal timing plan, the signal timing plan resulting therefrom, vehicle detection times, vehicle numbers derived therefrom, static information relating to the light signal system, in particular topology of a junction, in particular intersection, the traffic at which is regulated by the light signal system, and/or relating to a system associated with the light signal system, occupancy data, wherein the occupancy data in particular comprise one or more elements of the following group of occupancy data: position of a detection of a vehicle, trajectory of the detected vehicle, occupancy values of a detector per unit of cycle time, number of vehicles per detector per unit of cycle time, cycle duration, characterized in that traffic condition threshold value signals that represent at least one traffic condition threshold value are received, wherein the control signals are produced on the basis of the at least one traffic condition threshold value, wherein the current traffic condition is compared with the at least one traffic condition threshold value, wherein the control signals are produced on the basis of the comparison of the current traffic condition with the at least one traffic condition threshold value, wherein, before the control signals are output, a check is carried out to determine whether the current traffic condition would exceed the at least one traffic condition threshold value as a result of changing or replacing the signal timing plan, wherein the control signals are output depending on a result of the check.