ibspan.tss.um
Class LearningAlgorithm

java.lang.Object
  extended by ibspan.tss.um.LearningAlgorithm

public class LearningAlgorithm
extends Object

  1. "Modelling User on the Basis of Interactions with a WWW Based System", Maciej Gawinecki, Adam Mickiewicz University, Poznan. 2005.

Author:
Maciej Gawinecki

Field Summary
static double DEFAULT_SIGMOID_PARAM_A
           
static double DEFAULT_SIGNIFICANCE_LEVEL
           
 
Constructor Summary
LearningAlgorithm(OntModel mUM, OntModel mProfilesDB, OntModel mDomain, OntModel mStatisticsDB, OntClass learnRoot)
           
 
Method Summary
 void exportStatistics(OntModel statistics)
          Exports statistics to the given model.
 List<ExtendedEvent> extendContext(List<Event> events)
           
 Set<String> getObjectedConcepts(List<ExtendedEvent> events)
          Returns list of concepts that are pointed in event's context by targetURI parameter.
 OntModel getProfile()
           
 Set<Integer> getUsers(List<Event> events)
           
 void learn(List<Event> events)
           
 void setDefaultConf()
           
 void setIndividuals(OntModel mDomainsDB)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SIGNIFICANCE_LEVEL

public static final double DEFAULT_SIGNIFICANCE_LEVEL
See Also:
Constant Field Values

DEFAULT_SIGMOID_PARAM_A

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

LearningAlgorithm

public LearningAlgorithm(OntModel mUM,
                         OntModel mProfilesDB,
                         OntModel mDomain,
                         OntModel mStatisticsDB,
                         OntClass learnRoot)
                  throws com.ibm.adtech.jastor.JastorException
Throws:
com.ibm.adtech.jastor.JastorException
Method Detail

getProfile

public OntModel getProfile()

setDefaultConf

public void setDefaultConf()
                    throws com.ibm.adtech.jastor.JastorException
Throws:
com.ibm.adtech.jastor.JastorException

setIndividuals

public void setIndividuals(OntModel mDomainsDB)

learn

public void learn(List<Event> events)
           throws com.ibm.adtech.jastor.JastorException,
                  UnknownIndividualsException
Throws:
com.ibm.adtech.jastor.JastorException
UnknownIndividualsException

exportStatistics

public void exportStatistics(OntModel statistics)
                      throws com.ibm.adtech.jastor.JastorException
Exports statistics to the given model.

Parameters:
statistics - the model for statistics
Throws:
com.ibm.adtech.jastor.JastorException

extendContext

public List<ExtendedEvent> extendContext(List<Event> events)
                                  throws com.ibm.adtech.jastor.JastorException,
                                         UnknownIndividualsException
Parameters:
events -
mDomain -
mRestaurantsDB -
Returns:
Throws:
com.ibm.adtech.jastor.JastorException
UnknownIndividualsException

getObjectedConcepts

public Set<String> getObjectedConcepts(List<ExtendedEvent> events)
                                throws com.ibm.adtech.jastor.JastorException
Returns list of concepts that are pointed in event's context by targetURI parameter.

Parameters:
events - events to retrieve
Returns:
list of URIs of found concepts
Throws:
com.ibm.adtech.jastor.JastorException

getUsers

public Set<Integer> getUsers(List<Event> events)
                      throws com.ibm.adtech.jastor.JastorException
Throws:
com.ibm.adtech.jastor.JastorException