R/predict.R
predict_fuzzy_system.Rdpredict the outcome of a fuzzy system on some input data
predict_fuzzy_system(fs, x, verbose = FALSE)the predicted output data as a data frame
model <- fuzzycoco("regression", example_mtcars()$params, seed = 123)
x <- mtcars[c("mpg", "hp", "wt")]
y <- mtcars["qsec"]
fit <- fit_xy(model, x, y, progress = FALSE)
y2 <- predict_fuzzy_system(fit$fuzzy_system,x)