October 20-24. Interfaces to NAG, R and Q Morten Kromberg Dyalog LTD Dyalog’13.

Slides:



Advertisements
Similar presentations
Describing Complex Products as Configurations using APL Arrays.
Advertisements

October Dyalog File Server Version 2.0 Morten Kromberg CTO, Dyalog LTD Dyalog’13.
Cost of surrogates In linear regression, the process of fitting involves solving a set of linear equations once. For moving least squares, we need to.
Teaching Courses in Scientific Computing 30 September 2010 Roger Bielefeld Director, Advanced Research Computing.
Introduction to BioConductor Friday 23th nov 2007 Ståle Nygård Statistical methods and bioinformatics for the analysis of microarray.
Numerical Method Inc. Ltd. URL: Presented by Ken Yiu.
A Mathematica ® based regression analysis program Analisys … A Curve Fitting Application.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Numerical Methods for Engineers MECH 300 Hong Kong University of Science and Technology.
MATLAB Extras Week 16 – 5/12/09 Kate Musgrave
Results Matter. Trust NAG. Numerical Algorithms Group Mathematics and technology for optimized performance Optimisation and the NAG Toolbox for MATLAB.
1 Open Source Audit Software IIA District Conference Durham, NC 2/27/2009 Track 1 – Internal Audit Mike Blakley, EZ-R Stats, LLC.
Version 4 for Windows NEX T. Welcome to SphinxSurvey Version 4,4, the integrated solution for all your survey needs... Question list Questionnaire Design.
What is R Muhammad Omer. What is R  R is the programing language software for statistical computing and data analysis  The R language is extensively.
Computer Software.
Introduction to R Statistical Software Anthony (Tony) R. Olsen USEPA ORD NHEERL Western Ecology Division Corvallis, OR (541)
What is R By: Wase Siddiqui. Introduction R is a programming language which is used for statistical computing and graphics. “R is a language and environment.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Lecture 7: Simulations.
© 2004 The MathWorks, Inc. 1 MATLAB for C/C++ Programmers Support your C/C++ development using MATLAB’s prebuilt graphics functions and trusted numerics.
Commented Demonstrations of Scilab, The free platform for Numerical Computation Michaël Baudin 3 November 2010.
ROOT: A Data Mining Tool from CERN Arun Tripathi and Ravi Kumar 2008 CAS Ratemaking Seminar on Ratemaking 17 March 2008 Cambridge, Massachusetts.
Introduction to p:IGI-3 Integrated Geochemical Interpretation Ltd. Hallsannery, Bideford, Devon EX39 5HE, UK.
Wavelet Transforms CENG 5931 GNU RADIO INSTRUCTOR: Dr GEORGE COLLINS.
Chapter 17 Boundary Value Problems. Standard Form of Two-Point Boundary Value Problem In total, there are n 1 +n 2 =N boundary conditions.
MathCore Engineering AB Experts in Modeling & Simulation WTC.
Introduction to STATA for Clinical Researchers Jay Bhattacharya August 2007.
An Introduction to Multivariate Multilevel GLMs Hello and welcome.
PDE2D, A General-Purpose PDE Solver Granville Sewell Mathematics Dept. University of Texas El Paso.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
AP Calculus 2005: 240,000 Currently growing at ~13,000/year.
1 EPSII 59:006 Spring Real Engineering Problem Solving Analyzing Results of Designs is Paramount Problems are Difficult, Code Writing Exhaustive.
NIH NCRR Overview The SCIRun and BioPSE Problem Solving Environments Chris Johnson, Rob MacLeod, and David Weinstein Scientific Computing and Imaging Institute.
LINUX F ree operating system Created by Linus Torvalds when he was a student at the University of Helsinki in 1991 First released the system to his friends,
Report Sharp-Shooter is released in the following editions: 1) 2) 3) 4) 5) 6)
Topic: Quadratics and Complex Numbers Grade: 10 Key Learning(s): Analyzes the graphs of and solves quadratic equations and inequalities by factoring, taking.
ECE 103 Engineering Programming Chapter 55 C Math Library Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
Not Invented Here: The Re-use of Commercial Components in HEP Computing Jeremy Walton The Numerical Algorithms Group Ltd, UK.
Introduction to GAMS, Netlib, Numerical Recipes CS 3414.
Dyalog’08. Conga, SSL and WebServices Morten Kromberg Dyalog’08 - Elsinore.
Curve Fitting Introduction Least-Squares Regression Linear Regression Polynomial Regression Multiple Linear Regression Today’s class Numerical Methods.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Prof. Gevelyn B. Itao.
Lecture 11 Introduction to R and Accessing USGS Data from Web Services Jeffery S. Horsburgh Hydroinformatics Fall 2013 This work was funded by National.
Northwest Arkansas.Net User Group Jay Smith Tyson Foods, Inc. Unit Testing nUnit, nUnitAsp, nUnitForms.
Environmental Data Analysis with MatLab 2 nd Edition Lecture 22: Linear Approximations and Non Linear Least Squares.
2006 PSSA Math Update. Agenda Review of previous PSSA 2005 PSSA 2006 and beyond.
S5.40. Module Structure 30% practical tests / 70% written exam 3h lectures / week (except reading week) 3 x 2h of computer labs (solving problems practicing.
Morten Kromberg CXO, Dyalog Ltd
A quick guide to other statistical software
mathemaTcl – a collection of mathematical extensions
Morten Kromberg Dyalog Ltd. BAA AGM, London, June 19th 2008
Introduction to Numerical Methods Mathematical Procedures
Chapter 7. Classification and Prediction
DELLSOFT Technologies Pvt. Ltd.
MatLab Programming By Kishan Kathiriya.
CHAPTER 3 NUMERICAL METHODS.
Introduction to R Programming with AzureML
R Programming.
Part Three. Data Analysis
Statistical Methods For Engineers
Parallel Execution in a Monolith Application
Nonlinear Fitting.
Recapitulation of Lecture 11
Regression and Correlation of Data
What's New in eCognition 9
Recapitulation of Lecture 12
Presentation transcript:

October 20-24

Interfaces to NAG, R and Q Morten Kromberg Dyalog LTD Dyalog’13

Agenda Briefly discuss interfaces from Dyalog APL to three external software packages: R – Free Statistical Package NAG – Numerical Algorithms Group Q – High Performance Database NAG, R, Q 3

4

R Free programming language for statistical computing –(Open Source version of ”S”) Extensive and growing libraries for statistics and graphics Widely used by statisticians and ”data miners” A rising star – lots of users – NAG, R, Q 5

Rconnect - Features Encapsulates the R environment as an object within an APL workspace R functions can be called ”as if the were in your workspace” R arrays and simple lists are mapped direct to APL arrays Other common R structures are mapped to objects: – lists with named items –tables, data.frame and ts DEMO... NAG, R, Q 6

Rconnect - benefits Leverage existing R skills Tap into state-of-the-art statistics and graphics Verify statistical routines written in APL NAG, R, Q 7

Rconnect Availability Official release with documentation in Q1/2014 for Unicode editions of Dyalog APL for Windows or Linux –Test versions available now Requires with R v2.1 or later with rscproxy –Note: Dyalog cannot distribute R –(and you probably cannot either!) Rconnect will be free a download from tools.dyalog.com NAG, R, Q 8

9

NAG (Numerical Algorithm Group) “The largest collection of reliable and supported numerical algorithms commercially available” –Library of over 1,700 functions NAG is not free; the advantage is you can embed the libraries in your application –NAG Libraries can be purchased through Dyalog or directly from NAG NAG, R, Q 10

NAG Numerical Facilities Optimization, both Local and Global Linear, quadratic, integer and nonlinear programming and least squares problems Ordinary and partial differential equations, and mesh generation Solution of dense, banded and sparse linear equations and eigenvalue problems Solution of linear and nonlinear least squares problems Curve and surface fitting and interpolation Numerical integration and integral equations Roots of nonlinear equations (including polynomials) Option Pricing Formulae Wavelet Transforms NAG, R, Q11

NAG Statistical Facilities Random number generation Simple calculations on statistical data Correlation and regression analysis Multivariate methods Analysis of variance and contingency table analysis Time series analysis Nonparametric statistics NAG, R, Q12

Dyalog - NAG Interface Will be available under Windows and Linux (32&64) In v14: ⎕ NA extended with support for callbacks –Allows NAG optimization methods to use APL functions to compute values to be optimised –May be ported to earlier versions depending on interest Dyalog aims to provide a function-builder that will build a ”first cut” cover-function for any NAG function Most functions will need, or benefit from manual ”tweaking” after auto-generation Dyalog will participate in building an collecting / publishing libraries of APL cover-functions NAG, R, Q 13

NAG, R, Q14

Qconnect Capabilities Execute Q statements from APL Convert Q data structures to APL arrays Implementation Uses CONGA to connect to the Q ”IPC” interface (TCP Sockets) NAG, R, Q15

Credits Ronald Chan: Rconnect implementation Sasha Skomorokhov (University of Obninsk): Documenting the R interface (& understanding R) Fiona Smith: Rconnect documentation Geoff Streeter: ⎕ NA callback extensions and NAG samples Chris Burke (kx and Jsoftware) and Simon Garland (kx): getting started with Q IPC. Gilgamesh Athoraya (Optima) help with Q data conversions. NAG, R, Q16

Demos R NAG Q NAG, R, Q17

Availability Rconnect: Q1/2014 Qconnect: Under development, available to anyone who is interested –Free 32-bit kdb+ trials at NAG: Proof of Concept under way –Contact Dyalog if you would like to participate NAG, R, Q18