WHAT IS THIS

Data Mining
CS 510 (DM)
Winter,2004
home | news | site map
review | project | subject | group
weka | mining | gawk | bash
modeling | reference | pods
Display: big | small

Why all the scripting?
 copyleft() { cat<<-EOF
XXX
Copyright (C) 2004 Tim Menzies

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. EOF }

Motivation

XXX

[TOP]


Usage

 usage() {
        cat<<-EOF
        Usage: XXX  [FLAG]... FILE
        XXX
        Flags: 
          -h        print this help text
          -l        copyright notice
          -x        run an example
        EOF
        exit
 }

Examples

XXX

Installation

  1. If you have installed anything from this site before, save your config file to somewhere safe.

  2. Copy the following files to your directory (from either ~timm/public_html/dm or http://www.cs.pdx.edu/~timm/dm or from http://www.cs.pdx.edu/~timm/dm/XXX.zip):
    Standard files
    config, and XXX.

    Support code
    XXX

  3. Make XXX executable:
     chmod +x XXX

  4. Compare your safe version of config with the new version you just copied and fix up any paths.

  5. Edit this file and config. The first line of this file should point to your local bash shell. and you'll need to check at least the #paths section in config

  6. Check that all it works:
     XXX -x

    If the installation worked, then you should see XXX

[TOP]


Source code

Settings

Defaults:

 XX0=","

Paths:

 . config

Minor details:

 Q="\""

Demo code

 XXXDemo() { 
        main "demo $*"
        }

Main

 main() {
   echo "running $XX $*"
 }

XXX: The Worker

XXX then, this last

Command-line processing

 demo=""
 while getopts "hlx:X:" flag
 do case "$flag" in
        l)  copyleft; exit;;
        h)  usage; exit ;;
        x)  demo="XXXDemo $OPTARG";;
        X)  XX=$OPTARG;;
    esac
 done
 shift $(($OPTIND - 1))
 XX=${XX:=$XX0}  
 if [ -n "$demo" ]
 then $demo
      exit
 else  main $*
 fi

[TOP]


Quirks

Tricks

XXX

Annoyances

XXX

Bugs

XXX

[TOP]


Credits

Author

Tim Menzies , tim@menzies.us, http://menzies.us

Software

This page generated by Site: see http://www.cs.pdx.edu/~timm/dm/site.html

Acknowledgements

This site is built using PerlPod.

Style sheet switching method taken from Eddie Traversa's excellent and simple-to-apply tutorial: http://dhtmlnirvana.com/content/styleswitch/styleswitch1.html.

Search engine powered by ATOMZ http://www.atomz.com/search/. Note, the indexes to this site are only updated weekly (heh, its a free service- what more ja want?).

Icons on this site come from http://www.sql-news.de/rubriken/olap.asp and http://www.ifnet.it/webif/centrodi/eng/toolbar.htm.

The JAVA machine learners used at this site come from the extensive data mining libraries found in the University of Waikato's Environment for Knowledge Analysis (the WEKA) http://www.cs.waikato.ac.nz/ml/weka/

[TOP]


Legal

Copyright

Copyright (C) Tim Menzies 2004

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2; see http://www.gnu.org/copyleft/gpl.html. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Disclaimer

The content from or through this web page are provided 'as is' and the author makes no warranties or representations regarding the accuracy or completeness of the information. Your use of this web page and information is at your own risk. You assume full responsibility and risk of loss resulting from the use of this web page or information. If your use of materials from this page results in the need for servicing, repair or correction of equipment, you assume any costs thereof. Follow all external links at your own risk and liability.

[TOP]