% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/artifact-svm-bridge.R
\name{flag_gazepoint_artifacts_svm}
\alias{flag_gazepoint_artifacts_svm}
\title{Flag EDA artifacts with a user-supplied SVM-style model}
\usage{
flag_gazepoint_artifacts_svm(
  x,
  model = NULL,
  feature_cols = NULL,
  probability_threshold = 0.5,
  ...
)
}
\arguments{
\item{x}{Either raw EDA data or output from
\code{prepare_gazepoint_artifact_svm_features()}.}

\item{model}{Optional model object or function. If \code{NULL}, features are
returned with missing artifact predictions.}

\item{feature_cols}{Optional feature columns used by the model.}

\item{probability_threshold}{Threshold for artifact probability.}

\item{...}{Passed to \code{prepare_gazepoint_artifact_svm_features()} when \code{x}
is raw data.}
}
\value{
A data frame with artifact probabilities/classes where available.
}
\description{
Applies a user-supplied model or prediction function to segment-level
artifact features. No pretrained model is bundled, so this function avoids
pretending to reproduce any proprietary or externally trained classifier.
}
