RSS

Posts Tagged ‘Tips and tricks’

September 6th, 2010 - 08:58 § in Matlab, Study

Plotting in Matlab by groups or (labels)

How to plot in Matlab by labels? Suppose You have some data: 1st case – we have 1-d (dimension) data or vector, so the next step is to plot this vector: >plot(data,'b*'); Now You’ve made some classification using f.e. kmeans algorithm: >[IDX,C]=kmeans(data,5,'emptyaction','singleto[...]

May 23rd, 2010 - 12:20 § in SQL

Improve DISTINCT usage performance

Some useful tricks I found in order to improve SELECT DISTINCT construction while using JDBC driver (for SQLite and not only). This approach two times outperforms simple code: SELECT DISTINCT GroupID from Jobs One may use the following “alias” construction (from java point if view it loo[...]

December 5th, 2009 - 21:26 § in Matlab, Study

Markov Chain (Model) Builder…

I will publish some Matlab features. I would also very thankful for your comments and recommendations. First of all I’d like to introduce draft for Markov Chain Builder from sequence of values: For example we have the following sequence of values (number of jobs per seconds): {2,4,5,6,7,3,3,3,[...]

October 3rd, 2009 - 19:59 § in GRID News, Study

Tips and Tricks

Some useful information about configuration features. 1) While configuring Condor, I’ve spent some time making DB tuning (PostgreSQL). tip 1: .pgpass should contain end of line symbol at the end of the string cat /var/lib/condor/spool/.pgpass hostname:5432:quill:quillwriter:password don’[...]