⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 ADaM is a data mining and image processing toolkit
💻
字号:
Last updated: 08 July 2005OVERVIEW:This software implements the fast, stable logistic regressionalgorithms of Paul Komarek and Andrew Moore, using truncatediteratively re-weighted least squares for parameter estimation.  Youcan read about the algorithms at http://komarix.org/ac/papers.This software and all documentation is licensed under the GNU GeneralPublic License, version 2.  See the LICENSE file for more details.The authors retain full copyright privileges.CURRENT STATE:The software still contains a lot of crud from the original researchsoftware.  We are now below 17 kloc, having started at 170 kloc.There is still a lot of room to reduce the size and complexity of thisformerly-research software.  For instance, we do not need the dynamiccapabilities of our vector types.  We endeavor to make this code ANSIC99 compliant.  In fact, most of our code follows the ANSI C89standard, and use of C99 will probably be restricted to the improvedand safer string library functions.BUILDING THE SOFTWARE:Our software may require GNU make in order to build properly.  If youhave strange problems with our makefiles, please be sure to trybuilding with GNU make.  Edit Makefile.conf if you feel the need, orif the software doesn't compile for you.  You can enable zlib supportfrom Makefile.conf, which allows loading of compressed dense numericaldata files and saving to compressed files.  See the documentation indoc/ for more information.There are two executables to build, train and predict.  Simply run"make" in this (top-most) directory to build them.  This will build agently optimized (-O2) version of the software.  We plan to add ak-fold cross-validation executable as soon as we finish the clean-upwork.  Of course, you can use the train and predict programs with awrapper-script to achieve the same thing, but this isn't veryconvenient.Run "make test" to run a small test of the software, and look for"Success: all" near the bottom of the output.Run "make doc" to build the documentation.  This will require latex(version 2e) at the very least, to create the dvi output. dvips isused to create the PostScript output, and ps2pdf handles conversion topdf format.  latex2html allows creation of html documentation, andhtml2text is used to create plaintext documentation.  Hopefully I haveremembered to prebuild the documentation for you.You can edit Makefile.conf if you want to change the compile flags,link flags.  To build a debuggable version of the software, use the"t=debug" flag.  For example, "make t=debug".  To build for profiling,use "t=profile". "t" stands for "type".  Note that you will have toremove old object (.o) files if you want the entire applicationto use a new compile type.  See "make cleanall" below.You can cd to most subdirectories and run "make" to build the libraryor executable for that directory.  For instance, "cd train && make".If you run "make clean", some localized cleaning of files will bedone.  If you run "make cleanall" in this (top-level) directory, thenbesides localized cleaning you will also clean all subdirectories.  Ifyou run "make cleanall" in the a program or library subdirectory, youwill clean that directory and the directories for all dependencies.USAGE:Short usage instructions for the train and predict programs will beprinted if they are run with no arguments.Full instructions for use can be found in the doc directory.  Notethat you may have to run "make doc" (or just "make" in the docdirectory) to generate the .ps, .pdf, .txt, and .html documentation.You will find two simple datasets in this (top-level) directory.  Theycontain the same data, but in two different formats.  a-or-d.csv isin a comma-separated-value format suitable for dense non-binary data.a-or-d.txt is in a sparse format suitable for sparse binary data.  Inboth cases, the outputs must be binary.  For csv files, outputs arethe last column.  For spardats, outputs are the first column.  Formore information about data formats and naming conventions, seethe full documentation.  If anything about our data conventions seemsstrange, it is probably for historical reasons.SMALL EXAMPLE:makecd train./train in ../a-or-d.csv save params.txtcd ..cd predict./predict in ../a-or-d.csv load ../train/params.txt pout predictionsNote: We realize that you generally do not want to predict values onexactly the same data from which you estimated the model parameters.This example above only describes how to run the programs, not how tomine data correctly.-Paul Komarek

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -