A computer-implemented method for determining sensor settings of a device to optimize a trade-off between model accuracy, battery consumption and data storage amounts, comprising the steps: - Collect data relating to a setting of at least one sensor of the device, - Collect data relating to the modality of the at least one sensor of the device, - Retrieve from a data base historical data relating to an amount of battery consumption associated with the setting of the sensor or estimate the amount of battery consumption associated with the setting of the sensor, - Retrieve from a data base historical data relating to an amount of data storage space with associated with the setting of the sensor or estimate the amount of data storage space with associated with the setting of the sensor, - generate at least one first model that is trained based on the collected data and / or retrieved historical data, wherein the model comprises an associated first setting of the at least one sensor; - Measure at least one performance criterion of the first model, wherein the performance criterion is an accuracy achieved by the model given a fixed maximum battery consumption and / or maximum data storage consumption or is related to a battery consumption required by the model given a fixed minimum model accuracy and / or maximum data storage consumption or is related to a data storage consumption required by the model given a fixed minimum model accuracy and / or maximum battery consumption, and compare the measured performance criterion to a threshold value, - If the performance criterion of the first model lies above the threshold value or falls within a tolerance range surrounding the threshold value, select the first model; and - configure the device to operate the at least one sensor with the first setting of the at least one sensor associated with the selected first model to thereby improve the first model, - If the performance criterion of the first model lies below the threshold value or does not fall within the tolerance range surrounding the threshold value, generate a second model, wherein the second model comprises an associated second setting of the at least one sensor and the first and second settings of the at least one sensor differ from each other in at least one parameter, - Measure at least one performance criterion of the second model and compare the measured performance criterion to the threshold value, - If the performance criterion of the second model lies above the threshold value or falls within the tolerance range surrounding the threshold value, select the second model; and - configure the device to operate the at least one sensor with the second setting of the at least one sensor associated with the selected second model. - Collect data relating to a setting of at least one sensor of the device, - Collect data relating to the modality of the at least one sensor of the device, - Retrieve from a data base historical data relating to an amount of battery consumption associated with the setting of the sensor or estimate the amount of battery consumption associated with the setting of the sensor, - Retrieve from a data base historical data relating to an amount of data storage space with associated with the setting of the sensor or estimate the amount of data storage space with associated with the setting of the sensor, - generate at least one first model that is trained based on the collected data and / or retrieved historical data, wherein the model comprises an associated first setting of the at least one sensor; - Measure at least one performance criterion of the first model, wherein the performance criterion is an accuracy achieved by the model given a fixed maximum battery consumption and / or maximum data storage consumption or is related to a battery consumption required by the model given a fixed minimum model accuracy and / or maximum data storage consumption or is related to a data storage consumption required by the model given a fixed minimum model accuracy and / or maximum battery consumption, and compare the measured performance criterion to a threshold value, - If the performance criterion of the first model lies above the threshold value or falls within a tolerance range surrounding the threshold value, select the first model; and - configure the device to operate the at least one sensor with the first setting of the at least one sensor associated with the selected first model to thereby improve the first model, - If the performance criterion of the first model lies below the threshold value or does not fall within the tolerance range surrounding the threshold value, generate a second model, wherein the second model comprises an associated second setting of the at least one sensor and the first and second settings of the at least one sensor differ from each other in at least one parameter, - Measure at least one performance criterion of the second model and compare the measured performance criterion to the threshold value, - If the performance criterion of the second model lies above the threshold value or falls within the tolerance range surrounding the threshold value, select the second model; and - configure the device to operate the at least one sensor with the second setting of the at least one sensor associated with the selected second model.