Skip to content

Commit

Permalink
run w/o ant
Browse files Browse the repository at this point in the history
  • Loading branch information
deafgoat committed Aug 9, 2012
1 parent 4adcef6 commit 82f1228
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Expand Up @@ -15,14 +15,27 @@ The following are the various ant commands used in development/testing.
## Examples

### Apple Stock Price Predictor
This is a very simple example of training a model and then running against some test data. To run type:
This is a very simple example of training a model and then running against some test data.

To run with ant type:

`ant example -Dclass=stock.AppleStockPricePredictor`

To run with java type:

`./example stock.AppleStockPricePredictor`

### Tomorrow's Weather Predictor
This predicts tomorrow's weather. To run type:
This predicts tomorrow's weather.

To run with ant type:

`ant example -Dclass=weather.WeatherTomorrowPredictor`

To run with java type:

`./example weather.WeatherTomorrowPredictor`

## Configuration
This following documentation describes the various configuration options that are available in the application.

Expand Down
7 changes: 7 additions & 0 deletions example
@@ -0,0 +1,7 @@
echo `date`: Cleaning build directory
rm -rf build/
mkdir build/
echo `date`: Compiling sources
javac -Djava.ext.dirs=lib -d build/ $(find . -name *.java)
echo `date`: Running example
java -cp build/:lib/* com.deafgoat.ml.prognosticator.example.$1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 82f1228

Please sign in to comment.