5.1 About OREmodels Functions
The OREmodels package contains functions with which you can build machine learning models using ore.frame objects.
The OREmodels functions are the following:
Table 5-1 Functions in the OREmodels Package
| Function | Description |
|---|---|
|
|
Fits and uses a Generalized Linear Model model on data in an |
|
|
Fits a linear regression model on data in an |
|
|
Fits a Neural Network model on data in an |
ore.randomForest |
Creates a Random Forest classification model in parallel on data in an ore.frame.
|
|
|
Fits a stepwise linear regression model on data in an |
Note:
In R terminology, the phrase "fits a model" is often synonymous with "builds a model". In this document and in the online help for Oracle Machine Learning for R functions, the phrases are used interchangeably.
Note:
The functions ore.lm, ore.glm, ore.stepwise, ore.randomForest, ore.neural, ore.esm, prcomp, svd, ore.odmRAlg are not available on Oracle Autonomous AI Database and deprecated on Oracle AI Database.
The ore.glm, ore.lm, and ore.stepwise functions have the following advantages:
-
The algorithms provide accurate solutions using out-of-core QR factorization. QR factorization decomposes a matrix into an orthogonal matrix and a triangular matrix.
QR is an algorithm of choice for difficult rank-deficient models.
-
You can process data that does not fit into memory, that is, out-of-core data. QR factors a matrix into two matrices, one of which fits into memory while the other is stored on disk.
The
ore.glm,ore.lmandore.stepwisefunctions can solve data sets with more than one billion rows. -
The
ore.stepwisefunction allows fast implementations of forward, backward, and stepwise model selection techniques.
The ore.neural function has the following advantages:
-
It is a highly scalable implementation of neural networks, able to build a model on even billion row data sets in a matter of minutes. The
ore.neuralfunction can be run in two modes: in-memory for small to medium data sets and distributed (out-of-core) for large inputs. -
You can specify the activation functions on neurons on a per-layer basis;
ore.neuralsupports many different activation functions. -
You can specify a neural network topology consisting of any number of hidden layers, including none.
Parent topic: Build Oracle Machine Learning for R Models