added different beta for rbf and sigmoid