Guest User

Untitled

a guest
Apr 7th, 2012
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. gsomix@gsomix:~/Workspace/shogun/examples/undocumented/octave_modular$ octave features_sparse_modular.m
  2. GNU Octave, version 3.2.4
  3. Copyright (C) 2009 John W. Eaton and others.
  4. This is free software; see the source code for copying conditions.
  5. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
  6. FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
  7.  
  8. Octave was configured for "i686-pc-linux-gnu".
  9.  
  10. Additional information about Octave is available at http://www.octave.org.
  11.  
  12. Please contribute if you find this software useful.
  13. For more information, visit http://www.octave.org/help-wanted.html
  14.  
  15. Report bugs to <[email protected]> (but first, please read
  16. http://www.octave.org/bugs.html to learn how to write a helpful report).
  17.  
  18. For information about changes from previous versions, type `news'.
  19.  
  20. Sparse Features
  21. ans =
  22.  
  23. 0.84442 0.00000 0.78380 0.00000 0.00000
  24. 0.75795 0.00000 0.00000 0.90811 0.75580
  25. 0.00000 0.00000 0.00000 0.00000 0.00000
  26.  
  27. X =
  28.  
  29. Compressed Column Sparse (rows = 3, cols = 5, nnz = 5 [33%])
  30.  
  31. (1, 1) -> 0.84442
  32. (2, 1) -> 0.75795
  33. (1, 3) -> 0.78380
  34. (2, 4) -> 0.90811
  35. (2, 5) -> 0.75580
  36.  
  37. a =
  38.  
  39. {
  40. SparseRealFeatures, ptr = 0x943c6d0
  41. add_preprocessor (method)
  42. apply_preprocessor (method)
  43. benchmark_add_to_dense_vector (method)
  44. benchmark_dense_dot_range (method)
  45. check_feature_compatibility (method)
  46. clean_preprocessors (method)
  47. compute_cov (static method)
  48. copy_subset (method)
  49. del_preprocessor (method)
  50. dense_dot_vec (method)
  51. dot (method)
  52. duplicate (method)
  53. free_sparse_feature_matrix (method)
  54. free_sparse_features (method)
  55. get_cache_size (method)
  56. get_combined_feature_weight (method)
  57. get_computed_dot_feature_matrix (method)
  58. get_computed_dot_feature_vector (method)
  59. get_cov (method)
  60. get_dim_feature_space (method)
  61. get_feature (method)
  62. get_feature_class (method)
  63. get_feature_type (method)
  64. get_full_feature_matrix (method)
  65. get_full_feature_vector (method)
  66. get_global_io (method)
  67. get_global_parallel (method)
  68. get_global_version (method)
  69. get_mean (static method)
  70. get_modelsel_names (method)
  71. get_modsel_param_descr (method)
  72. get_modsel_param_index (method)
  73. get_name (method)
  74. get_nnz_features_for_vector (method)
  75. get_num_features (method)
  76. get_num_nonzero_entries (method)
  77. get_num_preprocessed (method)
  78. get_num_preprocessors (method)
  79. get_num_vectors (method)
  80. get_preprocessor (method)
  81. get_size (method)
  82. get_sparse_feature_matrix (method)
  83. get_sparse_feature_vector (method)
  84. get_transposed (method)
  85. has_property (method)
  86. has_subset (method)
  87. io (variable)
  88. is_generic (method)
  89. is_preprocessed (method)
  90. list_feature_obj (method)
  91. load (method)
  92. load_all_file_parameters (method)
  93. load_file_parameters (method)
  94. load_serializable (method)
  95. load_svmlight_file (method)
  96. m_model_selection_parameters (variable)
  97. m_parameter_map (variable)
  98. m_parameters (variable)
  99. map_parameters (method)
  100. obtain_from_simple (method)
  101. parallel (variable)
  102. print_modsel_params (method)
  103. print_serializable (method)
  104. ref_count (method)
  105. remove_subset (method)
  106. reshape (method)
  107. save (method)
  108. save_serializable (method)
  109. set_combined_feature_weight (method)
  110. set_full_feature_matrix (method)
  111. set_global_io (method)
  112. set_global_parallel (method)
  113. set_global_version (method)
  114. set_num_features (method)
  115. set_preprocessed (method)
  116. set_property (method)
  117. set_sparse_feature_matrix (method)
  118. set_subset (method)
  119. sort_features (method)
  120. subset_changed_post (method)
  121. subset_idx_conversion (method)
  122. unset_generic (method)
  123. unset_property (method)
  124. version (variable)
  125. write_svmlight_file (method)
  126. }
  127.  
  128. a_out =
  129.  
  130. 0.84442 0.00000 0.78380 0.00000 0.00000
  131. 0.75795 0.00000 0.00000 0.90811 0.75580
  132. 0.00000 0.00000 0.00000 0.00000 0.00000
  133.  
  134. a_out =
  135.  
  136. 0.84442 0.00000 0.78380 0.00000 0.00000
  137. 0.75795 0.00000 0.00000 0.90811 0.75580
  138. 0.00000 0.00000 0.00000 0.00000 0.00000
  139.  
  140. a =
  141.  
  142. {
  143. SparseRealFeatures, ptr = 0x943fe10
  144. add_preprocessor (method)
  145. apply_preprocessor (method)
  146. benchmark_add_to_dense_vector (method)
  147. benchmark_dense_dot_range (method)
  148. check_feature_compatibility (method)
  149. clean_preprocessors (method)
  150. compute_cov (static method)
  151. copy_subset (method)
  152. del_preprocessor (method)
  153. dense_dot_vec (method)
  154. dot (method)
  155. duplicate (method)
  156. free_sparse_feature_matrix (method)
  157. free_sparse_features (method)
  158. get_cache_size (method)
  159. get_combined_feature_weight (method)
  160. get_computed_dot_feature_matrix (method)
  161. get_computed_dot_feature_vector (method)
  162. get_cov (method)
  163. get_dim_feature_space (method)
  164. get_feature (method)
  165. get_feature_class (method)
  166. get_feature_type (method)
  167. get_full_feature_matrix (method)
  168. get_full_feature_vector (method)
  169. get_global_io (method)
  170. get_global_parallel (method)
  171. get_global_version (method)
  172. get_mean (static method)
  173. get_modelsel_names (method)
  174. get_modsel_param_descr (method)
  175. get_modsel_param_index (method)
  176. get_name (method)
  177. get_nnz_features_for_vector (method)
  178. get_num_features (method)
  179. get_num_nonzero_entries (method)
  180. get_num_preprocessed (method)
  181. get_num_preprocessors (method)
  182. get_num_vectors (method)
  183. get_preprocessor (method)
  184. get_size (method)
  185. get_sparse_feature_matrix (method)
  186. get_sparse_feature_vector (method)
  187. get_transposed (method)
  188. has_property (method)
  189. has_subset (method)
  190. io (variable)
  191. is_generic (method)
  192. is_preprocessed (method)
  193. list_feature_obj (method)
  194. load (method)
  195. load_all_file_parameters (method)
  196. load_file_parameters (method)
  197. load_serializable (method)
  198. load_svmlight_file (method)
  199. m_model_selection_parameters (variable)
  200. m_parameter_map (variable)
  201. m_parameters (variable)
  202. map_parameters (method)
  203. obtain_from_simple (method)
  204. parallel (variable)
  205. print_modsel_params (method)
  206. print_serializable (method)
  207. ref_count (method)
  208. remove_subset (method)
  209. reshape (method)
  210. save (method)
  211. save_serializable (method)
  212. set_combined_feature_weight (method)
  213. set_full_feature_matrix (method)
  214. set_global_io (method)
  215. set_global_parallel (method)
  216. set_global_version (method)
  217. set_num_features (method)
  218. set_preprocessed (method)
  219. set_property (method)
  220. set_sparse_feature_matrix (method)
  221. set_subset (method)
  222. sort_features (method)
  223. subset_changed_post (method)
  224. subset_idx_conversion (method)
  225. unset_generic (method)
  226. unset_property (method)
  227. version (variable)
  228. write_svmlight_file (method)
  229. }
  230.  
  231. a_out =
  232.  
  233. 0.84442 0.00000 0.78380 0.00000 0.00000
  234. 0.75795 0.00000 0.00000 0.90811 0.75580
  235. 0.00000 0.00000 0.00000 0.00000 0.00000
  236.  
  237. z =
  238.  
  239. Compressed Column Sparse (rows = 3, cols = 5, nnz = 5 [33%])
  240.  
  241. (1, 1) -> 0.84442
  242. (2, 1) -> 0.75795
  243. (1, 3) -> 0.78380
  244. (2, 4) -> 0.90811
  245. (2, 5) -> 0.75580
Advertisement
Add Comment
Please, Sign In to add comment