System and method of machine learning using embedding networks