Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : NaN-toolbox details
Login with GitLab

NaN-toolbox

A statistics and machine learning toolbox
(3466 downloads for this version - 64806 downloads for all versions)
Details
Version
1.2.2
A more recent valid version with binaries for Scilab 5.3 exists: 1.3.2.1
Author
Holger Nahrstaedt
Owner Organization
TU Berlin / FG Regelungssysteme
Maintainer
Holger Nahrstaedt
License
Creation Date
November 18, 2011
Source created on
Scilab 5.3.x
Binaries available on
Scilab 5.3.x:
Linux 32-bit Windows 32-bit Windows 64-bit macOS Linux 64-bit
Install command
--> atomsInstall("nan")
Description
            This toolbox is meanly ported from the nan-toolbox for matlab/octave.

Comparison of thrownan and nan_toolbox
======================================
Performance:

size 5000 x 10: sumskipnan: 0.001 sec, sum(thrownan()) 0.002 sec
size 5000 x 50: sumskipnan: 0.005 sec, sum(thrownan()) 0.014 sec
size 5000 x 100: sumskipnan: 0.010 sec, sum(thrownan()) 0.025 sec
size 5000 x 150: sumskipnan: 0.015 sec, sum(thrownan()) 0.039 sec
size 5000 x 200: sumskipnan: 0.018 sec, sum(thrownan()) 0.051 sec

sumskipnan is 2.8 times faster then sum(thrownan()).

The second disadvantage of thrownan is, that a matrix is transformed into a
vector:

-->size(d)
 ans  =
 
    5000.    200.  
 
-->size(thrownan(d))
 ans  =
 
    1000000.    1. 



Changelog:
=========

1.2.2
 - prepare toolbox for scilab 5.4
 - some bug fixes
1.2.1
 - remove xtpopen, now it should build under linux
1.2
 - rename every function to nan_*
1.1
 - some functions are added
 - help files and demos are improved
1.0
 - first release of NaN - toolbox

Functions:
===========

Data Correlation and Covariance
  "nan_covm"
  "nan_ecovm"
  "nan_decovm"
  "nan_xcorr"
  "nan_xcorr2"
  "nan_conv"
  "nan_conv2"
  "nan_xcov"
  "nan_xcovf"
  "nan_conv2nan"
  "nan_cor"        
  "nan_cov"         
  "nan_corrcoef"
  "nan_corrcov"
  "nan_rankcorr"
  "nan_partcorrcoef"
  "nan_tiedrank"

Descriptive Statistics

"nan_mean"
  "nan_mean"
  "nan_var"                 
  "nan_std"  
  "nan_median" 
  "nan_iqr"     
  "nan_trimmean"  
  "nan_center"    
  "nan_geomean"   
  "nan_detrend"    
  "nan_moment"  
  "nan_range"    
  "nan_medAbsDev"
  "nan_sem"
  "nan_meansq"
  "nan_sumsq"
  "nan_mad"
  "nan_rms"
  "nan_statistic"
  "nan_skewness"
  "nan_kurtosis"
  "nan_zscore"
  "nan_zScoreMedian"
  "nan_meanAbsDev" 
  "nan_harmmean"
  "nan_spearman"
  "nan_ranks"
  "nan_quantile"    
  "nan_prctile"
  "nan_percentile"
  "nan_trimean"
  "nan_meandev"
  "nan_ecdf"
  "nan_coef_of_variation"
  "nan_hist2res"
  "nan_histo"
  "nan_histo2"
  "nan_histo3"
  "nan_histo4"
  "nan_histc"
  "nan_grpstats"
  "nan_y2res"

statistical Visualization

  "nan_bland_altmann"
 "nan_cdfplot"
  "nan_gscatter"
  "nan_boxplot"
  "nan_normplot"
  "nan_andrewsplot"
  "nan_hist"
  "nan_ecdfhist"
  "nan_fscatter3"
  "nan_plotmatrix"
  "nan_gplotmatrix"
  "nan_parallelcoords"
  "nan_errorb"
  "nan_errorbar"
  "nan_nhist"

