Network Science Quiz

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

What is the primary function of the neural network?

  • To supply energy to modern technology
  • To facilitate communication between devices
  • To describe the connections between neurons (correct)
  • To maintain trade of goods and services

Which of the following best describes the role of social networks?

  • They are responsible for epidemic control.
  • They represent the fabric of society and influence behavior. (correct)
  • They determine the exchange of energy resources.
  • They connect communication devices for modern technology.

What type of network is primarily concerned with exchanging goods and services?

  • Neural network
  • Power grid
  • Communication network
  • Trade network (correct)

In the context of networks, what do nodes represent?

<p>Entities such as genes or neurons (D)</p> Signup and view all the answers

What is the relationship represented by links in a network?

<p>The relations such as regulation or kinship (B)</p> Signup and view all the answers

Which aspect is NOT mentioned as a focus of network science?

<p>Psychology (D)</p> Signup and view all the answers

In the Seven Bridges of Königsberg problem, what was the main objective?

<p>To cross each bridge once and only once (C)</p> Signup and view all the answers

How is the strength of a node related to its effectiveness in a network?

<p>It is influenced by the number of connections it has. (A)</p> Signup and view all the answers

What does betweenness in a network indicate?

<p>The number of shortest paths passing through a node or edge (C)</p> Signup and view all the answers

What is the purpose of centrality measures in complex networks?

<p>To identify the core entities and relations within the network (D)</p> Signup and view all the answers

How do the centrality measures help in studying networks?

<p>By evaluating resilience to node or link removal (C)</p> Signup and view all the answers

Which of the following models is associated with the Small World phenomenon?

<p>Watts-Strogatz model (D)</p> Signup and view all the answers

What type of network is described as having hubs with high connectivity?

<p>Scale-Free Network (A)</p> Signup and view all the answers

Which selection method is used in the setup of the MuGA tool?

<p>Tournament Selection (D)</p> Signup and view all the answers

What parameter change is suggested for running the algorithm on a small problem?

<p>Reduce the number of generations to 40 (B)</p> Signup and view all the answers

Which type of mutation is selected in the MuGA configuration?

<p>Real-valued Gaussian Mutation (A)</p> Signup and view all the answers

What is the purpose of changing the view in the Main Population window?

<p>To visualize the population dynamics (B)</p> Signup and view all the answers

What happens when the stop criteria are met during the algorithm's execution?

<p>The algorithm halts and displays results (C)</p> Signup and view all the answers

Which of the following strategies is suggested to experiment with different setups in MuGA?

<p>Vary the probability of mutation while changing crossover rates (A)</p> Signup and view all the answers

In the context of MuGA, what is indicated by ‘bi-stable’ states?

<p>The population fluctuates between two optimal states (D)</p> Signup and view all the answers

What must be done after selecting 'real coded' and 'F3_Shifted_Rosenbrock' in the Setup?

<p>Change 'Parameters' to the number of variables (C)</p> Signup and view all the answers

What does each node in the large graphs represent in the simulations?

<p>A specific bacteria population (B)</p> Signup and view all the answers

What process is involved in the network simulation?

<p>Edge list creation (B)</p> Signup and view all the answers

How many generations are simulations run for in the experimental setup?

<p>2500 generations (B)</p> Signup and view all the answers

What does the Simpsons Index of Diversity (SID) measure in the context of the simulations?

<p>Diversity of populations (D)</p> Signup and view all the answers

What is the significance of the 'exchange between nodes' in the simulation process?

<p>It occurs after a cycle of evolutions (A)</p> Signup and view all the answers

Which of the following is NOT included in the simulation process for each node?

<p>Environmental conditions (A)</p> Signup and view all the answers

What does the 'recombination rate' refer to in the context of the individual profiles in simulation?

<p>Frequency of allele mixing events (A)</p> Signup and view all the answers

Which computational model is mentioned for handling the data in the simulations?

<p>GraphX (A)</p> Signup and view all the answers

Which of the following platforms is NOT mentioned as a service to run Jupyter notebooks in the cloud?

<p>AWS Notebooks (C)</p> Signup and view all the answers

What is one of the main challenges in validating methods used for studying pathogen populations?

<p>Small size of accessible real pathogen population samples (B)</p> Signup and view all the answers

Which question addresses the diversity of bacterial populations in relation to mixing?

<p>Are all populations well-mixed? (C)</p> Signup and view all the answers

Which service can be used to run Jupyter notebooks that provides a collaborative environment specifically for data science?

