DeepLearning
LinearClassifier
construct a linear classifier
Calling Sequence
Parameters
Options
Description
Compatibility
LinearClassifier(fc,opts)
fc
-
list of FeatureColumn objects
opts
(optional) one or more keyword options described below
num_classes : nonnegative integer
Specifies the number of distinct classes into which the data should be classified.
optimizer : function or Optimizer object
Specifies the optimizer to use to train the model. The default is the FTRL optimizer.
The LinearClassifier(fc,opts) command creates a linear classifier for the feature columns specified in fc.
This function is part of the DeepLearning package, so it can be used in the short form LinearClassifier(..) only after executing the command with(DeepLearning). However, it can always be accessed through the long form of the command by using DeepLearning[LinearClassifier](..).
The DeepLearning[LinearClassifier] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
See Also
DeepLearning Overview
DeepLearning[DNNClassifier]
DeepLearning[DNNLinearCombinedClassifier]
DeepLearning[LinearRegressor]
Download Help Document