package oc45

  1. Overview
  2. Docs
Pure OCaml implementation of the C4.5 algorithm.

Install

Dune Dependency

Authors

Maintainers

Sources

v1.0.0.tar.gz
sha256=0be4360749d03cba90f2921f092437c75742a4903a7d28e19481b1f9f67c8e8e
md5=3ad2e5cd1c54c2a581cdba3920ac9ca5

doc/oc45/Oc45/index.html

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.