<p>Datalore (B)</p> Signup and view all the answers

What evolutionary model is mentioned as a basis for explaining the population structure of human pathogens?

<p>Neutral mutational drift model (D)</p> Signup and view all the answers

What aspect of bacterial populations is questioned regarding the absence of selection phenomena?

<p>Genetic diversity (D)</p> Signup and view all the answers

Among the following, which service provides an online code execution environment specifically tailored for interactive machine learning?

<p>Google Colab (B)</p> Signup and view all the answers

Which question reflects a consideration for host contact networks' effects on bacterial populations?

<p>What is the impact of host contact network topologies? (B)</p> Signup and view all the answers

What is a primary characteristic of communities in a network?

<p>Communities have many internal links among their nodes. (B)</p> Signup and view all the answers

Which of the following is NOT a common method for community detection in networks?

<p>Frequency analysis (C)</p> Signup and view all the answers

What does link betweenness measure in a network?

<p>The importance of a link based on how many shortest paths pass through it. (C)</p> Signup and view all the answers

What is the significance of modularity in community detection?

<p>It helps to measure the density of connections within a community compared to the expected density. (C)</p> Signup and view all the answers

Which clustering method focuses on identifying partitions with high internal connectivity?

<p>Stochastic block model (A)</p> Signup and view all the answers

Which tool is specifically designed for visualizing and analyzing networks?

<p>Gephi (C)</p> Signup and view all the answers

In terms of community detection, what is a defining characteristic of algorithms based on hierarchical clustering?

<p>They do not require prior knowledge of the number of communities. (C)</p> Signup and view all the answers

What is the relationship between internal and external links in a well-separated community?

<p>There are many internal links and few external links. (A)</p> Signup and view all the answers

Flashcards

Network (Graph Theory)

A collection of interconnected entities, where each entity is represented by a node (also known as a vertex) and the relationships between them are represented by links (also known as edges).

Network Science

Describes how the elements within a system interact with each other. It can be used to analyze various systems, including communication, social, biological, and technological networks.

Neural Network

A network where the connections between neurons represent how information flows within the brain. It's crucial for understanding brain function and consciousness.

Social Network

A network of people who are connected through various relationships, including professional, friendship, and family ties. It shapes the spread of information, behaviors, and resources.

Signup and view all the flashcards

Communication Network

Represents the infrastructure that connects communication devices through wired or wireless links. It's essential for modern communication systems.

Signup and view all the flashcards

Power Grid

A network of power generators and transmission lines that provides energy to various technologies. It's crucial for modern society's functionality.

Signup and view all the flashcards

Trade Network

A network of connections that enables the exchange of goods and services globally. It's fundamental to international trade and economic prosperity.

Signup and view all the flashcards

The Seven Bridges of Königsberg

A classic problem that asks if it's possible to walk through a city, crossing each bridge exactly once. It's related to understanding the structure and properties of networks.

Signup and view all the flashcards

Genetic Algorithm

A genetic algorithm (GA) is a search technique based on the principles of natural selection and evolution, where a population of candidate solutions evolves over generations. Each generation, individuals are evaluated based on their fitness, and the best solutions are selected to reproduce and create offspring. This process continues until a suitable solution is found.

Signup and view all the flashcards

MUGA Tool

The MUGA tool is a software application that simulates a genetic algorithm. You can use it to experiment with different parameters and analyze their effect on the algorithm's performance.

Signup and view all the flashcards

Objective Function

The objective function is a mathematical function that defines the problem to be solved by a genetic algorithm. It evaluates the fitness of each solution in the GA population. The goal is to find the solution that minimizes or maximizes the objective function.

Signup and view all the flashcards

Real Coded Representation

The 'Real Coded' representation is a way of encoding individuals in the GA's population using real-valued numbers. This representation is often used when working with continuous optimization problems.

Signup and view all the flashcards

Simple Population

Simple population is a method of population management in a genetic algorithm where new generations are created directly from the previous one. This avoids techniques like merging populations or using multiple subpopulations.

Signup and view all the flashcards

Rosenbrock Function

The Rosenbrock function is a benchmark function often used in optimization problems. It is a challenging optimization landscape with a global minimum and many local minima, making it a good test for the effectiveness of a genetic algorithm.

Signup and view all the flashcards

Mutation

Mutation is a genetic operator that introduces randomness into the evolution process of a genetic algorithm. It is used to explore new areas of the search space and prevent the algorithm from getting stuck in local optima.

