Today my mother asked: are you getting along well in Ireland? If not, come back. My father said: nobody helps him washing his hair everyday when I am not there. I want to cry and fly back immediately. I am so lucky to have them as my family. Guess I am not a good daughter. They are getting older, but I am not around. I do not concern about them and do not help them with housework. I only cause loads of trouble for them. I am not a child any more, and I should think how to take care of my parents. Hope everything goes well with them.
It’s a start?
17 01 2007Now it’s 16:00. It seems today has passed, and half of this week has passed. I am not productive at all. In my mind, I have lots of things to do, and to worry. First of all, I need to continue researching on location paper, and to study category theory knowledge. Any of them can take all my time. However, I have no spirit for working now. I began disliking myself. Such a stupid, lazy woman!
I also worry about my phd work. I always feel uncertainty about my future. I donot know what I am doing is on the way. I donot know where I will reach.
I have worked on contextual models, but even I can not count how many models are popular now, and what proplem they have. However, I may know some, at least ORM by Henricken, and ontologies, while I donot know where I should put my work in.
I have worked on category theory, but I donot know how category theory is applied. I have read some papers about applying category theory in conceptual data model, but I got lost in mathematical definition and proof. I read some categorical books, but the speed I forgot is quicker than that I read
I have worked on applying lattice to uncertainty prolems in location models. I donot really grasp the spirit of lattice, and donot know how to define meaningful join and meet operations.
I have worked on buidling location ontologies, but I donot know where my work is, how I compare my work with others’, and how I implement location ontologies.
All the above are what I have done in the temporal sequence. In each part, I only know little, and leave the key problems unsolved.
Anyway, this may be a phd’s life: always worried, busy, and afraid……
Comments : 2 Comments »
Categories : Personal
How to organize my files……
7 09 2006Recently I am writing my theis proposal. I read the former papers again, and I try to classify them into different folders. The problem is that I have at least three ways to group the papers:
- into have-read or not-finished;
- into state-of-the-art or related-work;
- into most-important, worth-reading, little-related;
I have tried to rename the file to specify the above information, but I still don’t like it. Usually we read a lot of papers, and we try to write a summary to abstract the novelty of the paper and compare it with our own work. How do we relate those information with each paper? I write the summary with latex, so I can associate each summary with its bibtex. However, it is still not convinient for me to find the paper in my disk. Maybe I should rename all the papers with their index in bibliography, plus the above classification information.
I think the work may be troublsome and inefficient. Is there an efficient tool for managing and organizing the files in disk? The tool can support multiple classfications and attach other information for the files. Additionally, it supports advanced queries: not only the typical ones like name, author, key words and etc, but also the complexed ones like most frequently read, most related, latest, and etc. I am not sure.
Comments : Leave a Comment »
Categories : messy ideas
Start Latex
25 01 2006Start Latex frome here:
\documentclass[a4paper, twoside] {article}
\title{Title_of_Article}
\author{Author}
\begin{document}
\maketitle
…here write down what you want…
\end{document}
Above is the document you what to create. You can edit it in any editing tools, such as Eclipse, notepad, WinEdt, etc. Just save it as ” *.tex ” file (for example, firstDoc.tex).
In windows, you run them in command:
- latex firstDoc.tex -> then firstDoc.dvi will be created to read and another file firstDoc.log records some information of your original file.
- pdftex firstDoc.tex then firstDoc.pdf will be created……
Hints:
- About mathematics: if you want to write some mathematical functions, use $ to embrace them. Example: $f(x)=x \times y$. Oh, you see \times means multiple. Yeah, in latex the commands are begin with \. Many mathematical symbols are created with that kind of commands. Of course, there is another way to express mathematics: \begin{displaymath} ……\end{displaymath}. Here, no $ is needed between those clauses.
- If you want to draw a diagram, add the following two clauses between \documentclass and \begin{document}: (1) \input xy; (2) \usepackage[all]{xy}.
- Just start writing your document, and learn waht is needed to know step by step.
Some tips from others:
About bibliography:
add the following two sentences before \end{document}
\bibliographystyle{abbrv}
\bibliography{bibliography}
How to name your reference paper in a standard way:
authorsSirname+Year+FirstkeywordsInTitle, such as
@ARTICLE{Ranganathan2004Ontologies,
author = {Anand Ranganathan and Robert E Mcgrath and Roy H Campbel and M Dennis Mickunas},
title = {Use of ontologies in a pervasive computing environment.},
journal = {The Knowledge Engineering Review},
year = {2004},
volume = {18:3},
pages = {209-220},
}
How to display two figures in parallel:
\begin{figure}
\begin{minipage}[t]{2.5cm}
\includegraphics[scale=0.3]{*.jpg}
\caption{*}
\end{minipage}
\hfill
\begin{minipage}[t]{6cm}
\includegraphics[scale=0.3]{*.jpg}
\caption{}
\end{minipage}
\hfill
\end{figure}
Of course, if you want to show the figures, you need to add the following sentences in front of the document to load the packages:
\usepackage[pdftex]{graphicx}
\usepackage{graphics}
About some shortcut definitions to enumerize:
\def\ul{\begin{itemize}}
\def\eul{\end{itemize}}
\def\li{\item}
\def\ol{\begin{enumerate}}
\def\eol{\end{enumerate}}
Comments : Leave a Comment »
Categories : Latex, Uncategorized
Some papers
8 01 20061. Using the Object-Oriented Paradigm to Model Context in Computer Go
(1) Using OOP to model contextual information, temporal, goal, spatial and global;
(2) A general class with specialized classes, a master slot of a class and slave slots, a list of goals that depend on each other. A master slot fixes the context and the usefulness of the slave slots.
2. An ontology-based context model in intelligent environment
Based on ontology, the paper uses owl to model context, semantic context representation, context reasoning and knowledge sharing, context classification, context dependency and quality of context. Classification -> capture various contexts: (1) direct  -> from a context provider (sensed, derived); (2) indirect: aggregation and reasoning.
Dependency tag to the property associated with a specific context class -> capture relationship between context information.
 Annotating sensed context with extensible quality constraints -> quality
