nupic.bindings.algorithms
index
python2.5/site-packages/nupic/bindings/algorithms.py

# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.31
#
# Don't modify this file, modify the SWIG interface instead.

 
Modules
       
nupic.bindings._algorithms
nupic.bindings.math
new
numpy

 
Classes
       
__builtin__.object
Float32Rotation45
Float32SeparableConvolution2D
Grouper
QMatrix
QMatrix01
SparsePooler
SparsePoolerInputMasks
TRON
decision_function
feature_node
function
linear
model
parameter
problem
sparse_feature_vector
svm_01
svm_01_traits
svm_dense
svm_model
svm_parameter
svm_problem
svm_problem01
svm_std_traits

 
class Float32Rotation45(__builtin__.object)
    Proxy of C++ Float32Rotation45 class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self) -> Float32Rotation45
__repr__ = _swig_repr(self)
rotate(*args)
rotate(self, original, rotated, nrows, ncols, z)
rotate(self, pyOriginal, pyRotated, nrows, ncols, z)
round(*args, **kwargs)
round(self, x) -> float
unrotate(*args)
unrotate(self, unrotated, rotated, nrows, ncols, z)
unrotate(self, pyUnrotated, pyRotated, nrows, ncols, z)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
offset_
scol_
srow_
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_Float32Rotation45>

 
class Float32SeparableConvolution2D(__builtin__.object)
    Proxy of C++ Float32SeparableConvolution2D class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self) -> Float32SeparableConvolution2D
__repr__ = _swig_repr(self)
compute(*args)
compute(self, data, convolved, rotated45=False)
compute(self, pyData, pyConvolved, rotated45=False)
getBuffer(*args, **kwargs)
getBuffer(self, pyBuffer)
init(*args)
init(self, nrows, ncols, f1_size, f2_size, f1, f2)
init(self, nrows, ncols, f1_size, f2_size, pyF1, pyF2)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
buffer_
f1_
f1_end_
f1_end_j_
f1_middle_
f1_size_
f2_
f2_end_
f2_end_i_
f2_middle_
f2_size_
ncols_
nrows_
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_Float32SeparableConvolution2D>

 
class Grouper(__builtin__.object)
    Proxy of C++ Grouper class
 
  Methods defined here:
AHCGroup(*args, **kwargs)
AHCGroup(self, nGroups)
AHCMerges(*args, **kwargs)
AHCMerges(self) -> PyObject
__getstate__(*args, **kwargs)
__getstate__(self) -> string
__init__(self, *args)
__init__(self, transitionMemory, topNeighbors, maxNGroups, maxGroupSize, 
    symmetricTam, overlappingGroups, ahc_lgp, 
    mode, hot_markovOrder=1, hot_min_cnt2=0, 
    hot_iterPerStage=0, hot_maxPerStage=0, n_tbis=1) -> Grouper
