mendevi.models.power_cores

Power prediction based on CPU utilisation rate.

Classes

PowerCores()

Affine model to predict the power from the core utilisation.

Details

class mendevi.models.power_cores.PowerCores[source]

Affine model to predict the power from the core utilisation.

With \(P_{static}\) and \(P_{core}\) two hyperparameters specific to each machine, but independent of the programme being executed.

Examples

>>> from mendevi.models.power_cores import PowerCores
>>> model = PowerCores()
>>> model.fit("<multithread.db>")
>>> model.predict(["paradoxe-32.rennes.grid5000.fr"], [0.0])
>>>

Initialise the model.