hypothesis Tests
  "nan_ttest"
  "nan_ttest2"

Classification
"nan_train_sc"
"nan_test_sc"
"nan_classify"
"nan_xval"
"nan_kappa"
"nan_train_lda_sparse"
"nan_fss"
"nan_cat2bin"
"nan_row_col_deletion"
"nan_mahal"
"nan_rocplot"
"nan_svmrocplot"
"nan_confusionmat"
"nan_partest"
"train"
"predict"
"svmtrain"
"svmpredict"

cluster Analysis
"nan_kmeans"

utility functions
 "sumskipnan"
  "nan_postpad"
  "nan_prepad"
  "nan_fft"
  "nan_ifft"
  "flag_nans_occured"
  "flag_impl_skip_nan"
  "flag_accuracy_level"
  "flag_impl_significance"
  "nan_grp2idx"
  "nan_ismember"
   "nan_unique"
   "nan_mgrp2idx"
   "nan_accumarray"
   "nan_flix"
  "str2array"            
Files (6)
[2.15 MB]
Source code archive

[2.69 MB]
Linux 32-bit binary for Scilab 5.3.x
Linux 32-bit
Automatically generated by the ATOMS compilation chain

[2.93 MB]
Windows 32-bit binary for Scilab 5.3.x
Windows 32-bit
Automatically generated by the ATOMS compilation chain

[2.94 MB]
Windows 64-bit binary for Scilab 5.3.x
Windows 64-bit
Automatically generated by the ATOMS compilation chain

[2.61 MB]
macOS binary for Scilab 5.3.x
MacOSX version
Automatically generated by the ATOMS compilation chain

[2.70 MB]
Linux 64-bit binary for Scilab 5.3.x
Linux 64-bit
Automatically generated by the ATOMS compilation chain

News (0)
Comments (1)     Leave a comment 
Comment from Petter Wingren -- November 20, 2011, 01:42:24 PM    
I havent been able to install the nan-toolbox on my laptop (64bit linux):

System:

Clevo Stylenote M720T
Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz
Ubuntu 11.10

Installed from Atoms:

>NaN  Toolbox - (1.2.1)
>	Set ieee(2) to allow 0/0
>	Load macros
>	Load gateways
>atomsLoad: An error occurred while loading 'nan-1.2.1-1':
>	Undefined variable: win64

Doesnt work.

Installing nan-toolbox from source on top:

>-->exec('/home/petter/Downloads/Tools/scilab/NaN/builder.sce')
 
 
 
>-->mode(-1);
>Building macros...
>-- Creation of [nanlib] (Macros) --
>Building gateway...
>Generating loader_gateway.sce...
>Generating cleaner_gateway.sce...
>Building help...

>Building the master document:
>	/home/petter/Downloads/Tools/scilab/NaN/help/en_US/

>Building the manual file [javaHelp] in
/home/petter/Downloads/Tools/scilab/NaN/help/en_US>/.
>Total files without example: 66
>Total generated html files: 125
>Generating loader.sce...
>Generating cleaner.sce...

Tried to check if it was installed correctly on all of my above attempts by doing the
following: 
>-->nan_corrcoef
>  !--error 4 
>Undefined variable: nan_corrcoef

removing from Atoms and instaling from source:

>-->exec('/home/petter/Downloads/Tools/scilab/NaN/builder.sce')
 
 
 
>-->mode(-1);
>Building macros...
>-- Creation of [nanlib] (Macros) --
>Building gateway...
>Generating loader_gateway.sce...
>Generating cleaner_gateway.sce...
>Building help...

>Building the master document:
>	/home/petter/Downloads/Tools/scilab/NaN/help/en_US/

>Building the manual file [javaHelp] in
/home/petter/Downloads/Tools/scilab/NaN/help/en_US/.
>Total files without example: 66
>Total generated html files: 125
>Generating loader.sce...
>Generating cleaner.sce...

Still doesnt work. Any help appreciated.
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.