__init__(self, inStream, n_tbis=1) -> Grouper
__repr__(*args, **kwargs)
__repr__(self) -> string
__setstate__(self, inString)
__str__(*args, **kwargs)
__str__(self) -> string
getAHCLargeGroupPenalty(*args, **kwargs)
getAHCLargeGroupPenalty(self) -> value_type
getAHCMerges(*args, **kwargs)
getAHCMerges(self) -> Merges
getCollapsedTAM(*args, **kwargs)
getCollapsedTAM(self) -> IntegerTAM
getGroups(*args)
getGroups(self, collapsed=True) -> Groups
getGroups(self, collapsed=True) -> string
getGroupsString(*args, **kwargs)
getGroupsString(self, buf, collapsed=True)
getHistory(*args, **kwargs)
getHistory(self, baby_idx=0) -> nta::Grouper::IntegerTAM::History
getMaxGroupSize(*args, **kwargs)
getMaxGroupSize(self) -> size_type
getMode(*args, **kwargs)
getMode(self) -> int
getModeStr(*args, **kwargs)
getModeStr(self) -> string
getNGroups(*args, **kwargs)
getNGroups(self) -> size_type
getPyMerges(*args, **kwargs)
getPyMerges(self) -> PyObject
getTBICellOutputs(*args, **kwargs)
getTBICellOutputs(self, grpIdx, tbi_idx=0) -> TBICellOutputs
getTBIWeights(*args, **kwargs)
getTBIWeights(self, grpIdx) -> TBICellWeights
getTam(*args, **kwargs)
getTam(self) -> IntegerTAM
getTopNeighbors(*args, **kwargs)
getTopNeighbors(self) -> size_type
getTransitionMemory(*args, **kwargs)
getTransitionMemory(self) -> size_type
group(*args, **kwargs)
group(self, counts)
infer(*args, **kwargs)
infer(self, py_x, baby_idx=0) -> PyObject
isOverlappingGroups(*args, **kwargs)
isOverlappingGroups(self) -> bool
isTamSymmetric(*args, **kwargs)
isTamSymmetric(self) -> bool
learn(*args, **kwargs)
learn(self, py_x, baby_idx=0) -> PyObject
load(*args, **kwargs)
load(self, inString)
predict(*args)
predict(self, tbi_idx, ?, future)
predict(self, n_steps, mode, baby_idx=0) -> PyObject
pruneCoincidences(*args, **kwargs)
pruneCoincidences(self, toDelete)
readState(*args, **kwargs)
readState(self, inStream)
resetGroups(*args, **kwargs)
resetGroups(self)
resetHistory(*args, **kwargs)
resetHistory(self)
resetTAM(*args, **kwargs)
resetTAM(self)
resetTBIHistory(*args, **kwargs)
resetTBIHistory(self)
sampleFromGroup(*args)
sampleFromGroup(self, grp_idx, ?, initial_dist, future)
sampleFromGroup(self, flag, grp_idx, n_steps) -> PyObject
saveState(*args, **kwargs)
saveState(self, outStream)
setAHCLargeGroupPenalty(*args, **kwargs)
setAHCLargeGroupPenalty(self, lgp)
setAHCNGroups(*args, **kwargs)
setAHCNGroups(self, nGroups)
setMaxGroupSize(*args, **kwargs)
setMaxGroupSize(self, mgs)
setMaxNGroups(*args, **kwargs)
setMaxNGroups(self, maxNGroups)
setMode(*args, **kwargs)
setMode(self, mode)
setModeFromStr(*args, **kwargs)
setModeFromStr(self, str)
setNTBIs(*args, **kwargs)
setNTBIs(self, n_tbis)
setOverlappingGroups(*args, **kwargs)
setOverlappingGroups(self, b)
setSymmetricTam(*args, **kwargs)
setSymmetricTam(self, b)
setTAMFromCSR(*args)
setTAMFromCSR(self, inStream)
setTAMFromCSR(self, s) -> bool
setTopNeighbors(*args, **kwargs)
setTopNeighbors(self, tn)
setTransitionMemory(*args, **kwargs)
setTransitionMemory(self, hms)
tbiOutputs(*args, **kwargs)
tbiOutputs(self, grp_idx, baby_idx=0) -> PyObject
tbiWeights(*args, **kwargs)
tbiWeights(self, grp_idx) -> _SparseMatrix32

Static methods defined here:
convertMode(*args)
convertMode(name) -> int
convertMode(mode) -> string

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_Grouper>
coincidences = 0
distribution = 0
groups = 1
maxProp = 0
single_path_max = 1
single_path_sample = 2
sumProp = 1
tbi = 2

 
class QMatrix(__builtin__.object)
    Proxy of C++ QMatrix class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self, prob, g, kernel, cache_size) -> QMatrix
__repr__ = _swig_repr(self)
dot(*args, **kwargs)
dot(self, i, j) -> feature_type
get_Q(*args, **kwargs)
get_Q(self, i, len) -> float
get_QD(*args, **kwargs)
get_QD(self) -> float
linear_kernel(*args, **kwargs)
linear_kernel(self, i, j) -> float
rbf_kernel(*args, **kwargs)
rbf_kernel(self, i, j) -> float
swap_index(*args, **kwargs)
swap_index(self, i, j)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_QMatrix>

 
class QMatrix01(__builtin__.object)
    Proxy of C++ QMatrix01 class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self, prob, g, kernel, cache_size) -> QMatrix01
