Is that the actual data you’re going to use in this model, or just a way to show your dataset behavior? Because it’s a random uniform dist that you assigned, and probably it won’t produce logical outputs in that specific problem (SER-AESDD).
BTW, the code procedure sounds acceptable to me.