-
Recent Posts
Recent Comments
Archives
- March 2020
- May 2019
- December 2018
- June 2018
- December 2017
- October 2017
- July 2017
- June 2017
- May 2017
- March 2017
- February 2017
- January 2017
- August 2016
- July 2016
- May 2016
- April 2016
- March 2016
- February 2016
- December 2015
- November 2015
- September 2015
- August 2015
- July 2015
- June 2015
- April 2015
- March 2015
- February 2015
- January 2015
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
Categories
-
Join 53 other subscribers
MyCalendar
Meta
Monthly Archives: August 2012
easy C++ coding under Linux (Ubuntu 10.04)
Here I am using Ubuntu 10.04 – gedit – g++ compiler and that’s it. check the code below, just enter it to your gedit and save the file with a name and .cpp extension (You can avoid using extension at … Continue reading
How to Calculate Eigenvalue / Eigenvector (3)
Eigenvector If you transform a Vector x, using a square matrix A, and the result vector be y and then the resulted vector is a scaled form of input vector now you can say x is an eigenvector for A. … Continue reading
Posted in Machine Learning, MATLAB, programming, Statistics
Tagged code, eigen, eigenvalue, eigenvector, example, Machine Learning, Matlab, programming, statistics
Leave a comment
How to calculate Variance (2)
Variance of a random variable or distribution is the expectation/mean of the squared deviation of the variable from its expected value/mean: Var(x) = E[(x-mean)^2] How to calculate mean See below the MATLAB Code: %% calculate Variance Var(x) = E[(x-mean)^2] = … Continue reading
Posted in Machine Learning, MATLAB, programming, Statistics
Tagged code, example, expected value, Machine Learning, Matlab, mean, programming, statistics, var, variance
Leave a comment
How to calculate Mean value/ Expected Value (1)
There are 3 main kind of MEAN: Arithmetic Mean / Geometric Mean / Harmonic Mean you can find related formulation here. And here is the MATLAB code to calculate 3 different types of Mean for a sample vector: %% How … Continue reading
Posted in MATLAB, programming, Reinforcement Learning, Statistics
Tagged code, example, expected value, Machine Learning, Matlab, mean, statistics
Leave a comment
Reboot & Shutdown commands in Linux (using terminal)
How to Reboot your Linux machine from Terminal? in terminal type this command : sudo reboot or : sudo shutdown -r now How to Shutdown your Linux machine from Terminal? in terminal type this command : sudo shutdown -h now … Continue reading
Using Function and Arguments C++ (in 9 steps)
in this example we are going to show, how to use function and arguments in C++ code, (Here I am using Ubuntu 10.04 / gedit / g++ compiler,) *If you do not have g++ compiler or it is not updated … Continue reading