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[...]
Posts Tagged ‘Tips and tricks’
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[...]
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,[...]
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’[...]
