cran / polymars Goto Github PK
View Code? Open in Web Editor NEWPolychotomous Regression based on MARS
Polychotomous Regression based on MARS
PolyMARS Version 1.0 ****************************************************************************** DOCUMENTATION More documentation about the polyMARS program is available on request. ****************************************************************************** FILES The unwrapped package contains the files Makefile is.polymars ReadMe polymars f2c.h plot.polymars library.help predict.polymars polymarsall.S print.polymars polymarsall.c summary.polymars polymars.tex fig1.eps fig2.eps ******************************************************************************** MAKEFILE The Makefile can make 2 files: polymars.so - needed for dyn.load.shared() polymars.o - needed for dyn.load() Depending on your compiler you may need to change some of the options in the Makefile. The compile command is either make polymars.so or make polymars.o ******************************************************************************** S-CODE The file polymars.S contains the code for the S functions that are related to the polymars program. They can be loaded by sourcing polymars.S from S. ******************************************************************************* HELPFILES The files polymars, predict.polymars, plot.polymars, is.polymars, summary.polymars and polymars.persp contain the helpfiles for the S functions. They should be placed in a directory .Data/.Help. This assumes that your system reads the helpfiles using some form of nroff. ******************************************************************************** LOADING THE OBJECT FILES You may need to edit the function polymars in polymarsall.S appropriately for loading. This function contains the line dyn.load.shared("/usr/local/splus33/library/polymars/polymars.so") It may need to be changed to dyn.load.shared("/where/your/files/are/polymars.so") or dyn.load("/where/your/files/are/polymars.o") ******************************************************************************** LIBRARY One possible way to install the programs is to put them in a library. How to do this: - find out where the S(Splus) code is located - if you don't know this, the easiest way is to type getenv("SHOME") inside S(Splus). Let's say that this is /usr/lang/splus - cd to this directory, and go further down to the library directory under this directory (cd /usr/lang/splus/library). - make a directory polymars under this directory (mkdir polymars) - move ALL the polymars related files into this directory - in /usr/lang/splus/library/polymars execute % mv library.help README % make polymars.so or make polymars.o % vi/emacs polymars.S as indicated above % mkdir .Data % ls .Data (this is in fact /usr/lang/splus/library/polymars/.Data) (Should contain polymarsall.S, polymarsall.c .....and no files that are not polymars related) % mkdir .Data/.Help % mv polymars predict.polymars plot.polymars is.polymars .Data/.Help % mv summary.polymars polymars.persp .Data/.Help (These are the helpfiles in /usr/lang/splus/library/polymars not the executables in /usr/lang/splus/library/polymars/.Data) This assumes that you have nroff. % S (or Splus) > source("polymarsall.S") > help.findsum.d(".Data") ( this sets up helpfiles for window-based help) > q() A user wanting to use the polymars program would now, once per session, execute the command library(polymars) which she/he could put in her/his .First function. ******************************************************************************** The C code contains a matrix inversion routine from lapack, all else is the work of the developers. Please note the copyright statement below. ******************************************************************************* * (c) Charles Kooperberg and Martin O'Connor 1997 * * This function is part of an implementation of the Multivariate Adaptive * * Regression Splines (MARS) methodology, first proposed by J.H. Friedman(1991)* * The Annals of Statistics, 19, 1 - 141. * * The program is a modified version of MARS (PolyMARS) as described in * * Kooperberg, C., Bose, S. and Stone C.J.(1997) ``Polychotomous Regression'', * * Journal of the American Statistical Association * * 92, 117 - 127. * * You are free to use this program, for non-commercial purposes only, * * under the condition that * * this note is not to be removed. * * * * The program is not formally maintained, but we are interested in hearing * * from people who have problems with it, although we may not be able to solve * * them. * * Email [email protected] or [email protected] * * Charles Kooperberg and Martin O'Connor, May 20, 1997 * ******************************************************************************/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.