Historical Map  1.0
Plugin for automatic extraction of old forest from historical map
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | List of all members
HistoricalMap.gmm_ridge.CV Class Reference
Collaboration diagram for HistoricalMap.gmm_ridge.CV:
Collaboration graph

Public Member Functions

def __init__
 
def split_data
 
def split_data_class
 

Public Attributes

 it
 
 iT
 

Detailed Description

This class implements the generation of several folds to be used in the cross validation

Definition at line 17 of file gmm_ridge.py.

Constructor & Destructor Documentation

def HistoricalMap.gmm_ridge.CV.__init__ (   self)

Definition at line 21 of file gmm_ridge.py.

Member Function Documentation

def HistoricalMap.gmm_ridge.CV.split_data (   self,
  n,
  v = 5 
)
The function split the data into v folds. Whatever the number of sample per class
Input:
    n : the number of samples
    v : the number of folds
Output: None        

Definition at line 25 of file gmm_ridge.py.

def HistoricalMap.gmm_ridge.CV.split_data_class (   self,
  y,
  v = 5 
)
The function split the data into v folds. The samples of each class are split approximatly in v folds
Input:
    n : the number of samples
    v : the number of folds
Output: None

Definition at line 50 of file gmm_ridge.py.

Member Data Documentation

HistoricalMap.gmm_ridge.CV.it

Definition at line 22 of file gmm_ridge.py.

HistoricalMap.gmm_ridge.CV.iT

Definition at line 23 of file gmm_ridge.py.


The documentation for this class was generated from the following file: