A model repository is provided for storing selected data models generated by a
data mining application. The model repository is a structure that may be organized
into a plurality of levels, including a project level, a diagram level, and a model
level. The project level may include one or more diagrams, each of which describes
a particular set of model specifications. Each diagram may then be associated with
one or more models. Associated with the model repository is a model repository
facility that is preferably integrated into the data mining application and enables
operations, such as the exportation of useful models to the model repository. The
model repository may also include one or more index data structures for storing
attributes of the models within the model repository. These indexes may include
a main index that contains attributes of all the models stored in the model repository,
and one or more special indexes, such as a tree-type index and mini-index, that
contain the attributes of a particular sub-set of the models stored in the model
repository. A user may then search through the one or more indexes in order to
find a model that suits his or her needs. Alternatively, a user application program
may programmatically query the model repository in order to find and extract information
from a particular model stored in the model repository.