ibspan.tss.um.stereotyping
Class StereotypingAlgorithm

java.lang.Object
  extended by ibspan.tss.um.stereotyping.StereotypingAlgorithm

public class StereotypingAlgorithm
extends Object

The realizes Stereotyping Algorithm, matching a user to one of known stereotypes. More precisely, a It measures a distance between user-specified characteristics and these appearing in stereotypes to find the best matching stereotype. Then opinions states in the selected stereotype are copied to the user profile. More details about the algorithm can be found in [1,2,3].

Defaults importance weights for each measure in demographic data are given.

  1. "Ontology-based Stereotyping in a Travel Support System." Maciej Gawinecki, Mateusz Kruszyk, and Marcin Paprzycki. In Proceedings of the XXI Fall Meeting of Polish Information Processing Society. 2005.
  2. "Modelling User on the Basis of Interactions with a WWW Based System", Maciej Gawinecki, Adam Mickiewicz University, Poznan. 2005.
  3. "Utilizing Semantic Web and Software Agents in a Travel Support System". In "Semantic Web Technologies and eBusiness: Virtual Organization and Business Process Automation." Maria Ganzha, Maciej Gawinecki, Marcin Paprzycki, Rafa? G?siorowski, Szymon Pisarek, and Wawrzyniec Hyska. Editted by A. F. Salam and Jason Stevens. Idea Publishing Group. 2006.

Author:
Maciej Gawinecki

Field Summary
static double AGE_IMPORTANCE_WEIGHT
          Importance weight of age measure.
static double DRESS_IMPORTANCE_WEIGHT
          Importance weight of dress measure.
static double PROFESSION_IMPORTANCE_WEIGHT
          Importance weight of profession measure.
static double UNKNOWN_PROBABILITY
           
static double WEALTH_IMPORTANCE_WEIGHT
          Importance weight of wealth measure.
 
Constructor Summary
StereotypingAlgorithm(OntModel mUM, OntModel mStereotypesDB, OntModel mProfilesDB, Map weights)
           
 
Method Summary
 void initializeUserProfile(UserProfile u)
          Initialize the given user profile by use of this stereotyping algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AGE_IMPORTANCE_WEIGHT

public static final double AGE_IMPORTANCE_WEIGHT
Importance weight of age measure.

See Also:
Age, Constant Field Values

WEALTH_IMPORTANCE_WEIGHT

public static final double WEALTH_IMPORTANCE_WEIGHT
Importance weight of wealth measure.

See Also:
Wealth, Constant Field Values

DRESS_IMPORTANCE_WEIGHT

public static final double DRESS_IMPORTANCE_WEIGHT
Importance weight of dress measure.

See Also:
Dress, Constant Field Values

PROFESSION_IMPORTANCE_WEIGHT

public static final double PROFESSION_IMPORTANCE_WEIGHT
Importance weight of profession measure.

See Also:
Profession, Constant Field Values

UNKNOWN_PROBABILITY

public static final double UNKNOWN_PROBABILITY
See Also:
Constant Field Values
Constructor Detail

StereotypingAlgorithm

public StereotypingAlgorithm(OntModel mUM,
                             OntModel mStereotypesDB,
                             OntModel mProfilesDB,
                             Map weights)
Parameters:
mStereotypesDB -
mProfilesDB -
weights -
Method Detail

initializeUserProfile

public void initializeUserProfile(UserProfile u)
Initialize the given user profile by use of this stereotyping algorithm.

Parameters:
u - to be profile which is to be initialized; must contain pre-defined UserProfileData, which will be use as a base for the choice of the closest stereotype.