svn_checkout

(PECL svn >= 0.1.0) Checks out a working copy from the repository bool svn_checkout ( string $repos, string $targetpath [, int $revision [, int $flags = 0 ]] ) Checks out a working copy from the repository at repos to targetpath at revision revision. Parameters: repos String URL path to directory in repository to check out. targetpath

svn_cat

(PECL svn >= 0.1.0) Returns the contents of a file in a repository string svn_cat ( string $repos_url [, int $revision_no ] ) Returns the contents of the URL repos_url to a file in the repository, optionally at revision number revision_no. Parameters: repos_url String URL path to item in a repository. revision_no Integer revision num

svn_blame

(PECL svn >= 0.3.0) Get the SVN blame for a file array svn_blame ( string $repository_url [, int $revision_no = SVN_REVISION_HEAD ] ) Get the SVN blame of a file from a repository URL. Parameters: repository_url The repository URL. revision_no The revision number. Returns: An array of SVN blame information

svn_auth_set_parameter

(PECL svn >= 0.1.0) Sets an authentication parameter void svn_auth_set_parameter ( string $key, string $value ) Sets authentication parameter at key to value. For a list of valid keys and their meanings, consult the authentication constants list. Parameters: key String key name. Use the authentication constants defined by this extension to specify a key.

svn_auth_get_parameter

(PECL svn >= 0.1.0) Retrieves authentication parameter string svn_auth_get_parameter ( string $key ) Retrieves authentication parameter at key. For a list of valid keys and their meanings, consult the authentication constants list. Parameters: key String key name. Use the authentication constants defined by this extension to specify a key. Returns:

svn_add

(PECL svn >= 0.1.0) Schedules the addition of an item in a working directory bool svn_add ( string $path [, bool $recursive = true [, bool $force = false ]] ) Adds the file, directory or symbolic link at path to the working directory. The item will be added to the repository the next time you call svn_commit() on the working copy. Parameters: path Path of item to add

SVMModel::save

(PECL svm >= 0.1.0) Save a model to a file public bool SVMModel::save ( string $filename ) Save the model data to a file, for later use. Parameters: filename The file to save the model to. Returns: Throws SVMException on error. Returns true on success. See also:

SVMModel::predict

(PECL svm >= 0.1.0) Predict a value for previously unseen data public float SVMModel::predict ( array $data ) This function accepts an array of data and attempts to predict the class or regression value based on the model extracted from previously trained data. Parameters: data The array to be classified. This should be a series of key => value pairs in increasing k

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

SVMModel::load

(PECL svm >= 0.1.00.1.0) Load a saved SVM Model public bool SVMModel::load ( string $filename ) Load a model file ready for classification or regression. Parameters: filename The filename of the model. Returns: Throws SVMException on error. Returns true on success. See also: