This document presents a data-mining based intelligent protection scheme for fault detection and classification in a microgrid. The microgrid consists of synchronous generators, a photovoltaic module, and a wind farm, and is modelled in RSCAD. The protection scheme retrieves current samples after a fault occurs and uses transforms to extract statistical features to build a machine learning model for fault detection and classification, which will be validated on additional data and implemented on an RTDS platform integrated with Matlab. Extensive testing will evaluate the performance of the proposed intelligent relaying scheme for microgrids under different operating conditions.