traitement_point_apprentissage.h File Reference

#include "image.h"
#include "proto2D.h"
#include "format_learning_set_from_imau1.h"

Include dependency graph for traitement_point_apprentissage.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lgr_d
struct  elem_contour

Typedefs

typedef double pct

Functions

param * traitement_donnees_lect (lgr_d *a, param *ptp, char *debq)
 Fonction to do.
int traitement_donnees_init (lgr_d a, learning_set *ls)
 Fonction todo.
int traitement_donnees_calc (learning_set ls, lgr_d a)
 Fonction todo.
float minim (float a, float b)
float dmin (learning_set ls, int pos_start, int pos_stop, int att)


Typedef Documentation

typedef double pct

Definition at line 54 of file traitement_point_apprentissage.h.


Function Documentation

float dmin ( learning_set  ls,
int  pos_start,
int  pos_stop,
int  att 
)

Definition at line 208 of file ltraitement_point_apprentissage.c.

References data_input::attributes, reference_set::input_ref, and minim().

float minim ( float  a,
float  b 
)

Definition at line 190 of file ltraitement_point_apprentissage.c.

int traitement_donnees_calc ( learning_set  ls1,
lgr_d  a 
)

Fonction todo.

obtains the results of the processing chain and puts it on the output file

Parameters:
ls1 todo
desc pointeur descripteur
Returns:
renvoie un entier qui indique todo
Author:
Lavinia DARLEA
Version:
27/07/2006

Definition at line 1061 of file ltraitement_point_apprentissage.c.

References alloc_classifier_data_input_completely(), alloc_classifier_data_output(), data_input::attributes, CRISP_CHOICE, lgr_d::fisout1, free_data_input(), free_data_output(), reference_set::input_ref, lgr_d::nb_attr, data_input::nb_attr, data_output::nb_class, lgr_d::nb_class, data_output::nb_pts, data_input::nb_pts, lgr_d::nb_pts, reference_set::output_ref, process_chain(), sum(), and data_output::type.

int traitement_donnees_init ( lgr_d  a,
learning_set ls 
)

Fonction todo.

function that initializes the learning_set variable based on the input file and on the information obtained from the user with "lect"

Parameters:
a pointeur descripteur
ls to do
Returns:
renvoie un entier qui indique todo
Author:
Lavinia DARLEA
Version:
27/07/06

Definition at line 149 of file ltraitement_point_apprentissage.c.

References alloc_classifier_data_input_completely(), alloc_classifier_data_output(), data_input::attributes, CRISP_CHOICE, lgr_d::fisin, reference_set::input_ref, lgr_d::nb_attr, data_input::nb_attr, data_output::nb_class, lgr_d::nb_class, data_output::nb_pts, data_input::nb_pts, lgr_d::nb_pts, reference_set::output_ref, and data_output::type.

param* traitement_donnees_lect ( lgr_d a,
param *  ptp,
char *  debq 
)

Fonction to do.

The function will ask the user the name of the input and output file and some information about the learning set that the input file contains

Parameters:
a pointeur descripteur
ptp pointeur sur parametre courant déjà alloué (a lire),
debq pointeur de chaine de caractères placée en debut de question
Returns:
renvoie nouveau pointeur de paramètres déjà alloué (pour la suite)
Author:
Lavinia DARLEA
Version:
27/07/06

Definition at line 98 of file ltraitement_point_apprentissage.c.

References lgr_d::fisin, lgr_d::fisout1, lgr_d::nb_attr, lgr_d::nb_class, and lgr_d::nb_pts.


Generated on Tue Apr 22 13:31:03 2008 for donnee1D by  doxygen 1.5.3