HaiVE is AI as a service that can be deployed both as a public service hosted on a heterogeneous network