ML techniques can be used not just to process the data sets generated by the Internet of Things, but also to manage the IoT, to detect intrusions and other anomalies, and to optimise many aspects of IoT design, such as hardware location, spectrum usage optimisation and the minimisation of power consumption.