Skip to content

Commit

Permalink
clean up historical crud, start migration to QL as a loader-loader.
Browse files Browse the repository at this point in the history
  • Loading branch information
blindglobe committed Oct 4, 2012
1 parent cc56b14 commit 1bf9aeb
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 22 deletions.
18 changes: 8 additions & 10 deletions README.org
@@ -1,24 +1,20 @@

This file will work better with org-mode and David Ito´s
org-babel-lisp. Along those lines, please note his hypo approach to
literate programming for gaming, as an org-babel extension. [fn:1] .
That approach describes a literate approach for describing games, but
clearly is no different than the literate approaches described for
data analysis, which is just another game.
Time-stamp: <2012-07-01 10:56:30 tony>

* Fast Start

You probably did (preferred)

#+name: GitClone
#+begin_src shell
git clone git://github.com/blindglobe/common-lisp-stat.git
#+end_src

or
or (coming soon!) from within a Lisp instance,

#+begin_src shell
git clone git://repo.or.cz/CLS.git
git clone http://repo.or.cz/w/CLS.git
#+name: QuickLispLoad
#+begin_src lisp
(ql:quickload :cls)
#+end_src

** TODO set up git submodules to do the right thing.
Expand All @@ -31,6 +27,8 @@ data analysis, which is just another game.

to get the whole package.

** Build shared library

*_Obsolete_*: Make the shared library liblispstat with an ANSI C
compiler (only gcc tested at this point). This is used for
numerical support which might be more robust to obtain from GSLL or
Expand Down
63 changes: 55 additions & 8 deletions TODO.org
@@ -1,5 +1,5 @@

Time-stamp: <2011-01-24 20:10:44 tony>
Time-stamp: <2012-07-01 11:14:12 tony>
Creation: <2008-09-08 08:06:30 tony>

* Intro and Metadata
Expand Down Expand Up @@ -37,6 +37,8 @@ designers and quality assurance people in its wake.
| iterate | |
| metabang-bind | |

as of now, all are in QL heirarchy

*** Dependency structure

| lisp-matrix | general purpose matrix package, linking to lapack | |
Expand All @@ -61,11 +63,23 @@ designers and quality assurance people in its wake.
?? cl-plplot : cffi

* Tasks to Do [4/25]

Usually, we need to load it before going on.

#+srcname: loadit
#+begin_src lisp
(asdf:oos 'asdf:load-op :cls)
(ql:quickload :cls)
#+end_src

though sometimes we might want to recompile fully. (Can this be
done via QL? Need to check)

#+name: compile-it-all
#+begin_src lisp
(asdf:oos 'asdf:compile-op :cls :force T)
#+end_src


** DONE [#B] SET UP
- State "DONE" from "CURR" [2010-10-12 Tue 13:48] \\
setup is mostly complete
Expand All @@ -80,7 +94,6 @@ designers and quality assurance people in its wake.
(defun init-CLS (&key (compile 'nil))
(let ((packagesToLoad (list ;; core system
:lift :lisp-matrix :cls

;; visualization
;; :cl-cairo2-x11 :iterate
:cl-2d
Expand Down Expand Up @@ -129,14 +142,32 @@ designers and quality assurance people in its wake.
Unit tests have been started using LIFT. Need to consider some of
the other systems that provide testing, when people add them to the
mix of libraries that we need, along with examples of how to use.
#+srcname:

#+srcname: ex-cls-unittest
#+begin_src lisp
(in-package :lisp-stat-unittests)
(run-tests :suite 'lisp-stat-ut)
#+end_src

#+results:
: #<Results for LISP-STAT-UT 78 Tests, 7 Failures, 20 Errors>

;; => tests = 78, failures = 7, errors = 20



The following needs to be solved in order to have a decent
installation qualification (IQ) and performance qualification (PQ)

#+srcname: cls-unittest
#+begin_src lisp
(in-package :lisp-stat-unittests)
(asdf:oos 'asdf:test-op 'cls)
;; which runs (describe (run-tests :suite 'lisp-stat-ut))
#+end_src



and check documentation to see if it is useful.
#+srcname:
#+begin_src lisp
Expand Down Expand Up @@ -196,19 +227,25 @@ designers and quality assurance people in its wake.
(with-data dataset ((dsvarname1 [usevarname1])
(dsvarname2 [usevarname2]))
@body)


;; SAS-centric approach to spec'ing work
(looping-over-observations
dataset ((dsvarname1 [usevarname1])
(dsvarname2 [usevarname2]))
@body)

;; SAS plus "statistical sensibility"... for example, if an
;; independent observation actually consists of many observations so
;; that a dataframe of independence results -- for example,
;; longitudinal data or spatial data or local-truncated network data
;; are clean examples of such happening -- then we get the data
;; frame or row representing the independent result.
(looping-over-independent-observations
dataset independence-defining-variable
((dsvarname1 [usevarname1])
(dsvarname2 [usevarname2]))
@body)
)

#+end_src

*** DONE [#B] Dataframe variable typing
Expand Down Expand Up @@ -238,7 +275,7 @@ designers and quality assurance people in its wake.

;; with SBCL, ints become floats? Need to adjust output
;; representation appropriately..
*df-test*
,*df-test*

(defun check-var (df colnum)
(let ((nobs (xdim (dataset df) 0)))
Expand Down Expand Up @@ -315,6 +352,10 @@ designers and quality assurance people in its wake.
(asdf:oos 'asdf:load-op 'cl-variates-test)
#+end_src

#+results:
: #<ASDF:LOAD-OP NIL {C2C30E1}>
: NIL


#+srcname: CL-VARIATES-UNITTESTS
#+begin_src lisp
Expand Down Expand Up @@ -572,5 +613,11 @@ where
*** TODO [#B] CLPDF, and literate data analysis
- State "TODO" from "" [2010-11-05 Fri 15:34]

***
* Proposals
Place proposals for features, work, etc here...
** <2011-12-29 Thu> new stuff
First new proposal is to track proposals.
* Rejoinder
This project is dedicated to all the lisp hackers out there who
provided the basic infrastructure to get so far so fast with minimal
effort on my part.
6 changes: 3 additions & 3 deletions src/template.lisp
@@ -1,10 +1,10 @@
;;; -*- mode: lisp -*-

;;; Time-stamp: <2009-09-24 10:34:53 tony>
;;; Creation: <2009-03-12 17:14:56 tony>
;;; Time-stamp: <2012-07-01 11:15:41 tony>
;;; Creation: <2009 tony>
;;; File: template.lisp
;;; Author: AJ Rossini <blindglobe@gmail.com>
;;; Copyright: (c)2009--, AJ Rossini. Currently licensed under MIT
;;; Copyright: (c)2012--, AJ Rossini. Currently licensed under MIT
;;; license. See file LICENSE.mit in top-level directory
;;; for information.
;;; Purpose: Template header file
Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
@@ -1 +1 @@
"1.0.alpha.1"
"2"

0 comments on commit 1bf9aeb

Please sign in to comment.