Signup and view all the flashcards

Selection

Selection is a core component of the genetic algorithm, which determines which individuals from the current population will be selected to reproduce and produce offspring for the next generation. This process ensures that fitter individuals are more likely to be chosen for reproduction, driving the algorithm toward better solutions.

Signup and view all the flashcards

Betweenness Centrality

The number of shortest paths that pass through a specific node or edge in a network.

Signup and view all the flashcards

Small-World Network

A network model where nodes are randomly connected, but with a high clustering coefficient, meaning many nodes have close neighbors.

Signup and view all the flashcards

Scale-Free Network

A network where the degree distribution follows a power law - meaning there are a few nodes with many connections (hubs) and many nodes with only a few connections.

Signup and view all the flashcards

Centrality Measures

Measures used to identify the most important nodes and edges in a network based on their position and connections.

Signup and view all the flashcards

Degree Centrality

Measures the number of connections a node has in a network.

Signup and view all the flashcards

Closeness Centrality

Focuses on the shortest paths between all pairs of nodes in a network. It considers how closely connected nodes are to each other.

Signup and view all the flashcards

Community

A group of nodes that are densely connected within a network.

Signup and view all the flashcards

Community Detection

A method for identifying communities within a network, based on the idea that communities have many internal links and few links connecting different communities.

Signup and view all the flashcards

Modularity

A measure of how well the network is divided into communities.

Signup and view all the flashcards

Community Detection Algorithms

Algorithms that try to find the best division of a network into communities based on a specific metric, like modularity.

Signup and view all the flashcards

Cloud-Based Jupyter Notebook Services

Running Jupyter notebooks in the cloud provides flexibility and accessibility for data science and machine learning tasks. These services offer pre-configured environments with various libraries and tools, allowing users to work remotely without setting up their own systems.

Signup and view all the flashcards

Examples of Cloud Jupyter Notebook Services

Google Colab, Binder, Kaggle Kernels, Azure Notebooks, Datalore, and Gryd are examples of popular cloud platforms that offer free Jupyter notebook environments.

Signup and view all the flashcards

Evolution of Bacterial Populations

Bacterial populations evolve through genetic changes and interactions within host networks.

Signup and view all the flashcards

Host Contact Networks and Bacterial Evolution

The way bacteria interact and spread in a host network (e.g., a social network) influences their genetic diversity.

Signup and view all the flashcards

Neutral Mutational Drift

The absence of natural selection in a population can lead to random changes in the frequency of different genes over time.

Signup and view all the flashcards

Challenges in Bacterial Population Studies

Studying real bacterial populations can be challenging due to limited access to complete samples.

Signup and view all the flashcards

Simulating Bacterial Evolution

Simulations and computational models can help researchers explore the impact of different factors on bacterial evolution and genetic diversity.

Signup and view all the flashcards

Importance of Studying Bacterial Evolution

Understanding bacterial evolution and propagation is crucial for controlling infectious diseases and developing effective treatments.

Signup and view all the flashcards

Host Contact Network Model

A method for simulating bacterial evolution, where each node represents a population with its own genetic makeup and exchange frequencies between populations are defined by links in a network.

Signup and view all the flashcards

What does the network represent in the context of bacterial evolution?

A network of interconnected entities where each node represents a population of bacteria and connections between nodes represent transmission pathways.

Signup and view all the flashcards

What is Simpson's Index of Diversity (SID)?

A measure of genetic diversity within a population, taking into account both the number of different alleles (genetic variants) and their frequencies in the population.

Signup and view all the flashcards

What is an evolutionary model in the context of bacterial evolution?

A model of bacterial evolution that simulates the genetic processes within individual bacteria, including mutation, recombination, and allele frequencies.

Signup and view all the flashcards

What are evolutionary exchanges in the context of bacterial evolution?

The process of transferring genetic information between bacteria, often through plasmids or other mobile genetic elements.

Signup and view all the flashcards

Explain what happens in the Population Simulation Process.

A method for simulating bacterial evolution that focuses on modeling the genetic changes within individual bacteria. This involves simulating the effects of mutation, recombination, and allele frequencies.

Signup and view all the flashcards

Explain what happens in the Network Simulation Process.

This process involves modeling the interaction between populations, simulating the transfer of genetic information (using a model like the Infinite Allele Model or Wright Fisher Model) between interconnected populations based on predefined exchange frequencies and transmission ratios.

Signup and view all the flashcards

What is the simulation process for bacterial evolution?

