R/RcppExports.R

Defines functions BSGDWrapperTrain BSGDWrapperPredict DeepNetworkWrapperTrain DeepNetworkWrapperPredict

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

BSGDWrapperTrain <- function(X, Y, C, budget, gamma, epochs, budgetMaintenanceStrategy, verbose = FALSE) {
    .Call('RcppShark_BSGDWrapperTrain', PACKAGE = 'RcppShark', X, Y, C, budget, gamma, epochs, budgetMaintenanceStrategy, verbose)
}

BSGDWrapperPredict <- function(X, alpha, SV, offset, gamma, verbose = FALSE) {
    .Call('RcppShark_BSGDWrapperPredict', PACKAGE = 'RcppShark', X, alpha, SV, offset, gamma, verbose)
}

DeepNetworkWrapperTrain <- function(X, Y, nHidden1 = 8L, nHidden2 = 8L, unsupRegularisation = 0.001, noiseStrength = 0.3, unsupIterations = 100L, regularisation = 0.0001, iterations = 200L, verbose = FALSE) {
    .Call('RcppShark_DeepNetworkWrapperTrain', PACKAGE = 'RcppShark', X, Y, nHidden1, nHidden2, unsupRegularisation, noiseStrength, unsupIterations, regularisation, iterations, verbose)
}

DeepNetworkWrapperPredict <- function(X, weights, nHidden1, nHidden2, inputSize, outputSize, verbose = FALSE) {
    .Call('RcppShark_DeepNetworkWrapperPredict', PACKAGE = 'RcppShark', X, weights, nHidden1, nHidden2, inputSize, outputSize, verbose)
}

Try the RcppShark package in your browser

Any scripts or data that you put into this service are public.

RcppShark documentation built on May 30, 2017, 6:20 a.m.