Floating License Server

Floating License For personal use, a user needs a valid license file (namely, numericalmethod.lic) to use SuanShu on his/her fixed machine. In case, the machines on which SuanShu is used are not fixed, floating licenses provide an alternative solution. This solution is suitable for a group of users working in the same organization, in which they share a predetermined number of licenses. Floating license is supported since version 3.7.0. License Server A predetermined number of floating licenses are managed by a dedicated license server. Users from any machine can connect to the server in order to obtain the licenses for using SuanShu. To start the license server, under Windows, double-click the file start-floating-license-server.bat (or, run the script start-floating-license-server.sh under Linux). The script file is packaged with SuanShu distribution (see the file structure below). suanshu-x.y.z | floating.server.conf | floating.user.conf | start-floating-license-server.bat | start-floating-license-server.sh | suanshu-x.y.z.jar | \---lib 12345678 suanshu-x.y.z|   floating.server.conf|   floating.user.conf|   start-floating-license-server.bat|   start-floating-license-server.sh|   suanshu-x.y.z.jar|\---lib Configuration The port number used by the license server is 8080 by default. To change the port number, one can change the value by editing the configuration file floating.server.conf. PORT = 8080 1 PORT = 8080 License The license server itself needs a license file floating.server.lic (under the same folder as the SuanShu jar file) to run. Please contact our sales team to obtain the license file. Run at Startup License server can be configured to start at machine startup by the following steps: Windows 7 or earlier versions Create a shortcut of the batch script by right-clicking the file and selecting “Create shortcut”. Click “Start” menu and locate “Startup”. Right-click “Startup” and select “Explore”. Copy...

Coding Tools

To set up the coding environment for a new AlgoQuant project, please follow the following steps. JDK SuanShu and AlgoQuant are Java based code. Before we can code using the libraries, we need to install the latest Java Development Kit (JDK). If you skip this step, you can download it together with NetBeans in the next step. NetBeans NetBeans is our preferred IDE for Java programming. You may download and install JDK and then NetBeans. Or you can download “NetBeans with JDK” directly.   NetBeans can be downloaded from this link. If you have no Java programming experience, choose the one labeled “Java SE”. Run the installer. TortoiseSVN Download TortoiseSVN. Run the installer. More information on svn can be found in this wiki. After installing TortoiseSVN, right click in Explorer in the empty space in the folder you want to put your project in. Click “SVN checkout” to check out project. The following example checks out AlgoQuant. You will use the URL given to you instead. In most cases, you do NOT need to check out AlgoQuant as it will be automatically downloaded by Maven when you build your project. Coding in NetBeans Launch NetBeans. Open your project. You can right click on a package/folder to create a new Java class to start coding. If you are asked to modify AlgoQuant code, copy and paste the code in your project and do the editing there. Do NOT modify source code in AlgoQuant directly. To build your project, right click on the project and hit “Clean and Build”. Alternatively, you can hit this button on the top bar. To run your project, you need to...

Graphical LASSO Algorithm

GLASSOFAST is the Graphical LASSO algorithm to solve the covariance selection problem. References “Sustik, M.A. and Calderhead, B., “GLASSOFAST: An efficient GLASSO implementation,” UTCS Technical Report TR-12-29, November 6, 2012.” “O. Banerjee, L. E. Ghaoui and A. d’Aspremont, “Model Selection Through Sparse Maximum Likelihood Estimation for multivariate Gaussian or Binary Data,” Journal of Machine Learning Research, 9, pp. 485-516, March 2008.”...

Covariance Selection

The covariance selection problem is formulated as this: in the variable of in , where is the sample covariance matrix, the cardinality of , i.e., the number of non-zero coefficients in . is a parameter controlling the tradeoff between the likelihood and structure. References “O. Banerjee, L. E. Ghaoui and A. d’Aspremont, “Model Selection Through Sparse Maximum Likelihood Estimation for multivariate Gaussian or Binary Data,” Journal of Machine Learning Research, 9, pp. 485-516, March 2008.” “A. d’Aspremont, “Identifying Small Mean Reverting Portfolios”, 2008.”...