Skip to content

Commit 74fc0be

Browse files
committed
All classifiers examples consolidated in the same dir
1 parent 18f0310 commit 74fc0be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.rakeTasks

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<Settings><!--This file was automatically generated by Ruby plugin.
33
You are allowed to:
44
1. Remove rake task
55
2. Add existing rake tasks
66
To add existing rake tasks automatically delete this file and reload the project.
7-
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Remove package products" fullCmd="clobber_package" taksId="clobber_package" /><RakeTask description="Remove rdoc products" fullCmd="clobber_rdoc" taksId="clobber_rdoc" /><RakeTask description="Build the gem file ai4r-1.7.gem" fullCmd="gem" taksId="gem" /><RakeTask description="Build all the packages" fullCmd="package" taksId="package" /><RakeTask description="Build the rdoc HTML Files" fullCmd="rdoc" taksId="rdoc" /><RakeTask description="Force a rebuild of the package files" fullCmd="repackage" taksId="repackage" /><RakeTask description="Force a rebuild of the RDOC files" fullCmd="rerdoc" taksId="rerdoc" /><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="" fullCmd="clobber" taksId="clobber" /><RakeTask description="" fullCmd="pkg" taksId="pkg" /><RakeTask description="" fullCmd="pkg/ai4r-1.7" taksId="pkg/ai4r-1.7" /><RakeTask description="" fullCmd="pkg/ai4r-1.7.gem" taksId="pkg/ai4r-1.7.gem" /><RakeTask description="" fullCmd="pkg/ai4r-1.7.zip" taksId="pkg/ai4r-1.7.zip" /><RakeTask description="" fullCmd="rdoc/index.html" taksId="rdoc/index.html" /></RakeGroup></Settings>
7+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Remove package products" fullCmd="clobber_package" taksId="clobber_package" /><RakeTask description="Remove rdoc products" fullCmd="clobber_rdoc" taksId="clobber_rdoc" /><RakeTask description="Build the gem file ai4r-1.7.gem" fullCmd="gem" taksId="gem" /><RakeTask description="Build all the packages" fullCmd="package" taksId="package" /><RakeTask description="Build the rdoc HTML Files" fullCmd="rdoc" taksId="rdoc" /><RakeTask description="Force a rebuild of the package files" fullCmd="repackage" taksId="repackage" /><RakeTask description="Force a rebuild of the RDOC files" fullCmd="rerdoc" taksId="rerdoc" /><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="" fullCmd="clobber" taksId="clobber" /><RakeTask description="" fullCmd="pkg" taksId="pkg" /><RakeTask description="" fullCmd="pkg/ai4r-1.7" taksId="pkg/ai4r-1.7" /><RakeTask description="" fullCmd="pkg/ai4r-1.7.gem" taksId="pkg/ai4r-1.7.gem" /><RakeTask description="" fullCmd="pkg/ai4r-1.7.zip" taksId="pkg/ai4r-1.7.zip" /><RakeTask description="" fullCmd="rdoc/index.html" taksId="rdoc/index.html" /></RakeGroup></Settings>

examples/classifiers/id3_example.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
require File.dirname(__FILE__) + '/../../lib/ai4r/classifiers/id3'
1111

1212
# Load data from data_set.csv
13-
data_filename = "#{File.dirname(__FILE__)}/data_set.csv"
13+
data_filename = "#{File.dirname(__FILE__)}/id3_data.csv"
1414
data_set = Ai4r::Data::DataSet.new.load_csv_with_labels data_filename
1515

1616
# Build ID3 tree

0 commit comments

Comments
 (0)