Opsmo.CRPM.Dataset.Memory (opsmo v0.3.10)
Summary
Functions
Returns a stream of training data.
Functions
Returns a stream of training data.
Cases
The training data represents all the cases we want the model to take into account.
- When the requested ram almost match the available ram (consumes most of the available ram), the model should predict [1, 0]
- When the requested resources is in the standard range and the resource is not fully consumed, the model should predict [0, 1]
- When the requested resources is greater than the available resources, the model should predict [1, 0]
- When the available resource is < 20% available, the model should predict [1, 0]
More cases will result in a better model. We can also add more features to the model in the future, for example if the requested resource includes a GPU and the GPU is available return [0, 1]. We can also bake GPU utilization into the dataset.
This data generation is only good for solving cold start. Once we collect more data we should use real outcomes to further tain this model.