The simulation process involves running the model for a predefined number of generations, with each generation consisting of a cycle of evolution (where the populations evolve individually according to their genetic models) and an exchange (where the populations transmit genetic information according to the network model). This process is repeated until the simulation reaches its stopping condition.

Signup and view all the flashcards

Study Notes

Genetic Algorithms - TP Genetic Algorithms

  • The MUGA tool can be downloaded from Moodle
  • Unzip the downloaded archive
  • Open the "MUGA_12_full.jar" file using java
  • To setup the tool, go to "Select Problem"
  • Choose "real coded" and "F3_Shifted Rosenbrock"
  • Change "Parameters" to 2
  • Select "Simple Population"
  • Press "Set Parameters"

Genetic Algorithms Tool Setup

  • Select the problem from the available options
  • Choose "real coded" and "F4_Shifted_Rastrigin" as a problem example
  • Change the number of parameters to 2
  • Select "Simple Population" as the population model
  • Click "Set Parameters"

Genetic Algorithm Implementation Steps

  • The user should go back to the MuGA-Home page
  • Then they should click on the Run Genetic Algorithm tab
  • Change the default values for the criteria and the population to appropriate values for a small problem
  • The population should move to the plot window
  • If delay >0, increase the delay to see the population moving faster
  • Use the 'setup Statistics' tab to add graphs from the data of several trials
  • To step through each stage of the algorithm click start
  • The two new windows that appear contain the offspring population and the best value plot

Questions and Investigations

  • Vary the Rosenbrock and Rastrigin functions with different numbers of variables
  • Focus on mutation probability and selection parameters (tournament size, k value) in the experimentation
  • Explore crossover mechanisms, considering the absence of mutation
  • Evaluate the fitness of the best individual and the number of generations it takes to obtain it in different iterations
  • Analyze how mutation rate and selection pressure influence convergence in the algorithm
  • Investigate the robustness of the algorithm to changes in the fitness landscape
  • Test the algorithm on the Shifted Sphere, Griewank, and Ackley functions

Swarms

  • Swarms are self-organised multi-agent systems with emergent collective behaviour
  • A key example of swarming behaviour is bird flocking or fish schooling, governed by simple rules.
  • Rules for bird flocking/fish schooling include:
    • Moving away from neighbors if too close
    • Moving closer to neighbors if too far away
    • Aligning with the average orientation of neighbors.
  • Parameters affect swarming behaviors, including approaching, separating, and turning ratios.
  • Swarm behavior results from simple individual rules.
  • Social simulation is based on individuals that are allowed to be different types, but prefer to be surrounded by individuals of similar type. Individuals may move to a location if less than a certain percentage of neighbors have their own color.

Self-Organisation (SO)

  • SO systems are self-organised multi-agent systems (swarms) with emergent collective behaviour.
  • SO properties are:
    • No external control.
    • Increase in order after perturbations.
    • Adaptability.
    • Interaction.
    • Asynchronism.
  • SO mechanisms are:
  • Positive feedback (amplifying an effect, examples include: ants recruiting for a food source).
  • Negative feedback (stabilizing an effect, examples include: the end of a food source).
  • Random fluctuations (noise, examples include: a lost ant may explore).

Ant Colony Optimisation (ACO)

  • ACO is a swarm intelligence algorithm
  • Problem: Travelling Salesperson Problem (TSP)
  • Find the minimum route visiting each city only once
  • In Euclidean space: Distance between cities $d_{ij} = [(x_i - x_j)^2 + (y_i - y_j)^2]^{1/2}$
  • J_i is a set of cities to visit by ant k, in city i
  • Initially, all cities except the starting city (i) in the list

Particle Swarm Optimisation (PSO)

  • PSO was proposed in 1995 by Kennedy and Eberhart
  • It is a physical particles model inspired in social-psychological theory
  • Each particle represents a multi-dimensional point in search space
  • It has position and velocity
  • It is influenced by own previous behaviour and neighbours’ success

Swarm Optimisation Analysis

  • ACO and PSO are models of self-organisation
  • Both are robust tools for optimisation
  • PSO models are decentralised and have local interaction
  • ACO models are decentralised but require global information

Portuguese Studies of Cooperation

  • Questions concerning conditions that allow cooperation to emerge spontaneously within societies composed of selfish agents, with or without a central authority.
  • Goal is to develop mechanisms for encouraging cooperation in both real and artificial systems to better understand the behaviour of such systems in nature (e.g., birds flocking).
  • The analysis from the theory of natural selection points out that cooperative behaviour could be disadvantageous. However, cooperative behaviours exist in nature.
  • Examples of cooperative behaviour in nature include alarm calls by birds and monkeys, food sharing in bats.