(1) Analyze existing contextual models and classify then into three types: application-oriented, model-oriented, ontology-oriented.
(2) Describe characteristics of context information: great variety, varying in different sub-domains, interrelated, inconsistent.
(3) Domain-specific: a collection low-level ontology defining the details of general concepts and their properties in each sub-domain; Upper ontology: a high level ontology capturing general context knowledge about the physical world
Advantages: domain-specific shares the load of the whole system; upper ontology shares common understanding, semantic interoperability, reuse of domain knowledge, formal analysis.
(4) Classification: to perform context reasoning based on confidence level of each type of context;
(5) Quality: based on attributes. Quality (quality indicators of owl properties) constraints are associated with a number of quality parameters, which capture the dimensions of quality relevant to the attributes of entities and relationships between entities.
3. Experiences in using CC/PP in context-aware systems
Contextual models describe: 1) the features of the whole computing environment (user, computing devices, network, OS, distributed computing platform); 2) user’s computing applications, requirements and preferences; 3) computing application’s requirements; 4) information about how the requirement are currently met by the computing environment; 5) constraints and relationships existing in the computing environment; 6) dependencies between context information.
Goal: Extend CC/PP vocabulary: user context information, device capabilities, and application requirement and their current status. A large amount of research about context and pervasive computing is similar to AI, whose goal is to å°½å?¯èƒ½å‡?少用户干预,æ?•æ?‰æ›´å¤šçš„环境信æ?¯ï¼Œ å?‘用户æ??供最å?¯é? ,准确的信æ?¯å’Œå¸®åŠ©ã€‚æ”¶é›†ä¿¡æ?¯Â -> 分æž? -> æ??供(å?¯é? ,准确,安全)。 如何ç›é€‰ï¼Œè¡¨ç¤ºï¼Œç»„织,集æˆ?ä¸?å?Œçš„ä¿¡æ?¯åˆ™ä¾?æ?®ä¸?å?Œçš„æ?¥æº?和目的。
Comments : 1 Comment »
Categories : Report, Research, Uncategorized
Web scraping for Weather information
31 12 2005This is the first time I use python to scrape web information. I want to write some experiences for that.
 1. About Regular Expression:
  [^>]*: anything in which begins with font;
  \(: use back dash \ following any symbol you want to match (i.e., here ( );
 [^\n]*: means to change to a new line at the end of a line;
  [\w][\w] or [\w]{1,2}: means to match one or two words;
 [\w]* or [\w]+: means >=0 or >=1;
 ([A-Z][A-Z]?): one or two capital letters;
 [\d]: for digitals;
  | : means or ;
 [\d\.]+: for float digitals;
 2. About Web Scraping:
   (1) open URL –> urllib.urlopen(url);
   (2) get source code of URL –> sock.read();
   (3) localise what you want to scrape through regular expression
            –> matcher=re.compile(RE)
                  elements=mather.search(htmlSource) or findall(htmlSource)
                  [search: returns one element;
                    findall: returns a list of results;]
  (4) read resultsÂ
          –> for x, y in enumerate(elements):
                [x -> index of the list; y -> the value]
 3. The whole program:
Comments : 2 Comments »
Categories : Research, Uncategorized
category
23 11 20051. what is category?
In a category, there are a set of objects, a set of arrows to build relationship between objects. They keep identity and associative rules.
Comments : Leave a Comment »
Categories : Uncategorized