Commit Graph

51 Commits

Author SHA1 Message Date
Ilya Grigorik
4811a510ef Merge branch 'dvisockas-master' 2015-11-23 16:37:29 -08:00
Danielius
823dd5e5fe Cast threshold to string in gsub 2015-11-23 14:01:21 +02:00
Danielius
b8b315a051 Initialize attributes fix 2015-11-22 19:14:01 +02:00
Danielius
287ff7a685 Initialize attributes and typo fix 2015-11-22 19:12:51 +02:00
Ilya Grigorik
15394f85a3 Merge branch 'dvisockas-master' 2015-11-22 07:46:25 -08:00
Danielius
2155771683 Style examples 2015-11-22 16:44:44 +02:00
Danielius
9293375bda array.rb styles 2015-11-22 15:57:27 +02:00
Danielius
9ee1fdd0ee Separate array and object extensions from id3_tree 2015-11-20 14:39:50 +02:00
Danielius
6adbebbe09 Style changes 2015-11-20 14:36:57 +02:00
Danielius
8a8cc1e988 Style changes 2015-11-20 14:22:03 +02:00
Wise Monk
310b73bacd Making code easier to read 2015-06-26 16:27:12 +03:00
Ilya Grigorik
eaa9a2f5d7 Merge pull request #24 from lukeasrodgers/fix-readme
Fix examples in README.md
2014-09-19 13:24:04 -07:00
Luke Rodgers
5412430e95 Fix examples in README.md
`test` variables were missing, second example referenced missing `data`
variable.
2014-09-19 15:58:17 -04:00
Ilya Grigorik
6fb6d84b6a bump version to 0.5.0 2014-09-19 11:59:18 -07:00
Ilya Grigorik
9521c73c03 Merge pull request #23 from lukeasrodgers/fix-newline-warning
Swapping CR for NL character in decisiontree.rb
2014-08-27 13:17:46 -07:00
Luke Rodgers
04157989ff Swapping CR for NL character decisiontree.rb
The presence of this character doesn't cause any errors, just an
annoying warning when using this gem with ruby 2.
2014-08-27 15:49:31 -04:00
Ilya Grigorik
9bee28abdc Merge pull request #17 from conzett/master
Allow passing through file extensions to graph
2014-02-03 12:23:04 -08:00
Graham Conzett
1f871cbad5 Allow passing through file extensions to graph
Still defaults to png.
2014-02-03 14:30:05 -05:00
Ilya Grigorik
66e57b9ace Merge pull request #16 from agarie/cleanup_specs
Removes continuous.png file after specs
2013-12-19 19:30:50 -08:00
Carlos Agarie
32b384420f Using a constant for the filename 2013-12-19 22:25:46 -02:00
Carlos Agarie
3e4619604a Test figure creation
Simply creates a tree, trains it and produces a PNG figure, testing to
confirm that no exception was raised and that the image is really there.
2013-12-19 02:07:29 -02:00
Carlos Agarie
a8d66d0f4a Removed graph calls in specs
They're unnecessary and will be substituted by a further spec.
2013-12-19 01:12:36 -02:00
Carlos Agarie
c4623d9ce6 Removes continuous.png file after specs
The "continuous.png" file is being created during some specs and ends up
in the repository. This shouldn't happen.
2013-12-17 22:54:28 -02:00
Ilya Grigorik
4da9dcf68e convert labels to string - closes #13 2013-09-14 11:01:27 -07:00
Ilya Grigorik
e70f29817b require graphr only when calling graph(), closes #11 2013-09-06 19:39:57 -07:00
Ilya Grigorik
a71572a4f2 add license to gemspec 2013-09-03 17:18:48 -07:00
Ilya Grigorik
52a5f59a7e Merge pull request #10 from havenwood/patch-1
Added missing closing paren to example.
2013-04-03 11:34:34 -07:00
Shannon Skipper
e7c01ac20b Added missing closing paren to example. 2013-04-03 11:23:31 -07:00
Ilya Grigorik
33ea3f20fa Merge pull request #9 from marshallshen/master
Enhance documentation
2013-03-22 20:52:20 -07:00
Marshall Shen
5fa6d1c181 enhance documentation 2013-03-22 13:06:41 -05:00
Ilya Grigorik
7bf93a3a5e Merge pull request #8 from rustyio/fix-infinite-recursion
Fix infinite recursion.
2013-01-15 18:18:11 -08:00
Rusty Klophaus
b451b32150 Only compare scores. 2013-01-15 15:03:28 -05:00
Rusty Klophaus
dafd3ea7f8 Fix infinite recursion. 2013-01-15 14:45:18 -05:00
Ilya Grigorik
a714dcecf7 Merge pull request #6 from superchris/master
Fix graphing continuous attribute
2012-10-28 11:20:34 -07:00
Chris Nelson
da25259a7a Broke graphing tree with continuous attributes 2012-10-28 12:41:26 -04:00
Ilya Grigorik
c70362de0c remove version file 2012-10-26 21:36:48 -07:00
Ilya Grigorik
b574b14029 update readme 2012-10-26 21:36:01 -07:00
Ilya Grigorik
bb9327b54b update project structure 2012-10-26 21:33:45 -07:00
Chris Nelson
d1dce9be91 added support for continuous and discrete attributes in the same dataset 2012-10-26 19:22:27 -04:00
Ilya Grigorik
3e3badc0eb Merge pull request #2 from louismullie/graphr-as-gem
Graphr as gem
2012-07-25 18:34:31 -07:00
Louis Mullie
9bc561def8 Bump version to 0.3.2 (add support for graphr as gem). 2012-07-25 18:08:02 -04:00
Louis Mullie
9b476f66d3 Require graphr gem by default instead of checking if graphviz_dot available. 2012-07-25 18:00:59 -04:00
Louis Mullie
44feebc797 Add graphr gem to gemspec. 2012-07-25 18:00:23 -04:00
Louis Mullie
30f2f0e4eb Bump version to 0.3.2 (add support for graphr as gem). 2012-07-25 18:00:05 -04:00
Ilya Grigorik
62947986d8 rakefile + update gemspec 2010-10-03 12:45:51 -04:00
Ilya Grigorik
185f1170e5 fix return values; add missing files (doh!) 2009-09-16 22:46:59 -04:00
Ilya Grigorik
bec4966792 fix gemspec, incrementing version to rebuild 2009-02-28 11:41:56 -05:00
Ilya Grigorik
c85ac72131 added example to readme 2009-02-22 23:55:58 -05:00
Ilya Grigorik
d41bc98b37 added gemspec 2009-02-22 23:51:09 -05:00
Ilya Grigorik
009764dd21 cleanup, updated tests 2009-02-22 23:47:24 -05:00