__repr__ = _swig_repr(self)
dot(*args, **kwargs)
dot(self, i, j) -> feature_type
get_Q(*args, **kwargs)
get_Q(self, i, len) -> float
get_QD(*args, **kwargs)
get_QD(self) -> float
linear_kernel(*args, **kwargs)
linear_kernel(self, i, j) -> float
rbf_kernel(*args, **kwargs)
rbf_kernel(self, i, j) -> float
swap_index(*args, **kwargs)
swap_index(self, i, j)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_QMatrix01>

 
class SparsePooler(__builtin__.object)
    Proxy of C++ SparsePooler class
 
  Methods defined here:
__getstate__(*args, **kwargs)
__getstate__(self) -> string
__init__(self, *args)
__init__(self) -> SparsePooler
__init__(self, inputMasks, normalize, norm, sparsification_mode, inference_mode, 
    kWinners, threshold, min_accept_distance, 
    min_accept_norm, sigma) -> SparsePooler
__init__(self, inStream) -> SparsePooler
__repr__(*args, **kwargs)
__repr__(self) -> string
__setstate__(self, inString)
__str__(*args, **kwargs)
__str__(self) -> string
getCoincidenceMatrix(*args, **kwargs)
getCoincidenceMatrix(self, buf, dense=False)
getCurrentSparsePoolerVersion(*args, **kwargs)
getCurrentSparsePoolerVersion(self) -> string
getDoNormalization(*args, **kwargs)
getDoNormalization(self) -> size_type
getInferenceMode(*args, **kwargs)
getInferenceMode(self) -> size_type
getInferenceModeStr(*args, **kwargs)
getInferenceModeStr(self) -> string
getInputMasks(*args)
getInputMasks(self) -> SparsePoolerInputMasks
getInputMasks(self) -> SparsePoolerInputMasks
getKWinners(*args, **kwargs)
getKWinners(self) -> size_type
getMinAcceptDistance(*args, **kwargs)
getMinAcceptDistance(self) -> value_type
getMinAcceptNorm(*args, **kwargs)
getMinAcceptNorm(self) -> value_type
getNPrototypeSizes(*args, **kwargs)
getNPrototypeSizes(self) -> size_type
getNPrototypes(*args, **kwargs)
getNPrototypes(self, i) -> size_type
getNorm(*args, **kwargs)
getNorm(self) -> value_type
getPrototypes(*args, **kwargs)
getPrototypes(self, i) -> Prototypes
getSegmentSize(*args, **kwargs)
getSegmentSize(self) -> size_type
getSigma(*args, **kwargs)
getSigma(self) -> value_type
getSparsificationMode(*args, **kwargs)
getSparsificationMode(self) -> size_type
getSparsificationModeStr(*args, **kwargs)
getSparsificationModeStr(self) -> string
getThreshold(*args, **kwargs)
getThreshold(self) -> value_type
getTotalNPrototypes(*args, **kwargs)
getTotalNPrototypes(self) -> size_type
infer(*args, **kwargs)
infer(self, py_x) -> PyObject
learn(*args, **kwargs)
learn(self, py_x) -> PyObject
load(*args, **kwargs)
load(self, inString)
prototypes(*args, **kwargs)
prototypes(self, i) -> _SparseMatrix32
readState(*args, **kwargs)
readState(self, inStream)
saveState(*args, **kwargs)
saveState(self, outStream)
setDoNormalization(*args, **kwargs)
setDoNormalization(self, flag)
setInferenceMode(*args, **kwargs)
setInferenceMode(self, mode)
setInputMasks(*args, **kwargs)
setInputMasks(self, masks)
setKWinners(*args, **kwargs)
setKWinners(self, kWinners)
setMinAcceptDistance(*args, **kwargs)
setMinAcceptDistance(self, d)
setMinAcceptNorm(*args, **kwargs)
setMinAcceptNorm(self, d)
setNorm(*args, **kwargs)
setNorm(self, lp)
setSigma(*args, **kwargs)
setSigma(self, s)
setSparsificationMode(*args, **kwargs)
setSparsificationMode(self, mode)
setThreshold(*args, **kwargs)
setThreshold(self, threshold)

Static methods defined here:
convertInferenceMode(*args)
convertInferenceMode(name) -> int
convertInferenceMode(mode) -> string
convertSparsificationMode(*args)
convertSparsificationMode(name) -> int
convertSparsificationMode(mode) -> string

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_SparsePooler>
dot = 1
gaussian = 0
kWinners = 1
none = 0
product = 2
threshold = 2

 
class SparsePoolerInputMasks(__builtin__.object)
    Proxy of C++ SparsePoolerInputMasks class
 
  Methods defined here:
