MACHINE LEARNING PROCESS OPTIMIZATION & NETWORK SECURITY : A MODERN SECURITY FRAMEWORK