--- Tatsuro MATSUOKA <[EMAIL PROTECTED]> wrote:
> Hello
>
> --- Michael Goffioul <[EMAIL PROTECTED]> wrote:
> > After doing all this myself last week, I tried some scripts in the test
> > directory (within bindings) and it crahsed.
> >
> There seems no test script files in the test directies.
> I have tested ann_test.exe instead.
>
> HMMMMMMMM???
mingw test
> $ ann_test < test1.in
> ------------------------------------------------------------
> ann_test: Version 1.1.1
> Copyright: David M. Mount and Sunil Arya.
> Latest Revision: Aug 4, 2006.
> ------------------------------------------------------------
>
> validate = on (Warning: this may slow execution time.)
> stats = query_stats
> [Read Data Points:
> data_size = 20
> file_name = test1-data.pts
> dim = 2
> ]
> [Read Query Points:
> query_size = 10
> file_name = test1-query.pts
> dim = 2
> ]
> [Build ann-structure:
> split_rule = suggest
> shrink_rule = none
> data_size = 20
> dim = 2
> bucket_size = 1
> process_time = 0 sec
> (Structure Statistics:
> n_nodes = 39 (opt = 40, best if < 400)
> n_leaves = 20 (0 contain no points)
> n_splits = 19
> n_shrinks = 0
> empty_leaves = 0 percent (best if < 50 percent)
> depth = 6 (opt = 4, best if < 17)
> avg_aspect_ratio = 1.48847 (best if < 20)
> )
> ]
> (Computing true nearest neighbors for validation. This may take time.)
> ann_test: ERROR------->INTERNAL ERROR: Actual error exceeds
> epsilon<-------------ERROR
>
$ ./ann_test < test1.in
------------------------------------------------------------
ann_test: Version 1.1.1
Copyright: David M. Mount and Sunil Arya.
Latest Revision: Aug 4, 2006.
------------------------------------------------------------
validate = on (Warning: this may slow execution time.)
stats = query_stats
[Read Data Points:
data_size = 20
file_name = test1-data.pts
dim = 2
]
[Read Query Points:
query_size = 10
file_name = test1-query.pts
dim = 2
]
[Build ann-structure:
split_rule = suggest
shrink_rule = none
data_size = 20
dim = 2
bucket_size = 1
process_time = 0 sec
(Structure Statistics:
n_nodes = 39 (opt = 40, best if < 400)
n_leaves = 20 (0 contain no points)
n_splits = 19
n_shrinks = 0
empty_leaves = 0 percent (best if < 50 percent)
depth = 6 (opt = 4, best if < 17)
avg_aspect_ratio = 1.48847 (best if < 20)
)
]
(Computing true nearest neighbors for validation. This may take time.)
ann_test: ERROR------->INTERNAL ERROR: Actual error exceeds
epsilon<-------------ERROR
The same results are obtained for both test.
BTW:
octave:1> ann
ann =
{
ANN_BD_CENTROID
ANN_BD_NONE
ANN_BD_SIMPLE
ANN_BD_SUGGEST
ANN_HI
ANN_IN
ANN_KD_FAIR
ANN_KD_MIDPT
ANN_KD_SL_FAIR
ANN_KD_SL_MIDPT
ANN_KD_STD
ANN_KD_SUGGEST
ANN_LO
ANN_OUT
ANN_exception
ANN_exception_msg_get (global method)
ANN_exception_msg_set (global method)
ANNabort
ANNbd_tree
ANNbruteForce
ANNbruteForce_annkFRSearch (global method)
ANNbruteForce_annkSearch (global method)
ANNbruteForce_nPoints (global method)
ANNbruteForce_theDim (global method)
ANNbruteForce_thePoints (global method)
ANNcopyright
ANNfalse
ANNkdStats
ANNkdStats_avg_ar_get (global method)
ANNkdStats_avg_ar_set (global method)
ANNkdStats_bkt_size_get (global method)
ANNkdStats_bkt_size_set (global method)
ANNkdStats_depth_get (global method)
ANNkdStats_depth_set (global method)
ANNkdStats_dim_get (global method)
ANNkdStats_dim_set (global method)
ANNkdStats_merge (global method)
ANNkdStats_n_lf_get (global method)
ANNkdStats_n_lf_set (global method)
ANNkdStats_n_pts_get (global method)
ANNkdStats_n_pts_set (global method)
ANNkdStats_n_shr_get (global method)
ANNkdStats_n_shr_set (global method)
ANNkdStats_n_spl_get (global method)
ANNkdStats_n_spl_set (global method)
ANNkdStats_n_tl_get (global method)
ANNkdStats_n_tl_set (global method)
ANNkdStats_reset (global method)
ANNkdStats_sum_ar_get (global method)
ANNkdStats_sum_ar_set (global method)
ANNkd_tree
ANNkd_tree_Dump (global method)
ANNkd_tree_Print (global method)
ANNkd_tree_annkFRSearch (global method)
ANNkd_tree_annkPriSearch (global method)
ANNkd_tree_annkSearch (global method)
ANNkd_tree_getStats (global method)
ANNkd_tree_nPoints (global method)
ANNkd_tree_theDim (global method)
ANNkd_tree_thePoints (global method)
ANNlatestRev
ANNorthHalfSpace
ANNorthHalfSpace_cd_get (global method)
ANNorthHalfSpace_cd_set (global method)
ANNorthHalfSpace_cv_get (global method)
ANNorthHalfSpace_cv_set (global method)
ANNorthHalfSpace_dist (global method)
ANNorthHalfSpace_in (global method)
ANNorthHalfSpace_out (global method)
ANNorthHalfSpace_project (global method)
ANNorthHalfSpace_sd_get (global method)
ANNorthHalfSpace_sd_set (global method)
ANNorthHalfSpace_setLowerBound (global method)
ANNorthHalfSpace_setUpperBound (global method)
ANNorthRect
ANNorthRect_hi_get (global method)
ANNorthRect_hi_set (global method)
ANNorthRect_inside (global method)
ANNorthRect_lo_get (global method)
ANNorthRect_lo_set (global method)
ANNpointSet
ANNpointSet_annkFRSearch (global method)
ANNpointSet_annkSearch (global method)
ANNpointSet_nPoints (global method)
ANNpointSet_theDim (global method)
ANNpointSet_thePoints (global method)
ANNsampStat
ANNsampStat_max (global method)
ANNsampStat_mean (global method)
ANNsampStat_min (global method)
ANNsampStat_reset (global method)
ANNsampStat_samples (global method)
ANNsampStat_stdDev (global method)
ANNtrue
ANNversion
ANNversionCmt
ANNwarn
annAllocPt (global method)
annAllocPts (global method)
annAssignRect (global method)
annClose (global method)
annCopyPt (global method)
annDeallocPt (global method)
annDeallocPts (global method)
annDist (global method)
annError (global method)
annMaxPtsVisit (global method)
annPrintPt (global method)
annPrintStats (global method)
annResetCounts (global method)
annResetStats (global method)
annUpdateStats (global method)
cvar
delete_ANN_exception (global method)
delete_ANNbd_tree (global method)
delete_ANNbruteForce (global method)
delete_ANNkdStats (global method)
delete_ANNkd_tree (global method)
delete_ANNorthHalfSpace (global method)
delete_ANNorthRect (global method)
delete_ANNpointSet (global method)
delete_ANNsampStat (global method)
new_ANN_exception (global method)
new_ANNbd_tree (global method)
new_ANNbruteForce (global method)
new_ANNkdStats (global method)
new_ANNkd_tree (global method)
new_ANNorthHalfSpace (global method)
new_ANNorthRect (global method)
new_ANNsampStat (global method)
}
octave:2> help ann
help: `ann' is not documented
How can I test from octave?
Regards
Tatsuro
--------------------------------------
GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
http://pr.mail.yahoo.co.jp/ganbare-nippon/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev