











































Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!












































Dipartimento di Informatica Sistemi e produzione
Università di Roma “Tor Vergata”^ Email:
TC Introduction TC designing steps Rocchio text classifier Support Vector Machines The Parameterized Rocchio Classifier (PRC) Evaluation of PRC against Rocchio and SVM
Given:
a set of target categories: the set
T^
of documents,
define
f : T
C
VSM (Salton89’)
Features are dimensions of a Vector Space. Documents and Categories are vectors of feature weights. d^ is assigned to
if
{^
}
n
i C
The Vector Space ModelThe Vector Space Model
Berlusconi Bush
Totti
Bush declareswar.Berlusconigives support
WonderfulTotti in theyesterdaymatch againstBerlusconi’sMilan
BerlusconiacquiresInzaghibeforeelections
d^1 : Politic
d^1
d^2
d^3
: Politics Category
d^2 : Sport
d^3 :Economi
: Sport Category
Corpus pre-processing (e.g. tokenization, stemming) Feature Selection (optionally)
Document Frequency, Information Gain,
χ^2
, mutual
information,... Feature weighting
for documents and profiles Similarity measure
between document and profile (e.g. scalar product) Statistical Inference
threshold application Performance Evaluation
Accuracy, Precision/Recall, BEP, f-measure,..
Feature SelectionFeature Selection
Un certo numero di feature potrebbero non essererilevanti Per esempio, in TC le “function words” come “the”,“on”,”those”… L’algoritmo di learning ha due benefici:
Migliora l’efficienza Migliora l’accuratezza Ordinare le feature per rilevanza e prendere le
m
più
rilevanti
Statistical SelectorsStatistical Selectors
Chi-square, Pointwise MI e MI
Probability EstimationProbability Estimation
Global SelectorsGlobal Selectors
Document weighting: an exampleDocument weighting: an example
N, the overall number of documents, Nf
,^ the number of documents that contain the feature
f
the occurrences of the features
f in the document
d
The weight
f^ in a document is:
(^2) ) (
'
dt
d f d t
d f
w^ w
w
d f
d f f
d f^
, the weight of
f^
in^
d
Several weighting schemes (e.g. TF * IDF, Salton 91’)^ , the profile weights of
f^
in^
Ci
, the training documents in d^ is assigned to
if
i f
∑∈
T^ i d
f
i
i f^
β
∑^ ∈^ Ti d
f
i
γ
T^ i
i C
i C
Feature Selection interpretation ofFeature Selection interpretation ofRocchio parametersRocchio parameters
Literature work uses a bunch of values for
β^
and
γ
Interpretation of positive (
β) vs. negative (
γ) information
⇒
value of
β^
>^ γ
(e.g. 16, 4)
Our interpretation
[IJAIT 2002, ECIR 2003]:
Remove one parameters 0 weighted features do not affect similarity estimationρ^ increasing causes many feature to be set to 0
they are removed
∑∈
T^ i d
f
i
i f^
∑^ ∈^ Ti d
f
i
ρ
Feature Selection interpretation ofFeature Selection interpretation ofRocchio parameters (cont’d)Rocchio parameters (cont’d)
By increasing
Features that have a high negative weights get firstly a zero value High negative weight means very frequent in the other categories
⇒^
zero weight for irrelevant features
If
is a feature selector set it according to standard feature selection strategies [Yang, 97] Moreover, we can find a maximal value
(associated
with all feature removed) This interpretation enabled
γ^
>>
β