Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Functionality of ML block is divided into three parts. 

  1. Model Training (Offline) and validation
  2. Prediction

Step1: ML Offline Training

...

Code Block
curl -X POST -H "Content-Type:  text/plain" http://localhost:8081/ransim/api/stopIntelligentSlicingPmData -i 

The 

Run the ML model against the generated PM data and check whether it works as expected

...

  • The Training 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 training 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
  • Once the all the training data are acquired, the training module performs preprocessing to convert the data in json format into Dictionary format
  • 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 .


PM file format

Expand
titleTraining data format

[
  "{\"event\": {\"commonEventHeader\": {\"domain\": \"perf3gpp\",\"eventId\": \"2ff40cb0-377b-49f6-acea-5c7893e53f07\",\"sequence\": 0,\"eventName\": \"perf3gpp_AcmeNode-Acme_pmMeasResult\",\"sourceName\": \"oteNB5309\",\"reportingEntityName\": \"\",\"priority\": \"Normal\",\"startEpochMicrosec\": 1602686360469,\"lastEpochMicrosec\": 1602686360474,\"version\": \"4.0\",\"vesEventListenerVersion\": \"7.1\",\"timeZoneOffset\": \"UTC+05:00\"},\"perf3gppFields\": {\"perf3gppFieldsVersion\": \"1.0\",\"measDataCollection\": {\"granularityPeriod\": 1602686360473,\"measuredEntityUserName\": \"\",\"measuredEntityDn\": \"cucpserver1\",\"measuredEntitySoftwareVersion\": \"r0.1\",\"measInfoList\": [{\"measInfoId\": {\"sMeasInfoId\": \"measInfoIsVal\"},\"measTypes\": {\"sMeasTypesList\":[\"SM.PDUSessionSetupReq.0011-0010\",\"SM.PDUSessionSetupSucc.0011-0010\",\"SM.PDUSessionSetupFail.0\",\"SM.PDUSessionSetupReq.0010-1110\",\"SM.PDUSessionSetupSucc.0010-1110\"]},\"measValuesList\": [{\"measObjInstId\": \"113025289\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 4,\"sValue\": \"4364\"},{\"p\": 5,\"sValue\": \"2739\"},{\"p\": 3,\"sValue\": \"1517\"}]},{\"measObjInstId\": \"113025290\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 4,\"sValue\": \"4742\"},{\"p\": 5,\"sValue\": \"3184\"},{\"p\": 3,\"sValue\": \"1459\"}]},{\"measObjInstId\": \"113025296\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 4,\"sValue\": \"5264\"},{\"p\": 5,\"sValue\": \"3545\"},{\"p\": 3,\"sValue\": \"1629\"}]},{\"measObjInstId\": \"82268687\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 4,\"sValue\": \"6952\"},{\"p\": 5,\"sValue\": \"4337\"},{\"p\": 3,\"sValue\": \"2363\"}]},{\"measObjInstId\": \"82268689\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 4,\"sValue\": \"4229\"},{\"p\": 5,\"sValue\": \"3021\"},{\"p\": 3,\"sValue\": \"1135\"}]},{\"measObjInstId\": \"95697155\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 4,\"sValue\": \"4364\"},{\"p\": 5,\"sValue\": \"3201\"},{\"p\": 3,\"sValue\": \"1054\"}]},{\"measObjInstId\": \"95697174\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 4,\"sValue\": \"7041\"},{\"p\": 5,\"sValue\": \"4229\"},{\"p\": 3,\"sValue\": \"2599\"}]},{\"measObjInstId\": \"95697175\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 1,\"sValue\": \"3502\"},{\"p\": 2,\"sValue\": \"2598\"},{\"p\": 3,\"sValue\": \"851\"}]},{\"measObjInstId\": \"95697176\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 1,\"sValue\": \"4858\"},{\"p\": 2,\"sValue\": \"3430\"},{\"p\": 3,\"sValue\": \"1295\"}]},{\"measObjInstId\": \"103597825\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 1,\"sValue\": \"5134\"},{\"p\": 2,\"sValue\": \"3135\"},{\"p\": 3,\"sValue\": \"1847\"}]},{\"measObjInstId\": \"103597826\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 1,\"sValue\": \"4773\"},{\"p\": 2,\"sValue\": \"3007\"},{\"p\": 3,\"sValue\": \"1650\"}]},{\"measObjInstId\": \"84327425\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 1,\"sValue\": \"4573\"},{\"p\": 2,\"sValue\": \"3347\"},{\"p\": 3,\"sValue\": \"1111\"}]},{\"measObjInstId\": \"84327426\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 1,\"sValue\": \"4316\"},{\"p\": 2,\"sValue\": \"3126\"},{\"p\": 3,\"sValue\": \"1102\"}]},{\"measObjInstId\": \"103593999\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 1,\"sValue\": \"5314\"},{\"p\": 2,\"sValue\": \"3271\"},{\"p\": 3,\"sValue\": \"1860\"}]},{\"measObjInstId\": \"103594000\",\"suspectFlag\": \"false\",\"measResults\": [{\"p\": 1,\"sValue\": \"5037\"},{\"p\": 2,\"sValue\": \"3732\"},{\"p\": 3,\"sValue\": \"1193\"}]}]}]}}}}"
]

Step2: Prediction

<update in progress>


To fetch the Slice Profile (intent) from config DB, below API can be used.

...