SubjectsSubjects(version: 845)
Course, academic year 2019/2020
   Login via CAS
Social network and their analysis - NAIL116
Title in English: Sociální sítě a jejich analýza
Guaranteed by: Department of Theoretical Computer Science and Mathematical Logic (32-KTIML)
Faculty: Faculty of Mathematics and Physics
Actual: from 2019 to 2019
Semester: winter
E-Credits: 6
Hours per week, examination: winter s.:2/2 C+Ex [hours/week]
Capacity: unlimited
Min. number of students: unlimited
State of the course: taught
Language: English
Teaching methods: full-time
Guarantor: doc. RNDr. Iveta Mrázová, CSc.
RNDr. František Mráz, CSc.
Class: Informatika Mgr. - Teoretická informatika
Classification: Informatics > Informatics, Software Applications, Computer Graphics and Geometry, Database Systems, Didactics of Informatics, Discrete Mathematics, External Subjects, General Subjects, Computer and Formal Linguistics, Optimalization, Programming, Software Engineering, Theoretical Computer Science
Annotation -
Last update: RNDr. Jan Hric (07.05.2018)
The concept of social networks is widely used to model mutual relationships between people (but also between other objects like chemical compounds). Intriguing problems from this area range from finding important structural patterns that influence interaction among the considered actors across sentiment analysis that studies people´s opinions, emotions, and attitudes to the analysis and evolution of the network structure itself. Recently, the trends have shifted rather towards online social networks (e.g., Facebook, LinkedIn and MySpace) which allow for efficient data collection.
Aim of the course -
Last update: RNDr. Jan Hric (07.05.2018)

The course reviews fundamental paradigms and algorithms used in the area of social networks. An important part of the lecture/seminar will represent the design and implementation of an own application in order to facilitate deeper understanding of both the social networks and the means applicable to their analysis. Knowledge at the extent of the bachelors´ course NDBI025 Database systems is expected as well as knowledge of the Python language at least on the level of the introductory course in programming for year 1 of the bachelor study program.

The course is given (only) in English.

Course completion requirements -
Last update: RNDr. František Mráz, CSc. (09.07.2019)

A) The seminar

Step by step, in an accompanying Moodle course there will be published assignments and quizzes.


Each assignment has a deadline till which the assignment should be submitted for grading. A draft solution of an assignment can be edited at any time, but the time of submission is the time you click the button "Submit assignment". After clicking this button you cannot edit your submission anymore, but you can ask (per e-mail) your teacher to return the assignment back into the draft state. Each submitted assignment will be graded by the teacher with 0-10 points. During the semester, you will solve 3 assignments.

A typical solution for an assignment will consist of a text - a description of the solution - and a code of a program/script used for solving the assignment. Submit your texts as a PDF-file or alternatively as an RTF-file. The source codes should be submitted as plain ASCII files.

Warning: If N≥2 participants of the course will submit solutions which are very similar or identical, all these solutions will be considered as a single solution. The solution will be graded by B points according to its quality and all students who submitted it will obtain only the integer part of the value B/N points.


Beside the assignments, you will solve several on-line quizzes. For the first so-called entrance test you can obtain at most 10 points. During the term there will be assigned several short tests for at most 10 points altogether. Each quiz will have set up also a deadline. In contrast to assignments it will be not possible to solve any quiz after its deadline.

For obtaining credits for the seminar it is necessary:

  1. To solve all the assignments and to obtain at least 1 point for each solution. WARNING: a late submission of a solution will be penalized by 1 point for each started week of the delay after the deadline.
  2. To prepare and to present a term project in a seminar in the last week of this term or on a date (during the following exam period) which will be set-up on a seminar within the last week of this term. Subject for the project will be discussed in a seminar in the middle of this term. Each project will be graded up to 15 points according to its quality.

The quizzes are not among the necessary conditions for obtaining credits for the seminar. During seminars it is possible to obtain additional points

  • for demonstrating a solution of a problem assigned during a seminar - 1 point,
  • for demonstrating a solution submitted as a solutions for an assignment in Moodle (after its deadline) - the integer part of the half of the number of point awarded for the solution (after evaluating by the teacher)

Except for the additional points, it is possible to obtain up to 65 points. All points obtained during seminars will be accounted for up to 35% of the final score of the exam. However, when a student will obtain more than 65 points within seminaries (counting also additional points), these points will still account for only 35% of the final score of the exam.

Continuous work throughout the whole term is required to obtain the credits, therefore there will be no additional possibilities to acquire them later.

B) The lecture

The lecture will be given once per week according to the schedule. As already mentioned above, points acquired within the seminars will account for up to 35% of the final score for the exam. Further, there will be two written tests which will be written during lectures. The dates for the written tests will be set up within the first week of the semester and published in the accompanying Moodle course.

Each of these tests will be graded with 0-10% towards the final score. The exam at the end of this term will add up to the remaining 45% to the final score. The following table gives the final grade according to achieved score:

grade 1 grade 2 grade 3 failure
100%–86% 85%–71% 71%–56% less than 56%

Literature -
Last update: RNDr. Jan Hric (29.04.2018)
  • Charu C. Aggarwal (Ed.): Social Network Data Analytics, Springer, 2011
  • Amy N. Langville, Carl D. Meyer: Google´s PageRank and Beyond: The Science of Search Engine Rankings, Princeton University Press, 2006
  • Bing Liu: Sentiment Analysis: Mining Opinions, Sentiments, and Emotions, Cambridge University Press, 2015

Syllabus -
Last update: RNDr. Jan Hric (07.05.2018)
  1. Introduction to the area:
    • Information retrieval, web search, social network analysis
    • Main areas of interest in social networks and future directions
  2. Fundamental paradigms of social network analysis:
    • Data and model description, text and web page pre-processing, graph data models, static and dynamic graph properties
    • Subgraph isomorphism, maximum common subgraph problem
    • Matching and distance computation in graphs
    • Topological descriptors for graph structures
    • Frequent substructure-based transformations and mining in graphs
    • Graph clustering and graph classification
  3. Techniques for web data mining:
    • Web crawling and resource discovery
    • Search engine indexing and query processing, web spamming
    • Ranking algorithms: PageRank and HITS
    • Recommender systems: content-based methods, collaborative filtering, graph-based methods, clustering methods, latent factor models
    • Web usage mining: data collection and pre-processing, discovery and analysis of web usage patterns
  4. Approaches to social network analysis:
    • Introduction and main properties, measures of centrality and prestige
    • Community detection: Kernighan-Lin algorithm and its analysis, clustering algorithms, overlapping communities
    • Node classification and label propagation, social influence analysis, detection of experts in social network
    • Evolution and link prediction in social networks
  5. Applications:
    • Sentiment analysis
    • Opinion mining - Feature-based opinion mining and summarization, opinion search and opinion spam
    • Data, text and multimedia information mining in social networks
    • Advertizing on the web
Charles University | Information system of Charles University |