...
- Model Training (Offline) and validation
- Prediction
Step1Step 1: ML Offline Training
This step requires a huge amount of historical data for the analysis. It requires both the input (PM metrics) and output data (intent).
...
Code Block |
---|
curl -X POST -H "Content-Type: text/plain" https://localhost:8081/api/sdnc-config-db/v4/nrcellcu-configdata/1/snssai/01-B989BD |
- Following are the processes involved in the training the model.
- Once the all the training data are acquired, the training module performs preprocessing to convert the data from json format into Dictionary format
- In Preprocessing the training Data is normalised and Transformed.
- The preprocessed data (PM data Parameters data content) for all slices and cells which are in time series are converted into forcast series.
- The forecast series is cells PM data parameters for current time instance, Plus the previous past or last four time instance data.
- Similar forecast series data is prepared for all the cells in the slice.
- Data are split into training and validation datasets
- The expected results for each time instance cell data are synthetically generated based on rule conditions and the cell intends.
- The training module perform Training against an LSTM model.
- The Training model file are archived.
- The results are manually verified .
...
Expand | ||
---|---|---|
| ||
[ |
Step2:
...
Prediction
The prediction is performed
is performed by first by acquiring the current time instance data from slices and cells. The data are acquired from following topics.
- The Prediction modules trigger PM data generation for slices using the below RAN Simulator API topics
- The process typically waits for more data to be generated. Currently it waits for 2 hours.
Code Block |
---|
curl -X POST -H "Content-Type: text/plain" http://localhost:8081/ransim/api/GenerateIntelligentSlicingPmData -i |
- After the time elapse, the Prediction modules perform stop PM data generated for slices using following topic.
Code Block |
---|
curl -X POST -H "Content-Type: text/plain" http://localhost:8081/ransim/api/stopIntelligentSlicingPmData -i |
- The Prediction module start to get the acquired data for all the slices and cells using topic
Code Block |
---|
curl -X POST -H "Content-Type: text/plain" https://localhost:8081/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS/mlms-cg/mlms-cid |
- While acquiring each slice and cell data, the Prediction module also acquire the intent configuration for each cell and slices. using following topic.
Code Block |
---|
curl -X POST -H "Content-Type: text/plain" https://localhost:8081/api/sdnc-config-db/v4/nrcellcu-configdata/1/snssai/01-B989BD |
The response will be in the form of:
{
"dLThptPerSlice": 1,
"uLThptPerSlice": 2,
"maxNumberOfConns":300
}
- Following are the processes involved in the Prediction the model.
To fetch the Slice Profile (intent) from config DB, below API can be used.
GET: http://localhost:8080/api/sdnc-config-db/v4/profile-config/{nSSAI}
The response will be in the form of:
{
"dLThptPerSlice": 1,
"uLThptPerSlice": 2,
"maxNumberOfConns":300
}
Once the CPS integration for RAN slice allocation is completed, Config DB API needs to be replaced with the CPS API.
CPS API:
To be updated
- The data from above topics are used to acquire the current time instance and also the previous last four time instance data for all cells and slice.
- The collected data are parsed, normalised, transformed and converted into forcase series, the steps followed here are almost the same to the input preprocessing steps used in Training module.
- The preprocess forecast series along with the intend are fed to the ML model to perform prediction for the resource allocation for each cells. The predicted results are further optimised by the 25% +/- on cell config and 10% +/- on slice config thresholds.
- Recommendation for each cell can be maximum of 5120 and the aggregation of maximumNoOfConnections recommended for a slice (sNSSAI) can be upto 110% (10 % buffer) of the intent.
...
- Now predict recommend suggestions for the cell level configurations (maxNumberOfConns) for a slice.
...
- A new micro service will be introduced to do the data processing and prediction for the dynamic data.
Suggested Configuration from the ML MS should be in the form of below format
Expand | ||
---|---|---|
| ||
{ |
Once the CPS integration for RAN slice allocation is completed, Config DB API needs to be replaced with the CPS API.
CPS API:
To be updated