3 ;;; Time-stamp: <2008-10-31 17:34:29 tony>
4 ;;; Creation: <2008-09-08 08:06:30 tony>
6 ;;; Author: AJ Rossini <blindglobe@gmail.com>
7 ;;; Copyright: (c) 2007-2008, AJ Rossini <blindglobe@gmail.com>. BSD.
8 ;;; Purpose: demonstrations of how one might use CLS.
10 ;;; What is this talk of 'release'? Klingons do not make software
11 ;;; 'releases'. Our software 'escapes', leaving a bloody trail of
12 ;;; designers and quality assurance people in its wake.
14 ;;; This file contains the current challenges to solve, including a
15 ;;; description of the setup and the work to solve....
20 ;;(asdf:oos 'asdf:load-op 'lift)
21 ;;(asdf:oos 'asdf:load-op 'lispstat)
23 (in-package :lisp-stat-unittests
)
24 (describe (run-tests :suite
'lisp-stat-ut
))
25 (run-tests :suite
'lisp-stat-ut
)
29 ;;; Example: currently not relevant, yet
33 :test-case
'lispstat-unittests
::strided-matrix-column-access
34 :suite
'lispstat-regression
))
37 (defvar m nil
"holding variable.")
38 (def m
(regression-model (list iron aluminum
) absorbtion
:print nil
))
40 (send m
:sweep-matrix
)
41 (format t
"~%~A~%" (send m
:sweep-matrix
))
45 ;; need to get multiple-linear regression working (simple linear regr
48 (send m
:basis
) ;; this should be positive?
49 (send m
:coef-estimates
)
52 (def m
(regression-model (bind-columns iron aluminum
) absorbtion
))
54 (send m
:help
:display
)
57 (send m
:plot-residuals
)