frbs.learn function

The frbs model building function