A Machine Learning Approach for Model-free Control of PeWEC