Commit graph

244 commits

Author SHA1 Message Date
Ronny Bjarnason
44f63508c9 1. Create weka model wrappers for PaceRegression, RandomForests, M5P Trees
and boosted stumps (LogitBoost).
2. Added functionality in MultilayerPerceptron to specify hidden layers
3. corrected misspelling decission->decision
2010-12-13 17:01:25 -07:00
Ben Mabey
89578f113c comment 2010-12-08 16:14:28 -07:00
Ben Mabey
4d18af461e not keywording the instance nominal values by default due to performance
On large datasets if you use dataset-as-maps too much time is taken up
in interning the nominal values time and time again.  For the vast
majority of use cases string values should be fine.  If we were in
clojure-land 100% then keywords would be the better option.. but we
aren't.
2010-12-08 16:10:45 -07:00
Ben Mabey
5d59785f3b type hints 2010-12-08 16:05:46 -07:00
Ben Mabey
81cda11ed2 DRYs up some fns and replaces custom code with enumeration-seq 2010-12-08 16:05:41 -07:00
Ben Mabey
b47e794176 removes custom (and slow) nominal lookup code- just use weka's API 2010-12-08 14:29:25 -07:00
Ben Mabey
a34fe4913f adds linear and logistic regression wrapeprs 2010-12-07 17:24:22 -07:00
Ben Mabey
652c54aaf7 standardizes how attributes can be asked for (by index or name) 2010-12-07 14:14:20 -07:00
Ben Mabey
99048715f1 adds tests for dataset label helper fns 2010-12-07 13:48:52 -07:00
Ben Mabey
6a30d86841 adds dataset-nominal? 2010-12-07 09:32:27 -07:00
Ben Mabey
138ee7f016 adds dataset-class-values 2010-12-06 17:36:36 -07:00
Ben Mabey
0ceb8020fa changes values -> labels where appropriate to be consitent with weka terminology 2010-12-06 17:02:11 -07:00
Ben Mabey
49f99e3218 adds classifier-copy-and-train as a non-side-effect alternative 2010-12-06 16:47:50 -07:00
Ben Mabey
df8fcd467c type hint 2010-12-03 14:31:57 -07:00
Ben Mabey
b6deb0421e improves filters API by making filter fns that create and apply filters 2010-12-02 11:44:38 -07:00
Ben Mabey
3a393ebcf9 adds make-apply-filters 2010-12-01 16:22:19 -07:00
Ben Mabey
ca7281d214 allows attributes in filters to be specified by name in addition to index 2010-12-01 14:36:05 -07:00
Ben Mabey
69a682f111 exluding deps that went missing and caused things to break 2010-12-01 11:43:30 -07:00
Ben Mabey
78fc93c2a4 allow for dataset-set-class to take the name of attribute 2010-12-01 11:37:27 -07:00
Ben Mabey
93846bcaea type hint classifiers as much as possible... 2010-11-29 10:08:57 -07:00
Ben Mabey
31348dd1e0 reworks dataset-as-maps to be faster by avoiding redundant string interning 2010-11-24 12:12:41 -07:00
Ben Mabey
1f3900a628 replaces some loop/recurs with more conciser idiomatic clojure 2010-11-24 12:05:30 -07:00
Ben Mabey
88d65f0e24 removes custom key-to-str fn in favor for clojure.core/name 2010-11-23 16:09:13 -07:00
Ben Mabey
ccc12c2d5c adds dataset-replace-attribute! 2010-11-08 10:37:42 -07:00
Ben Mabey
285e45717a shorter, and more idomatic version of index-attr 2010-11-08 10:37:42 -07:00
Ben Mabey
2d274d2598 adds into-fast-vector util fn 2010-11-08 10:37:42 -07:00
Ben Mabey
19a827d8b3 sets the output-format for ClojureBatchFilter to use the process fn format 2010-11-08 10:37:42 -07:00
Ben Mabey
adff41dafe adds my clojars prefix 2010-11-08 10:37:42 -07:00
Ben Mabey
eabb2acca5 adds helper fns in data and fixes some docstring misplacements 2010-11-08 10:37:42 -07:00
Ben Mabey
55ff30fcfa fixes is-dataset? to report correctly 2010-11-04 11:50:42 -06:00
Ben Mabey
b7acdd5d8d adds documenation for the new clj-[streamable|batch] filters 2010-11-03 11:49:04 -06:00
Ben Mabey
c2f44f44e0 refactors branching in make-filter for the new Clojure filters 2010-11-03 11:20:06 -06:00
Ben Mabey
249424ad81 adds ClojureBatchFilter 2010-11-03 11:10:41 -06:00
Ben Mabey
1412e9a86f allows ClojureStreamFilter to use a fn for updating the dataset-format 2010-11-02 17:42:03 -06:00
Ben Mabey
b2132579ac turns reflection warnings on 2010-11-02 17:41:31 -06:00
Ben Mabey
36041956b5 another doto minor refactoring 2010-11-02 16:52:31 -06:00
Ben Mabey
78a99eaa35 adds basic ClojureStreamFilter which accepts a clojure fn for processing 2010-11-02 16:51:15 -06:00
Ben Mabey
f256984153 minor refactorings in data.clj 2010-11-01 17:39:27 -06:00
Ben Mabey
d87640e464 adds add-attribute filter 2010-11-01 17:13:35 -06:00
Ben Mabey
c2991b18b1 doc updates for filters 2010-11-01 14:46:24 -06:00
Ben Mabey
b09a59025f adds numeric to nominal filter 2010-11-01 14:05:11 -06:00
Ben Mabey
f403ca21d7 changes make-classifier-m from a macro into a fn 2010-11-01 11:20:59 -06:00
Ben Mabey
6ec5f1f2a0 similar options refactorings in classifiers that was done in filters 2010-11-01 11:14:07 -06:00
Ben Mabey
6dec810b12 replaces make-filter macro with fn and swaps multimethods with map 2010-10-29 19:13:35 -06:00
Ben Mabey
97a02bcc6b updates history and project file 2010-10-29 18:09:13 -06:00
Ben Mabey
c100184e72 switches out custom code with doto macro 2010-10-29 18:00:27 -06:00
Ben Mabey
dfe20783af more filters DRYing 2010-10-29 17:58:07 -06:00
Ben Mabey
10a57b8224 swap arg order for check-options 2010-10-29 17:10:47 -06:00
Ben Mabey
51fc383c15 general filters refactoring- mostly DRYing stuff up 2010-10-29 16:57:20 -06:00
Ben Mabey
497d65dffc adds RemoveUseless filter wrapper and does some test refactoring 2010-10-29 15:55:29 -06:00