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

Added some docs and refactored some

parent 2419df47
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ TODO
*.pyc
.idea/**
ipynb/.ipynb_checkpoints/**
docs/source/monomulti/.ipynb_checkpoints/**
Results/**
Data/**
multiview_platform/MonoMultiviewClassifiers/Results/*
......
%% 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment