package oc45

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Oc45Source

This module is used to generate decision trees from data sets, using C4.5.

To use this module, you first have to instantiate it for a given data type, which will be used for continuous data, with Oc45.Make(...). You can also use one of the two predefined modules IntOc45 and FloatOc45, using respectively native integers and float as a continuous data type.

Sourcemodule type Comparable = sig ... end
Sourcemodule type S = sig ... end

Output signature of the functor Oc45.Make.

Sourcemodule Make (X : Comparable) : S with type contData = X.t

Constructs a module Oc45.S with the given comparable type as a continuous data value.

Sourcemodule IntOc45 : S with type contData = int

Similar to Oc45.Make(struct type t = int let ... end)

Sourcemodule FloatOc45 : S with type contData = float

Similar to Oc45.Make(struct type t = float let ... end)

OCaml

Innovation. Community. Security.