-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from flennerhag/dev
0.1.5
- Loading branch information
Showing
26 changed files
with
1,099 additions
and
761 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.. Development | ||
.. _dev: | ||
|
||
Hacking ML-Ensemble | ||
=================== | ||
|
||
|
||
.. py:currentmodule:: mlens.parallel.estimation | ||
ML-Ensemble implements a modular design that allows straightforward | ||
development of new ensemble classes. The backend is agnostic to the type of | ||
ensemble it is being asked to perform computation on, and only at the moment | ||
of computation will ensemble-specific code be needed. To implement a new | ||
ensemble type, three objects are needed: | ||
|
||
1. An cross-validation strategy. This amounts to implementing an | ||
indexer class. See :ref:`current indexers <indexer-api>` for examples. | ||
|
||
2. An estimation engine. This is the actual class that will run the | ||
estimation. The :class:`BaseEstimator` class implements most of the | ||
heavy lifting, and unless special-purpose fit and/or predict procedures | ||
are required, the only thing needed is a method for indexing the | ||
base learners to each new features generated by the cross-validation | ||
strategy. See :ref:`current estimation engines <estimation-api>` for examples. | ||
|
||
3. A front-end API. These typically only implements a constructor and an | ||
``add`` method. The ``add`` method specifies the indexer to use and | ||
parser keyword arguments. It is also adviced to differentiate between | ||
hidden layers and the meta layer, where cross-validation is not desired. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.