Game Theory

  • Game theory models interactions as games, considering that players are rational.
  • Games are represented by payoff matrices.
  • Nash Equilibrium (NE) defines a combination of strategies where no player gains advantage by changing their strategy unilaterally. NE can involve mixed strategies.

Prisoner's Dilemma

  • A payoff matrix is used to explain the prisoner's dilemma
  • Nash Equilibrium is (T, T) - suggesting that cooperation is not rational in the one-shot game.
  • However, if the game is repeated, cooperation may be more beneficial.

Snowdrift Game

  • A payoff matrix is used to explain the snowdrift game
  • Nash Equilibria are (C, T), (T, C), and a combination of mixed strategies that depend on the relative values of the payoffs.
  • Pure strategies usually suggest the opposite strategy than the other participant
  • A strategy of opposing the other players strategy in a repeated game may result in better payoffs for both participants.

Iterated Prisoner's Dilemma

  • Iterated Prisoner's Dilemma (IPD) describes a game played multiple times by players with memory of previous interactions.
  • The rational choice for repeated games is to not cooperate.
  • However, a strategy of mutual cooperation, like TIT-FOR-TAT, can succeed in IPD.

Axelrod's Tournament

  • Researchers submitted strategies to play iterated prisoner's dilemma,
  • The simplest strategy, TIT-FOR-TAT, usually performed the best.

TIT-FOR-TAT

  • The TIT-FOR-TAT strategy initially cooperates and then mirrors the previous move of its opponent.
  • Success depends on:
    • Not being the first to defect.
    • Immediate retaliation for defections.
    • Quickly forgetting previous defections.
    • Possibility of future interactions among players.

Evolutionary Game Theory

  • Evolutionary game theory studies cooperation from an evolutionary perspective, including how adaptive strategies spread in a population and how the population adapts to changes in strategies using the principle of replication by comparing fitness.
  • It doesn't assume rational agents, but instead fitness describes how adaptive an agent is in different situations.
  • The evolution of strategies can be by:
    • Stability analysis
    • Explicit populations and their dynamic properties.

Evolutionary Stable Strategy (ESS)

  • A strategy is an evolutionarily stable strategy (ESS) if a population with that strategy cannot be invaded by a rare mutant adopting a different strategy.

Other Ways to Achieve Cooperation

  • Cooperation can also come from:
    • Altruism (especially for biological connections)
    • Grouping (allows like entities to interact frequently)
    • Explicit population simulations and applying the replication equation

Replication Equation

  • Used in the explicit population simulations of strategies. It's used to compare the evolutionary success of different strategies or groups of agents in the same environment.

Symmetric Games

  • In symmetric two-player games, each player performs the same role.
  • The payoff matrix is represented by 911, 912, 921, 922

Numerical Results

  • Shows how degree centrality affects the average proposal as the value of $α$ changes
  • Investigates how $α$ and $M$ values influence the average payoff
  • Analyzes the $M$ parameter impact on Lorenz curves, with various choices of $α$

Other Aspects of SO in Peer Production

  • Modularity
  • Evolution
  • Hierarchy Formation
  • Size and Free-Riding

Network Types

  • Regular networks
  • Small-world networks
  • Random networks
  • Scale-free networks

Community Detection

  • An important method for uncovering the organization of networks
  • Features include:
    • Highly connected internal nodes
    • Fewer links between different communities

Graph Theory

  • Studying networks using graphs
  • Nodes are entities like genes, neurons, etc
  • Edges describe relations (kin ship, similarity, co-occurrence)
  • Relations can be:
    • (non) reciprocal
    • weighted
    • temporal
  • Node strength is related to the number of connections it has.

Data Collection

  • Data from several medical and political sources
  • Networks of disease are used to represent human systems.
  • Methods from network science are used to model epidemics.

Information Dynamics

  • Information dynamics in Internet-mediated prostitution networks
  • Networks of about 6,000 sex workers and approximately 10,000 buyers
  • The links represent encounters between buyers and sex workers, and information is exchanged via online posts
  • This is an example of a bipartite model
  • The model can be used to understand disease transmission, specifically in the context of gonorrhea and HIV.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

TP Genetic Algorithms PDF
Use Quizgecko on...
Browser
Browser