Skip to content
Snippets Groups Projects
Commit fb990bf5 authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

Bug was breaking sphinx doctest

parent 01864529
No related branches found
No related tags found
No related merge requests found
...@@ -55,8 +55,8 @@ Creating a :py:class:`bob.learn.linear.Machine` to perform Linear Discriminant A ...@@ -55,8 +55,8 @@ Creating a :py:class:`bob.learn.linear.Machine` to perform Linear Discriminant A
>>> trainer = bob.learn.linear.FisherLDATrainer() >>> trainer = bob.learn.linear.FisherLDATrainer()
>>> data = bob.db.iris.data() >>> data = bob.db.iris.data()
>>> machine, unused_eigen_values = trainer.train(data.values()) >>> machine, unused_eigen_values = trainer.train(data.values())
>>> machine >>> machine.shape
<bob.learn.linear.Machine float64@(4, 2)> (4, 2)
That is it! The returned :py:class:`bob.learn.linear.Machine` is now setup to perform LDA on the Iris data set. That is it! The returned :py:class:`bob.learn.linear.Machine` is now setup to perform LDA on the Iris data set.
A few things should be noted: A few things should be noted:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment