SVM::__construct

(PECL svm >= 0.1.0) Construct a new SVM object public SVM::__construct ( void ) Constructs a new SVM object ready to accept training data. Returns: Throws SVMException if the libsvm library could not be loaded

ZipArchive::setExternalAttributesIndex

(PHP 5 >= 5.6.0, PHP 7, PECL zip >= 1.12.4) Set the external attributes of an entry defined by its index bool ZipArchive::setExternalAttributesIndex ( int $index, int $opsys, int $attr [, int $flags ] ) Set the external attributes of an entry defined by its index. Parameters: index Index of the entry. opsys The operating system co

Locale::getPrimaryLanguage

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Gets the primary language for the input locale public static string Locale::getPrimaryLanguage ( string $locale ) Object oriented style Procedural style string locale_get_primary_language ( string $locale ) Gets the primary language for the input locale Parameters: locale The locale to extract the primary language cod

SolrClient::__construct

(PECL solr >= 0.9.2) Constructor for the SolrClient object public SolrClient::__construct ( array $clientOptions ) Constructor for the SolrClient object Parameters: clientOptions This is an array containing one of the following keys : - secure (Boolean value indicating whether or not to connect in secure mode) - hostname (The hostname for the Solr se

Memcached::getServerList

(PECL memcached >= 0.1.0) Get the list of the servers in the pool public array Memcached::getServerList ( void ) Memcached::getServerList() returns the list of all servers that are in its server pool. Returns: The list of all servers in the server pool. Examples: Memcached::getServerList() example <?php $m = new Mem

sybase_fetch_row

(PHP 4, PHP 5, PHP 7) Get a result row as an enumerated array array sybase_fetch_row ( resource $result ) sybase_fetch_row() fetches one row of data from the result associated with the specified result identifier. Subsequent call to sybase_fetch_row() would return the next row in the result set, or FALSE if there are no more rows. Parameters: result sybase_fetch_row() f

Imagick::sharpenImage

(PECL imagick 2.0.0) Sharpens an image bool Imagick::sharpenImage ( float $radius, float $sigma [, int $channel = Imagick::CHANNEL_ALL ] ) Sharpens an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and Imagick::sharpenImage() selects a suitable radius for you. Paramete

ingres_fetch_object

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres >= 1.0.0) Fetch a row of result into an object object ingres_fetch_object ( resource $result [, int $result_type ] ) This function is similar to ingres_fetch_array(), with one difference - an object is returned instead of an array. Indirectly, this means that you can access the data only by the field names and not by their offsets (numbers are illegal property names). W

Locale::parseLocale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns a key-value array of locale ID subtag elements. public static array Locale::parseLocale ( string $locale ) Object oriented style Procedural style array locale_parse ( string $locale ) Returns a key-value array of locale ID subtag elements. Parameters: locale The locale to extract the subtag array from. Note: T

SVMModel::predict_probability

(PECL svm >= 0.1.4) Return class probabilities for previous unseen data public float SVMModel::predict_probability ( array $data ) This function accepts an array of data and attempts to predict the class, as with the predict function. Additionally, however, this function returns an array of probabilities, one per class in the model, which represent the estimated chance of the data supplied being a member of that class. Re