__getstate__(*args, **kwargs)
__getstate__(self) -> string
__init__(self, *args)
__init__(self) -> SparsePoolerInputMasks
__init__(self, ss, masks) -> SparsePoolerInputMasks
__init__(self, inStream) -> SparsePoolerInputMasks
__repr__(*args, **kwargs)
__repr__(self) -> string
__setstate__(self, inString)
__str__(*args, **kwargs)
__str__(self) -> string
empty(*args, **kwargs)
empty(self) -> bool
load(*args, **kwargs)
load(self, inString)
mask(*args, **kwargs)
mask(self, i) -> Mask
maxSize(*args, **kwargs)
maxSize(self) -> size_type
minSize(*args, **kwargs)
minSize(self) -> size_type
nMasks(*args, **kwargs)
nMasks(self) -> size_type
ratio(*args, **kwargs)
ratio(self, i) -> value_type
readState(*args, **kwargs)
readState(self, inStream)
saveState(*args, **kwargs)
saveState(self, outStream)
segmentSize(*args, **kwargs)
segmentSize(self) -> size_type
size(*args, **kwargs)
size(self, i) -> size_type

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_SparsePoolerInputMasks>

 
class TRON(__builtin__.object)
    Proxy of C++ TRON class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self, fun_obj, eps=0.1, max_iter=1000) -> TRON
__repr__ = _swig_repr(self)
tron(*args, **kwargs)
tron(self, w)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_TRON>

 
class decision_function(__builtin__.object)
    Proxy of C++ decision_function class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self) -> decision_function
__repr__ = _swig_repr(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
alpha
rho
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_decision_function>

 
class feature_node(__builtin__.object)
    Proxy of C++ feature_node class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self) -> feature_node
__repr__ = _swig_repr(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
index
thisown
The membership flag
value

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_feature_node>

 
class function(__builtin__.object)
    Proxy of C++ function class
 
  Methods defined here:
Hv(*args, **kwargs)
Hv(self, s, Hs)
__init__(self)
__repr__ = _swig_repr(self)
fun(*args, **kwargs)
fun(self, w) -> float
get_nr_variable(*args, **kwargs)
get_nr_variable(self) -> int
grad(*args, **kwargs)
grad(self, w, g)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_function>

 
class linear(__builtin__.object)
    Proxy of C++ linear class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self, solver_type, eps, C, nr_weight=0, weight_label=None, 
    weight=None) -> linear
__repr__ = _swig_repr(self)
create_problem(*args)
create_problem(self, l, n, y, x, bias=-1.0)
create_problem(self, size, n_dims, labelsIn, samplesIn, bias=-1.0)
cross_validation(*args)
cross_validation(self, nr_fold, target)
cross_validation(self, nr_fold, py_target)
load_model(*args, **kwargs)
load_model(self, model_file_name)
predict(*args)
predict(self, x) -> int
predict(self, py_x) -> int
predict_probability(*args)
predict_probability(self, x, prob_estimates) -> int
predict_probability(self, py_x, py_prob_estimates) -> int
predict_values(*args)
predict_values(self, x, dec_values) -> int
predict_values(self, py_x, py_dec_values) -> int
save_model(*args, **kwargs)
save_model(self, model_file_name) -> int
train(*args, **kwargs)
train(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
the_model
the_param
the_problem
thisown
The membership flag
x_space

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_linear>

 
class model(__builtin__.object)
    Proxy of C++ model class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self) -> model
__repr__ = _swig_repr(self)
get_labels(*args, **kwargs)
get_labels(self, label)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
bias
label
nr_class
nr_feature
param
thisown
The membership flag
w

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_model>

 
class parameter(__builtin__.object)
    Proxy of C++ parameter class
 
  Methods defined here:
__init__(self, *args)
__init__(self) -> parameter
__init__(self, solver_type_, eps_, C_, nr_weight_=0, weight_label_=None, 
    weight_=None) -> parameter
__repr__ = _swig_repr(self)

Data descriptors defined here:
C
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
eps
nr_weight
solver_type
thisown
The membership flag
weight
weight_label

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_parameter>

 
class problem(__builtin__.object)
    Proxy of C++ problem class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self, l_, n_, bias_) -> problem
