In this work, we use a neural network as a substitute for the traditional analytic functions employed as an inversion set in feedback linearization control algorithms applied to hydraulic actuators. Although very effective and with strong stability guarantees, feedback linearization control depends on parameters that are difficult to determine, requiring large amounts of experimental effort to be identified accurately. On the other hands, neural networks require little effort regarding parameter identification, but pose significant hindrances to the development of solid stability analyses and/or to the processing capabilities of the control hardware. Here, we combine these techniques to control the positioning of a hydraulic actuator, without requiring extensive identification procedures nor losing stability guarantees for the closed-loop system, at reasonable computing demands. The effectiveness of the proposed method is verified both theoretically and by means of experimental results.