Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

All classifiers examples consolidated in the same dir

  • Loading branch information...
commit 74fc0be0ee4d0c48d84bd0b45092ba3c66410a31 1 parent 18f0310
@SergioFierens authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 .rakeTasks
  2. +1 −1  examples/classifiers/id3_example.rb
View
4 .rakeTasks
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<Settings><!--This file was automatically generated by Ruby plugin.
You are allowed to:
1. Remove rake task
2. Add existing rake tasks
To add existing rake tasks automatically delete this file and reload the project.
---><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>
+--><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>
View
2  examples/classifiers/id3_example.rb
@@ -10,7 +10,7 @@
require File.dirname(__FILE__) + '/../../lib/ai4r/classifiers/id3'
# Load data from data_set.csv
-data_filename = "#{File.dirname(__FILE__)}/data_set.csv"
+data_filename = "#{File.dirname(__FILE__)}/id3_data.csv"
data_set = Ai4r::Data::DataSet.new.load_csv_with_labels data_filename
# Build ID3 tree
Please sign in to comment.
Something went wrong with that request. Please try again.