__repr__ = _swig_repr(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
bias
l
n
thisown
The membership flag
x
y

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_problem>

 
class sparse_feature_vector(__builtin__.object)
    Proxy of C++ sparse_feature_vector class
 
  Methods defined here:
__init__(self, *args)
__init__(self) -> sparse_feature_vector
__init__(self, n, dense_array) -> sparse_feature_vector
__repr__ = _swig_repr(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
data
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_sparse_feature_vector>

 
class svm_01(__builtin__.object)
    Proxy of C++ svm_01 class
 
  Methods defined here:
__getstate__(*args, **kwargs)
__getstate__(self) -> string
__init__(self, *args, **kwargs)
__init__(self, kernel=0, n_dims=0, threshold=.9, cache_size=100, shrinking=1, 
    probability=False) -> svm_01
__repr__ = _swig_repr(self)
__setstate__(self, inString)
add_sample(*args, **kwargs)
add_sample(self, y_val, x_vector)
cross_validate(*args, **kwargs)
cross_validate(self, n_fold, gamma, C, eps) -> float
discard_problem(*args, **kwargs)
discard_problem(self)
get_model(*args, **kwargs)
get_model(self) -> svm_model
get_problem(*args, **kwargs)
get_problem(self) -> svm_problem01
load(*args)
load(self, inStream)
load(self, filename)
loadFromString(*args, **kwargs)
loadFromString(self, inString)
predict(*args, **kwargs)
predict(self, x_vector) -> float
predict_probability(*args, **kwargs)
predict_probability(self, x_vector, proba_vector) -> float
save(*args)
save(self, outStream)
save(self, filename)
train(*args, **kwargs)
train(self, gamma, C, eps)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_svm_01>

 
class svm_01_traits(__builtin__.object)
    Proxy of C++ svm_01_traits class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self) -> svm_01_traits
__repr__ = _swig_repr(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_svm_01_traits>

 
class svm_dense(__builtin__.object)
    Proxy of C++ svm_dense class
 
  Methods defined here:
__getstate__(*args, **kwargs)
__getstate__(self) -> string
__init__(self, *args, **kwargs)
__init__(self, kernel=0, n_dims=0, threshold=.9, cache_size=100, shrinking=1, 
    probability=False) -> svm_dense
__repr__ = _swig_repr(self)
__setstate__(self, inString)
add_sample(*args, **kwargs)
add_sample(self, y_val, x_vector)
cross_validate(*args, **kwargs)
cross_validate(self, n_fold, gamma, C, eps) -> float
discard_problem(*args, **kwargs)
discard_problem(self)
get_model(*args, **kwargs)
get_model(self) -> svm_model
get_problem(*args, **kwargs)
get_problem(self) -> svm_problem
load(*args)
load(self, inStream)
load(self, filename)
loadFromString(*args, **kwargs)
loadFromString(self, inString)
predict(*args, **kwargs)
predict(self, x_vector) -> float
predict_probability(*args, **kwargs)
predict_probability(self, x_vector, proba_vector) -> float
save(*args)
save(self, outStream)
save(self, filename)
train(*args, **kwargs)
train(self, gamma, C, eps)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_svm_dense>

 
class svm_model(__builtin__.object)
    Proxy of C++ svm_model class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self) -> svm_model
__repr__ = _swig_repr(self)
get_hyperplanes(*args, **kwargs)
get_hyperplanes(self) -> PyObject
get_support_vector_coefficients(*args, **kwargs)
get_support_vector_coefficients(self, svCoeffIn)
get_support_vectors(*args, **kwargs)
get_support_vectors(self, svIn)
load(*args, **kwargs)
load(self, inStream)
n_class(*args, **kwargs)
n_class(self) -> int
n_dims(*args, **kwargs)
n_dims(self) -> int
save(*args, **kwargs)
save(self, outStream)
size(*args, **kwargs)
size(self) -> int

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
label
n_dims_
n_sv
probA
probB
rho
sv
sv_coef
thisown
The membership flag
w

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_svm_model>

 
class svm_parameter(__builtin__.object)
    Proxy of C++ svm_parameter class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self, k, p, g, c, e, cs, s) -> svm_parameter
__repr__ = _swig_repr(self)
load(*args, **kwargs)
load(self, inStream)
save(*args, **kwargs)
save(self, outStream)

