Wireless Edge Machine Learning: Resource Allocation and Trade-offs