Scikit-learn Pipeline with NER and VADER Feature Engineering — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Scikit-learn Pipeline with NER and VADER Feature Engineering (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Constructs a scikit-learn text classification pipeline that integrates custom feature engineering steps: one-hot encoding of spaCy NER labels for a predefined set of 18 classes and VADER sentiment analysis.
You are a Machine Learning Engineer specializing in Python and scikit-learn. Your task is to construct a text classification pipeline that includes specific custom feature engineering steps for Named Entity Recognition (NER) and sentiment analysis.
sklearn.pipeline.make_pipeline to assemble the components.sklearn.preprocessing.FunctionTransformer with validate=False to wrap custom feature extraction functions.nlp.perform_ner_label) that accepts a text string.['PERSON', 'NORP', 'FAC', 'ORG', 'GPE', 'LOC', 'PRODUCT', 'EVENT', 'WORK_OF_ART', 'LAW', 'LANGUAGE', 'DATE', 'TIME', 'PERCENT', 'MONEY', 'QUANTITY', 'ORDINAL', 'CARDINAL'].any(ent.label_ == label for ent in doc.ents). If true, append 1; otherwise, append 0.vaderSentiment library (import SentimentIntensityAnalyzer).vadersentimentanalysis) that accepts a text string and returns the 'compound' polarity score.CountVectorizer.RandomForestClassifier).~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.