Skip to content
Snippets Groups Projects
Commit 2419df47 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Added some docs and refactored some

parent a4e4d897
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,12 @@
Welcome to MultiviewPlatform's documentation!
=============================================
This package is used as an easy-to-use platform to estimate different mono- and multi-view classifiers' performance on a multiview dataset.
The main advantage of the platform is that it allows to add and remove a classifier without modifying its core code (the procedure is described thoroughly in this documentation).
.. toctree::
:maxdepth: 1
:maxdepth: 3
:caption: Contents:
api
......
%% Cell type:markdown id: tags:
# Monoview classifier framework
%% Cell type:markdown id: tags:
## File addition
%% Cell type:markdown id: tags:
* In the `MonoviewClassifiers` package, you need to add a python module called after your monoview classifier (let's call it MOC for **MO**noview **C**lassifier)
%% Cell type:markdown id: tags:
## The `MOC.py` file
%% Cell type:markdown id: tags:
In this file, you need to add several functions forthe platform to be able to use your classifier, they are alllisted below :
%% Cell type:markdown id: tags:
### `canProbas`
%% Cell type:markdown id: tags:
This function is just used to knowif the classifier can predict a probability for each label instead of just predicting the a label.
%% Cell type:code id: tags:
``` python
def canProbas():
return True
```
%% Cell type:markdown id: tags:
### `fit`
%% Cell type:markdown id: tags:
This function returns a fitted sklearn classifier object
......@@ -6,6 +6,7 @@ Mono and mutliview classification
:caption: Contents:
monomulti/metrics
monomulti/monoview_classifier
monomulti/multiview_classifier
monomulti/exec_classif
monomulti/result_analysis
monomulti/multiview_classifier
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment