1
2
3
4
5
6
7 import _csparsedataset
8 import new
9 new_instancemethod = new.instancemethod
10 try:
11 _swig_property = property
12 except NameError:
13 pass
15 if (name == "thisown"): return self.this.own(value)
16 if (name == "this"):
17 if type(value).__name__ == 'PySwigObject':
18 self.__dict__[name] = value
19 return
20 method = class_type.__swig_setmethods__.get(name,None)
21 if method: return method(self,value)
22 if (not static) or hasattr(self,name):
23 self.__dict__[name] = value
24 else:
25 raise AttributeError("You cannot add attributes to %s" % self)
26
28 return _swig_setattr_nondynamic(self,class_type,name,value,0)
29
31 if (name == "thisown"): return self.this.own()
32 method = class_type.__swig_getmethods__.get(name,None)
33 if method: return method(self)
34 raise AttributeError,name
35
37 try: strthis = "proxy of " + self.this.__repr__()
38 except: strthis = ""
39 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
40
41 import types
42 try:
43 _object = types.ObjectType
44 _newclass = 1
45 except AttributeError:
47 _newclass = 0
48 del types
49
50
52 __swig_setmethods__ = {}
53 __setattr__ = lambda self, name, value: _swig_setattr(self, PySwigIterator, name, value)
54 __swig_getmethods__ = {}
55 __getattr__ = lambda self, name: _swig_getattr(self, PySwigIterator, name)
56 - def __init__(self): raise AttributeError, "No constructor defined"
57 __repr__ = _swig_repr
58 __swig_destroy__ = _csparsedataset.delete_PySwigIterator
59 __del__ = lambda self : None;
60 - def value(*args): return _csparsedataset.PySwigIterator_value(*args)
61 - def incr(*args): return _csparsedataset.PySwigIterator_incr(*args)
62 - def decr(*args): return _csparsedataset.PySwigIterator_decr(*args)
63 - def distance(*args): return _csparsedataset.PySwigIterator_distance(*args)
64 - def equal(*args): return _csparsedataset.PySwigIterator_equal(*args)
65 - def copy(*args): return _csparsedataset.PySwigIterator_copy(*args)
66 - def next(*args): return _csparsedataset.PySwigIterator_next(*args)
67 - def previous(*args): return _csparsedataset.PySwigIterator_previous(*args)
68 - def advance(*args): return _csparsedataset.PySwigIterator_advance(*args)
69 - def __eq__(*args): return _csparsedataset.PySwigIterator___eq__(*args)
70 - def __ne__(*args): return _csparsedataset.PySwigIterator___ne__(*args)
71 - def __iadd__(*args): return _csparsedataset.PySwigIterator___iadd__(*args)
72 - def __isub__(*args): return _csparsedataset.PySwigIterator___isub__(*args)
73 - def __add__(*args): return _csparsedataset.PySwigIterator___add__(*args)
74 - def __sub__(*args): return _csparsedataset.PySwigIterator___sub__(*args)
76 PySwigIterator_swigregister = _csparsedataset.PySwigIterator_swigregister
77 PySwigIterator_swigregister(PySwigIterator)
78
80 __swig_setmethods__ = {}
81 __setattr__ = lambda self, name, value: _swig_setattr(self, IntVector, name, value)
82 __swig_getmethods__ = {}
83 __getattr__ = lambda self, name: _swig_getattr(self, IntVector, name)
84 __repr__ = _swig_repr
85 - def iterator(*args): return _csparsedataset.IntVector_iterator(*args)
87 - def __nonzero__(*args): return _csparsedataset.IntVector___nonzero__(*args)
88 - def __len__(*args): return _csparsedataset.IntVector___len__(*args)
89 - def pop(*args): return _csparsedataset.IntVector_pop(*args)
90 - def __getslice__(*args): return _csparsedataset.IntVector___getslice__(*args)
91 - def __setslice__(*args): return _csparsedataset.IntVector___setslice__(*args)
92 - def __delslice__(*args): return _csparsedataset.IntVector___delslice__(*args)
93 - def __delitem__(*args): return _csparsedataset.IntVector___delitem__(*args)
94 - def __getitem__(*args): return _csparsedataset.IntVector___getitem__(*args)
95 - def __setitem__(*args): return _csparsedataset.IntVector___setitem__(*args)
96 - def append(*args): return _csparsedataset.IntVector_append(*args)
97 - def empty(*args): return _csparsedataset.IntVector_empty(*args)
98 - def size(*args): return _csparsedataset.IntVector_size(*args)
99 - def clear(*args): return _csparsedataset.IntVector_clear(*args)
100 - def swap(*args): return _csparsedataset.IntVector_swap(*args)
101 - def get_allocator(*args): return _csparsedataset.IntVector_get_allocator(*args)
102 - def begin(*args): return _csparsedataset.IntVector_begin(*args)
103 - def end(*args): return _csparsedataset.IntVector_end(*args)
104 - def rbegin(*args): return _csparsedataset.IntVector_rbegin(*args)
105 - def rend(*args): return _csparsedataset.IntVector_rend(*args)
106 - def pop_back(*args): return _csparsedataset.IntVector_pop_back(*args)
107 - def erase(*args): return _csparsedataset.IntVector_erase(*args)
109 this = _csparsedataset.new_IntVector(*args)
110 try: self.this.append(this)
111 except: self.this = this
112 - def push_back(*args): return _csparsedataset.IntVector_push_back(*args)
113 - def front(*args): return _csparsedataset.IntVector_front(*args)
114 - def back(*args): return _csparsedataset.IntVector_back(*args)
115 - def assign(*args): return _csparsedataset.IntVector_assign(*args)
116 - def resize(*args): return _csparsedataset.IntVector_resize(*args)
117 - def insert(*args): return _csparsedataset.IntVector_insert(*args)
118 - def reserve(*args): return _csparsedataset.IntVector_reserve(*args)
119 - def capacity(*args): return _csparsedataset.IntVector_capacity(*args)
120 __swig_destroy__ = _csparsedataset.delete_IntVector
121 __del__ = lambda self : None;
122 IntVector_swigregister = _csparsedataset.IntVector_swigregister
123 IntVector_swigregister(IntVector)
124
126 __swig_setmethods__ = {}
127 __setattr__ = lambda self, name, value: _swig_setattr(self, DoubleVector, name, value)
128 __swig_getmethods__ = {}
129 __getattr__ = lambda self, name: _swig_getattr(self, DoubleVector, name)
130 __repr__ = _swig_repr
131 - def iterator(*args): return _csparsedataset.DoubleVector_iterator(*args)
133 - def __nonzero__(*args): return _csparsedataset.DoubleVector___nonzero__(*args)
134 - def __len__(*args): return _csparsedataset.DoubleVector___len__(*args)
135 - def pop(*args): return _csparsedataset.DoubleVector_pop(*args)
136 - def __getslice__(*args): return _csparsedataset.DoubleVector___getslice__(*args)
137 - def __setslice__(*args): return _csparsedataset.DoubleVector___setslice__(*args)
138 - def __delslice__(*args): return _csparsedataset.DoubleVector___delslice__(*args)
139 - def __delitem__(*args): return _csparsedataset.DoubleVector___delitem__(*args)
140 - def __getitem__(*args): return _csparsedataset.DoubleVector___getitem__(*args)
141 - def __setitem__(*args): return _csparsedataset.DoubleVector___setitem__(*args)
142 - def append(*args): return _csparsedataset.DoubleVector_append(*args)
143 - def empty(*args): return _csparsedataset.DoubleVector_empty(*args)
144 - def size(*args): return _csparsedataset.DoubleVector_size(*args)
145 - def clear(*args): return _csparsedataset.DoubleVector_clear(*args)
146 - def swap(*args): return _csparsedataset.DoubleVector_swap(*args)
147 - def get_allocator(*args): return _csparsedataset.DoubleVector_get_allocator(*args)
148 - def begin(*args): return _csparsedataset.DoubleVector_begin(*args)
149 - def end(*args): return _csparsedataset.DoubleVector_end(*args)
150 - def rbegin(*args): return _csparsedataset.DoubleVector_rbegin(*args)
151 - def rend(*args): return _csparsedataset.DoubleVector_rend(*args)
152 - def pop_back(*args): return _csparsedataset.DoubleVector_pop_back(*args)
153 - def erase(*args): return _csparsedataset.DoubleVector_erase(*args)
155 this = _csparsedataset.new_DoubleVector(*args)
156 try: self.this.append(this)
157 except: self.this = this
158 - def push_back(*args): return _csparsedataset.DoubleVector_push_back(*args)
159 - def front(*args): return _csparsedataset.DoubleVector_front(*args)
160 - def back(*args): return _csparsedataset.DoubleVector_back(*args)
161 - def assign(*args): return _csparsedataset.DoubleVector_assign(*args)
162 - def resize(*args): return _csparsedataset.DoubleVector_resize(*args)
163 - def insert(*args): return _csparsedataset.DoubleVector_insert(*args)
164 - def reserve(*args): return _csparsedataset.DoubleVector_reserve(*args)
165 - def capacity(*args): return _csparsedataset.DoubleVector_capacity(*args)
166 __swig_destroy__ = _csparsedataset.delete_DoubleVector
167 __del__ = lambda self : None;
168 DoubleVector_swigregister = _csparsedataset.DoubleVector_swigregister
169 DoubleVector_swigregister(DoubleVector)
170
172 __swig_setmethods__ = {}
173 __setattr__ = lambda self, name, value: _swig_setattr(self, FloatVector, name, value)
174 __swig_getmethods__ = {}
175 __getattr__ = lambda self, name: _swig_getattr(self, FloatVector, name)
176 __repr__ = _swig_repr
177 - def iterator(*args): return _csparsedataset.FloatVector_iterator(*args)
179 - def __nonzero__(*args): return _csparsedataset.FloatVector___nonzero__(*args)
180 - def __len__(*args): return _csparsedataset.FloatVector___len__(*args)
181 - def pop(*args): return _csparsedataset.FloatVector_pop(*args)
182 - def __getslice__(*args): return _csparsedataset.FloatVector___getslice__(*args)
183 - def __setslice__(*args): return _csparsedataset.FloatVector___setslice__(*args)
184 - def __delslice__(*args): return _csparsedataset.FloatVector___delslice__(*args)
185 - def __delitem__(*args): return _csparsedataset.FloatVector___delitem__(*args)
186 - def __getitem__(*args): return _csparsedataset.FloatVector___getitem__(*args)
187 - def __setitem__(*args): return _csparsedataset.FloatVector___setitem__(*args)
188 - def append(*args): return _csparsedataset.FloatVector_append(*args)
189 - def empty(*args): return _csparsedataset.FloatVector_empty(*args)
190 - def size(*args): return _csparsedataset.FloatVector_size(*args)
191 - def clear(*args): return _csparsedataset.FloatVector_clear(*args)
192 - def swap(*args): return _csparsedataset.FloatVector_swap(*args)
193 - def get_allocator(*args): return _csparsedataset.FloatVector_get_allocator(*args)
194 - def begin(*args): return _csparsedataset.FloatVector_begin(*args)
195 - def end(*args): return _csparsedataset.FloatVector_end(*args)
196 - def rbegin(*args): return _csparsedataset.FloatVector_rbegin(*args)
197 - def rend(*args): return _csparsedataset.FloatVector_rend(*args)
198 - def pop_back(*args): return _csparsedataset.FloatVector_pop_back(*args)
199 - def erase(*args): return _csparsedataset.FloatVector_erase(*args)
201 this = _csparsedataset.new_FloatVector(*args)
202 try: self.this.append(this)
203 except: self.this = this
204 - def push_back(*args): return _csparsedataset.FloatVector_push_back(*args)
205 - def front(*args): return _csparsedataset.FloatVector_front(*args)
206 - def back(*args): return _csparsedataset.FloatVector_back(*args)
207 - def assign(*args): return _csparsedataset.FloatVector_assign(*args)
208 - def resize(*args): return _csparsedataset.FloatVector_resize(*args)
209 - def insert(*args): return _csparsedataset.FloatVector_insert(*args)
210 - def reserve(*args): return _csparsedataset.FloatVector_reserve(*args)
211 - def capacity(*args): return _csparsedataset.FloatVector_capacity(*args)
212 __swig_destroy__ = _csparsedataset.delete_FloatVector
213 __del__ = lambda self : None;
214 FloatVector_swigregister = _csparsedataset.FloatVector_swigregister
215 FloatVector_swigregister(FloatVector)
216
218 __swig_setmethods__ = {}
219 __setattr__ = lambda self, name, value: _swig_setattr(self, StringVector, name, value)
220 __swig_getmethods__ = {}
221 __getattr__ = lambda self, name: _swig_getattr(self, StringVector, name)
222 __repr__ = _swig_repr
223 - def iterator(*args): return _csparsedataset.StringVector_iterator(*args)
225 - def __nonzero__(*args): return _csparsedataset.StringVector___nonzero__(*args)
226 - def __len__(*args): return _csparsedataset.StringVector___len__(*args)
227 - def pop(*args): return _csparsedataset.StringVector_pop(*args)
228 - def __getslice__(*args): return _csparsedataset.StringVector___getslice__(*args)
229 - def __setslice__(*args): return _csparsedataset.StringVector___setslice__(*args)
230 - def __delslice__(*args): return _csparsedataset.StringVector___delslice__(*args)
231 - def __delitem__(*args): return _csparsedataset.StringVector___delitem__(*args)
232 - def __getitem__(*args): return _csparsedataset.StringVector___getitem__(*args)
233 - def __setitem__(*args): return _csparsedataset.StringVector___setitem__(*args)
234 - def append(*args): return _csparsedataset.StringVector_append(*args)
235 - def empty(*args): return _csparsedataset.StringVector_empty(*args)
236 - def size(*args): return _csparsedataset.StringVector_size(*args)
237 - def clear(*args): return _csparsedataset.StringVector_clear(*args)
238 - def swap(*args): return _csparsedataset.StringVector_swap(*args)
239 - def get_allocator(*args): return _csparsedataset.StringVector_get_allocator(*args)
240 - def begin(*args): return _csparsedataset.StringVector_begin(*args)
241 - def end(*args): return _csparsedataset.StringVector_end(*args)
242 - def rbegin(*args): return _csparsedataset.StringVector_rbegin(*args)
243 - def rend(*args): return _csparsedataset.StringVector_rend(*args)
244 - def pop_back(*args): return _csparsedataset.StringVector_pop_back(*args)
245 - def erase(*args): return _csparsedataset.StringVector_erase(*args)
247 this = _csparsedataset.new_StringVector(*args)
248 try: self.this.append(this)
249 except: self.this = this
250 - def push_back(*args): return _csparsedataset.StringVector_push_back(*args)
251 - def front(*args): return _csparsedataset.StringVector_front(*args)
252 - def back(*args): return _csparsedataset.StringVector_back(*args)
253 - def assign(*args): return _csparsedataset.StringVector_assign(*args)
254 - def resize(*args): return _csparsedataset.StringVector_resize(*args)
255 - def insert(*args): return _csparsedataset.StringVector_insert(*args)
256 - def reserve(*args): return _csparsedataset.StringVector_reserve(*args)
257 - def capacity(*args): return _csparsedataset.StringVector_capacity(*args)
258 __swig_destroy__ = _csparsedataset.delete_StringVector
259 __del__ = lambda self : None;
260 StringVector_swigregister = _csparsedataset.StringVector_swigregister
261 StringVector_swigregister(StringVector)
262
264 __swig_setmethods__ = {}
265 __setattr__ = lambda self, name, value: _swig_setattr(self, LongVector, name, value)
266 __swig_getmethods__ = {}
267 __getattr__ = lambda self, name: _swig_getattr(self, LongVector, name)
268 __repr__ = _swig_repr
269 - def iterator(*args): return _csparsedataset.LongVector_iterator(*args)
271 - def __nonzero__(*args): return _csparsedataset.LongVector___nonzero__(*args)
272 - def __len__(*args): return _csparsedataset.LongVector___len__(*args)
273 - def pop(*args): return _csparsedataset.LongVector_pop(*args)
274 - def __getslice__(*args): return _csparsedataset.LongVector___getslice__(*args)
275 - def __setslice__(*args): return _csparsedataset.LongVector___setslice__(*args)
276 - def __delslice__(*args): return _csparsedataset.LongVector___delslice__(*args)
277 - def __delitem__(*args): return _csparsedataset.LongVector___delitem__(*args)
278 - def __getitem__(*args): return _csparsedataset.LongVector___getitem__(*args)
279 - def __setitem__(*args): return _csparsedataset.LongVector___setitem__(*args)
280 - def append(*args): return _csparsedataset.LongVector_append(*args)
281 - def empty(*args): return _csparsedataset.LongVector_empty(*args)
282 - def size(*args): return _csparsedataset.LongVector_size(*args)
283 - def clear(*args): return _csparsedataset.LongVector_clear(*args)
284 - def swap(*args): return _csparsedataset.LongVector_swap(*args)
285 - def get_allocator(*args): return _csparsedataset.LongVector_get_allocator(*args)
286 - def begin(*args): return _csparsedataset.LongVector_begin(*args)
287 - def end(*args): return _csparsedataset.LongVector_end(*args)
288 - def rbegin(*args): return _csparsedataset.LongVector_rbegin(*args)
289 - def rend(*args): return _csparsedataset.LongVector_rend(*args)
290 - def pop_back(*args): return _csparsedataset.LongVector_pop_back(*args)
291 - def erase(*args): return _csparsedataset.LongVector_erase(*args)
293 this = _csparsedataset.new_LongVector(*args)
294 try: self.this.append(this)
295 except: self.this = this
296 - def push_back(*args): return _csparsedataset.LongVector_push_back(*args)
297 - def front(*args): return _csparsedataset.LongVector_front(*args)
298 - def back(*args): return _csparsedataset.LongVector_back(*args)
299 - def assign(*args): return _csparsedataset.LongVector_assign(*args)
300 - def resize(*args): return _csparsedataset.LongVector_resize(*args)
301 - def insert(*args): return _csparsedataset.LongVector_insert(*args)
302 - def reserve(*args): return _csparsedataset.LongVector_reserve(*args)
303 - def capacity(*args): return _csparsedataset.LongVector_capacity(*args)
304 __swig_destroy__ = _csparsedataset.delete_LongVector
305 __del__ = lambda self : None;
306 LongVector_swigregister = _csparsedataset.LongVector_swigregister
307 LongVector_swigregister(LongVector)
308
310 __swig_setmethods__ = {}
311 __setattr__ = lambda self, name, value: _swig_setattr(self, DataSet, name, value)
312 __swig_getmethods__ = {}
313 __getattr__ = lambda self, name: _swig_getattr(self, DataSet, name)
314 - def __init__(self): raise AttributeError, "No constructor defined"
315 __repr__ = _swig_repr
316 __swig_setmethods__["Y"] = _csparsedataset.DataSet_Y_set
317 __swig_getmethods__["Y"] = _csparsedataset.DataSet_Y_get
318 if _newclass:Y = _swig_property(_csparsedataset.DataSet_Y_get, _csparsedataset.DataSet_Y_set)
319 __swig_setmethods__["norms"] = _csparsedataset.DataSet_norms_set
320 __swig_getmethods__["norms"] = _csparsedataset.DataSet_norms_get
321 if _newclass:norms = _swig_property(_csparsedataset.DataSet_norms_get, _csparsedataset.DataSet_norms_set)
322 __swig_setmethods__["kernel"] = _csparsedataset.DataSet_kernel_set
323 __swig_getmethods__["kernel"] = _csparsedataset.DataSet_kernel_get
324 if _newclass:kernel = _swig_property(_csparsedataset.DataSet_kernel_get, _csparsedataset.DataSet_kernel_set)
325 - def setY(*args): return _csparsedataset.DataSet_setY(*args)
326 - def computeNorms(*args): return _csparsedataset.DataSet_computeNorms(*args)
327 - def setKernel(*args): return _csparsedataset.DataSet_setKernel(*args)
328 - def attachKernel(*args): return _csparsedataset.DataSet_attachKernel(*args)
330 - def size(*args): return _csparsedataset.DataSet_size(*args)
331 - def dotProduct(*args): return _csparsedataset.DataSet_dotProduct(*args)
332 - def duplicate(*args): return _csparsedataset.DataSet_duplicate(*args)
333 - def castToBase(*args): return _csparsedataset.DataSet_castToBase(*args)
334 - def show(*args): return _csparsedataset.DataSet_show(*args)
335 __swig_destroy__ = _csparsedataset.delete_DataSet
336 __del__ = lambda self : None;
337 DataSet_swigregister = _csparsedataset.DataSet_swigregister
338 DataSet_swigregister(DataSet)
339
341 __swig_setmethods__ = {}
342 for _s in [DataSet]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
343 __setattr__ = lambda self, name, value: _swig_setattr(self, SparseDataSet, name, value)
344 __swig_getmethods__ = {}
345 for _s in [DataSet]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
346 __getattr__ = lambda self, name: _swig_getattr(self, SparseDataSet, name)
347 __repr__ = _swig_repr
348 __swig_setmethods__["n"] = _csparsedataset.SparseDataSet_n_set
349 __swig_getmethods__["n"] = _csparsedataset.SparseDataSet_n_get
350 if _newclass:n = _swig_property(_csparsedataset.SparseDataSet_n_get, _csparsedataset.SparseDataSet_n_set)
351 __swig_setmethods__["numFeatures"] = _csparsedataset.SparseDataSet_numFeatures_set
352 __swig_getmethods__["numFeatures"] = _csparsedataset.SparseDataSet_numFeatures_get
353 if _newclass:numFeatures = _swig_property(_csparsedataset.SparseDataSet_numFeatures_get, _csparsedataset.SparseDataSet_numFeatures_set)
354 __swig_setmethods__["prob"] = _csparsedataset.SparseDataSet_prob_set
355 __swig_getmethods__["prob"] = _csparsedataset.SparseDataSet_prob_get
356 if _newclass:prob = _swig_property(_csparsedataset.SparseDataSet_prob_get, _csparsedataset.SparseDataSet_prob_set)
357 __swig_setmethods__["featureIDmap"] = _csparsedataset.SparseDataSet_featureIDmap_set
358 __swig_getmethods__["featureIDmap"] = _csparsedataset.SparseDataSet_featureIDmap_get
359 if _newclass:featureIDmap = _swig_property(_csparsedataset.SparseDataSet_featureIDmap_get, _csparsedataset.SparseDataSet_featureIDmap_set)
360 __swig_setmethods__["X"] = _csparsedataset.SparseDataSet_X_set
361 __swig_getmethods__["X"] = _csparsedataset.SparseDataSet_X_get
362 if _newclass:X = _swig_property(_csparsedataset.SparseDataSet_X_get, _csparsedataset.SparseDataSet_X_set)
363 __swig_setmethods__["featureName"] = _csparsedataset.SparseDataSet_featureName_set
364 __swig_getmethods__["featureName"] = _csparsedataset.SparseDataSet_featureName_get
365 if _newclass:featureName = _swig_property(_csparsedataset.SparseDataSet_featureName_get, _csparsedataset.SparseDataSet_featureName_set)
367 this = _csparsedataset.new_SparseDataSet(*args)
368 try: self.this.append(this)
369 except: self.this = this
370 - def size(*args): return _csparsedataset.SparseDataSet_size(*args)
371 - def castToBase(*args): return _csparsedataset.SparseDataSet_castToBase(*args)
372 - def getPattern(*args): return _csparsedataset.SparseDataSet_getPattern(*args)
373 - def getPatternSparse(*args): return _csparsedataset.SparseDataSet_getPatternSparse(*args)
374 - def getFeature(*args): return _csparsedataset.SparseDataSet_getFeature(*args)
375 - def show(*args): return _csparsedataset.SparseDataSet_show(*args)
376 - def duplicate(*args): return _csparsedataset.SparseDataSet_duplicate(*args)
377 __swig_destroy__ = _csparsedataset.delete_SparseDataSet
378 __del__ = lambda self : None;
379 - def addPattern(*args): return _csparsedataset.SparseDataSet_addPattern(*args)
380 - def addFeature(*args): return _csparsedataset.SparseDataSet_addFeature(*args)
381 - def addFeatures(*args): return _csparsedataset.SparseDataSet_addFeatures(*args)
382 - def featureIDcompute(*args): return _csparsedataset.SparseDataSet_featureIDcompute(*args)
383 - def setFeatureName(*args): return _csparsedataset.SparseDataSet_setFeatureName(*args)
384 - def getFeatureID(*args): return _csparsedataset.SparseDataSet_getFeatureID(*args)
385 - def eliminateFeatures(*args): return _csparsedataset.SparseDataSet_eliminateFeatures(*args)
386 - def normalize(*args): return _csparsedataset.SparseDataSet_normalize(*args)
387 - def scale(*args): return _csparsedataset.SparseDataSet_scale(*args)
388 - def translate(*args): return _csparsedataset.SparseDataSet_translate(*args)
389 - def mean(*args): return _csparsedataset.SparseDataSet_mean(*args)
390 - def standardDeviation(*args): return _csparsedataset.SparseDataSet_standardDeviation(*args)
391 - def weightedSum(*args): return _csparsedataset.SparseDataSet_weightedSum(*args)
392 - def commonFeatures(*args): return _csparsedataset.SparseDataSet_commonFeatures(*args)
393 - def featureCount(*args): return _csparsedataset.SparseDataSet_featureCount(*args)
394 - def featureCounts(*args): return _csparsedataset.SparseDataSet_featureCounts(*args)
395 - def nonzero(*args): return _csparsedataset.SparseDataSet_nonzero(*args)
396 - def dotProduct(*args): return _csparsedataset.SparseDataSet_dotProduct(*args)
397 - def libsvm_construct(*args): return _csparsedataset.SparseDataSet_libsvm_construct(*args)
398 SparseDataSet_swigregister = _csparsedataset.SparseDataSet_swigregister
399 SparseDataSet_swigregister(SparseDataSet)
400
411 __swig_destroy__ = _csparsedataset.delete_intArray
412 __del__ = lambda self : None;
413 - def __getitem__(*args): return _csparsedataset.intArray___getitem__(*args)
414 - def __setitem__(*args): return _csparsedataset.intArray___setitem__(*args)
415 - def cast(*args): return _csparsedataset.intArray_cast(*args)
416 __swig_getmethods__["frompointer"] = lambda x: _csparsedataset.intArray_frompointer
417 if _newclass:frompointer = staticmethod(_csparsedataset.intArray_frompointer)
418 intArray_swigregister = _csparsedataset.intArray_swigregister
419 intArray_swigregister(intArray)
420 intArray_frompointer = _csparsedataset.intArray_frompointer
421
432 __swig_destroy__ = _csparsedataset.delete_doubleArray
433 __del__ = lambda self : None;
434 - def __getitem__(*args): return _csparsedataset.doubleArray___getitem__(*args)
435 - def __setitem__(*args): return _csparsedataset.doubleArray___setitem__(*args)
436 - def cast(*args): return _csparsedataset.doubleArray_cast(*args)
437 __swig_getmethods__["frompointer"] = lambda x: _csparsedataset.doubleArray_frompointer
438 if _newclass:frompointer = staticmethod(_csparsedataset.doubleArray_frompointer)
439 doubleArray_swigregister = _csparsedataset.doubleArray_swigregister
440 doubleArray_swigregister(doubleArray)
441 doubleArray_frompointer = _csparsedataset.doubleArray_frompointer
442