LinearClassifier - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DeepLearning

  

LinearClassifier

  

construct a linear classifier

 

Calling Sequence

Parameters

Options

Description

Compatibility

Calling Sequence

LinearClassifier(fc,opts)

Parameters

fc

-

list of FeatureColumn objects

opts

-

(optional) one or more keyword options described below

Options

• 

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.

Description

• 

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](..).

Compatibility

• 

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]