Data descriptors defined here:
C
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
cache_size
eps
gamma
kernel
probability
shrinking
thisown
The membership flag
weight
weight_label

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_svm_parameter>

 
class svm_problem(__builtin__.object)
    Proxy of C++ svm_problem class
 
  Methods defined here:
__init__(self, *args)
__init__(self, n_dims, recover, ?=0) -> svm_problem
__init__(self, n_dims, size, recover, ?=0) -> svm_problem
__init__(self, inStream) -> svm_problem
__repr__ = _swig_repr(self)
dense(*args, **kwargs)
dense(self, i, sv)
get_sample(*args, **kwargs)
get_sample(self, i) -> sample
get_samples(*args, **kwargs)
get_samples(self, samplesIn)
load(*args, **kwargs)
load(self, inStream)
n_dims(*args, **kwargs)
n_dims(self) -> int
nnz(*args, **kwargs)
nnz(self, i) -> int
resize(*args, **kwargs)
resize(self, n)
save(*args, **kwargs)
save(self, outStream)
set_sample(*args, **kwargs)
set_sample(self, i, s)
size(*args, **kwargs)
size(self) -> int

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
n_dims_
recover_
thisown
The membership flag
x_
y_

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_svm_problem>

 
class svm_problem01(__builtin__.object)
    Proxy of C++ svm_problem01 class
 
  Methods defined here:
__init__(self, *args)
__init__(self, n_dims, recover, threshold=.9) -> svm_problem01
__init__(self, n_dims, size, recover, threshold=.9) -> svm_problem01
__init__(self, inStream) -> svm_problem01
__repr__ = _swig_repr(self)
dense(*args, **kwargs)
dense(self, i, sv)
get_sample(*args, **kwargs)
get_sample(self, i) -> sample
get_samples(*args, **kwargs)
get_samples(self, samplesIn)
load(*args, **kwargs)
load(self, inStream)
n_dims(*args, **kwargs)
n_dims(self) -> int
nnz(*args, **kwargs)
nnz(self, i) -> int
resize(*args, **kwargs)
resize(self, n)
save(*args, **kwargs)
save(self, outStream)
set_sample(*args, **kwargs)
set_sample(self, i, s)
size(*args, **kwargs)
size(self) -> int

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
buf_
n_dims_
nnz_
recover_
thisown
The membership flag
threshold_
x_
y_

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_svm_problem01>

 
class svm_std_traits(__builtin__.object)
    Proxy of C++ svm_std_traits class
 
  Methods defined here:
__init__(self, *args, **kwargs)
__init__(self) -> svm_std_traits
__repr__ = _swig_repr(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
thisown
The membership flag

Data and other attributes defined here:
__swig_destroy__ = <built-in function delete_svm_std_traits>

 
Functions
       
Float32Rotation45_swigregister(...)
Float32SeparableConvolution2D_swigregister(...)
Grouper_convertMode(*args)
convertMode(name) -> int
Grouper_convertMode(mode) -> string
Grouper_swigregister(...)
QMatrix01_swigregister(...)
QMatrix_swigregister(...)
SparsePoolerInputMasks_swigregister(...)
SparsePooler_convertInferenceMode(*args)
convertInferenceMode(name) -> int
SparsePooler_convertInferenceMode(mode) -> string
SparsePooler_convertSparsificationMode(*args)
convertSparsificationMode(name) -> int
SparsePooler_convertSparsificationMode(mode) -> string
SparsePooler_swigregister(...)
TRON_swigregister(...)
decision_function_swigregister(...)
feature_node_swigregister(...)
forceRetentionOfGaborComputeWithinLibrary(*args)
forceRetentionOfGaborComputeWithinLibrary()
function_swigregister(...)
linear_swigregister(...)
model_swigregister(...)
parameter_swigregister(...)
problem_swigregister(...)
sparse_feature_vector_swigregister(...)
svm_01_swigregister(...)
svm_01_traits_swigregister(...)
svm_dense_swigregister(...)
svm_model_swigregister(...)
svm_parameter_swigregister(...)
svm_problem01_swigregister(...)
svm_problem_swigregister(...)
svm_std_traits_swigregister(...)

 
Data
        L1_LR = 1
L2LOSS_SVM = 2
L2_LR = 0
cos45 = 0.70710676908493042