File size: 1,050 Bytes
6aba987 5309a2f 6aba987 5309a2f 42c5e08 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
---
license: mit
tags:
- elixir
- axon
- nx
---
# Compute Resource Placement Model (CRPM)
This is a basic Logicstic Regression model that predicts the placement of a compute resource in a compute cluster. The model is trained using the `axon` library in Elixir. The model is trained on data observed from a compute cluster mixed with some synthetic data.
The synthetic data is used to dictate the expected behaviour of the model to generalize over since we know the expected outcome.
The advantage of solving this problem with an AI model is the following:
1. There is much less code to write and maintain.
2. The model can be retrained with new data when we want to add new feature we simply add columns to the dataset and off we go.
While it is possible to solve this problem with a rule-based system, the amount of code required to maintain and the complexity of the code would be much higher hence this solution.
## Source Code
The source code is available on github [Opsmo](https://github.com/upmaru/opsmo)
|