Files
NLP/lab1/configs/default.toml

28 lines
1.0 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Конфигурация по умолчанию для экспериментов.
# Все пути указаны относительно каталога lab1.
[data]
path = "data/dialogues.csv"
cache = "data/processed/tokenized.pkl"
[cv]
folds = 5
repeats = 5
seed = 42
[experiment]
# Основной набор: ручные признаки + символьные и частеречные n-граммы + LSA.
preset = "stylometry_pos_lsa"
model = "logreg"
[features]
# Эти параметры описаны в stylometry/pipelines.py и могут переопределяться
# программно. В командной строке удобнее выбирать готовый preset.
# Параметры, которые зависят от preset (например, lsa_variants и
# stylo_normalize), здесь не задаются, чтобы не переопределять preset.
char_ngram_range = [2, 5]
pos_ngram_range = [1, 3]
lsa_components = 100
min_df = 3
stylo_scaler = "standard"