Inteligência Artificial
arturmarques.com | entrada ; home| contacto ; contact
scroll down for the Basics of AI, Erasmus course

Semana de 2024-01-21 (#--/15)

2024-01-23

Estão disponíveis as classificações do exame 20240123:

N E
200100005 11
180100502 11
150173018 6

Semana de 2024-01-14 (#--/15)

2024-01-15

Estão disponíveis as classificações finais, após avaliação contínua.

N Teste Prj Final
070118039 9 12 10
190100318 8 15 11
210100274 12 15 13
210100461 11 16 13
200100317 14 16 15
180100322 16 9 13
200100259 12 13 12
230001407 12 16 14
200100253      
200100282 13 16 14
220001124 9 15 11
210100065 12 12 12
200100272 12 15 13
170100259 8 11 10
200100005 9 9 9
190100146 10 9 10
210100211 10 16 12
150118005 9 15 11
190100291 11 10 11
200100308 8 15 11
210100108 9 10 10
200100280 12 17 14
190100220 11 13 12
190100274      
200100265 9 16 12
200100278 11 16 13
200100195 9 15 11
110118017      
210100489 13 16 14
210100350 11 17 13
210100201 7 13 10
180100502 7 9 8
200100152 12 15 13
150173018 7 9 8
170100249 14 15 14
210100158 8 12 10
210100171 8 16 11
200100274 12 17 14
200100385 14 9 12
200100053 11 9 10
210100076 8 16 11
200100420 10 15 12
210100063 15 17 16
210100243 13 16 14
210100222 15 10 13
200100284 10 17 13
200100273 9 16 12

Semana de 2024-01-07 (#15/15)

2024-01-09

Continuação e conclusão: apresentações finais de trabalhos de alunos @URL.

Os alunos fazem as suas apresentações, a partir do lugar em que se sentarem, na sala de aula, ligando-se a uma sessão Zoom, vídeo-projetada a partir de este URL. Quem estiver a apresentar TEM QUE TER O MIC ABERTO.

2024-01-08

Apresentações finais de trabalhos de alunos @URL.

Os alunos fazem as suas apresentações, a partir do lugar em que se sentarem, na sala de aula, ligando-se a uma sessão Zoom, vídeo-projetada a partir de este URL. Quem estiver a apresentar TEM QUE TER O MIC ABERTO.

Semana de 2023-12-10 (#13/15)

2023-12-12

Continuação: apresentações de [ideias de] trabalhos de alunos @URL.

Os alunos fazem as suas apresentações, a partir do lugar em que se sentarem, na sala de aula, ligando-se a uma sessão Zoom, vídeo-projetada a partir de este URL. Quem estiver a apresentar TEM QUE TER O MIC ABERTO.

2023-12-11

Apresentações de [ideias de] trabalhos de alunos @URL.

Os alunos fazem as suas apresentações, a partir do lugar em que se sentarem, na sala de aula, ligando-se a uma sessão Zoom, vídeo-projetada a partir de este URL. Quem estiver a apresentar TEM QUE TER O MIC ABERTO.

Ordem sorteada:

Grupo #0: ['210100063', '210100350']
Grupo #1: ['230000842', '230000843', '230001407']
Grupo #2: ['200100265', '210100171', '210100243']
Grupo #3: ['200100272', '210100274', '200100420']
Grupo #4: ['150118005']
Grupo #5: ['210100076']
Grupo #6: ['190100318']
Grupo #7: ['150173018']
Grupo #8: ['210100489', '210100211', '210100461']
Grupo #9: ['190100220', '210100201', '200100259']
Grupo #10: ['180100502', '190100146', '200100005']
Grupo #11: ['200100273', '200100278', '200100317', '200100282']
Grupo #12: ['200100152', '200100195', '170100249']
Grupo #13: ['210100108', '210100222', '190100291']
Grupo #14: ['180100322', '200100053', '200100385']
Grupo #15: ['200100284', '200100274', '200100280']
Grupo #16: ['210100065', '210100158', '070118039']
Grupo #17: ['200100308', '220001124']
Grupo #18: ['170100259'] # sem ordem sorteada
Ordem: [ 3  6  0  2  4  8 10  7 13  9 12 16  1 15 14  5 11 17]

Semana de 2023-12-03 (#12/15)

2023-12-05

Comentário ao teste escrito.

Sorteio da ordem de apresentação dos grupos.

Preparação das primeiras apresentações.

2023-12-04

Teste escrito.

Em relação ao teste escrito 20231204, ficaram disponíveis o enunciado, uma solução parcial, e as classificações:

N Teste
070118039 9
190100318 8
210100274 12
210100461 11
200100317 14
180100322 16
200100259 12
230001407 12
200100253  
200100282 13
220001124 9
210100065 12
200100272 12
170100259 8
200100005 9
190100146 10
210100211 10
150118005 9
190100291 11
200100308 8
210100108 9
200100280 12
190100220 11
190100274  
200100265 9
200100278 11
200100195 9
110118017  
210100489 13
210100350 11
210100201 7
180100502 7
200100152 12
150173018 7
170100249 14
210100158 8
210100171 8
200100274 12
200100385 14
200100053 11
210100076 8
200100420 10
210100063 15
210100243 13
210100222 15
200100284 10
200100273 9

Semana de 2023-11-26 (#11/15)

2023-11-28

Preparação para o teste escrito.

Ficou disponível o teste da edição anterior e uma sua solução: 20230111_esgts_teste_ia_v5_sol_v3.pdf

2023-11-27

Exemplo de uma CNN.

Agentes para problemas de procura (não) informada.

Ficou disponível: 20231127_search.zip ; 20231127_bas_img_cl_dense_and_cnn.zip

Semana de 2023-11-19 (#10/15)

2023-11-21

Continuação e conclusão da discussão do projeto prático: download e nome automático para ficheiros de uma rede social, usando a CNN ResNet50 com Keras.

2023-11-20

Save/Load de modelos {arquitetados, compilados e treinados}, com Keras.

Reutilização do modelo. Problemas potenciais.

Início do projeto prático: download e nome automático para ficheiros de uma rede social, usando a CNN ResNet50 com Keras.

Ficou disponível: model_save_load_reuse.zip ; 4chan_class.zip

Semana de 2023-11-12 (#09/15)

2023-11-14

Continuação e conclusão da discussão do projeto de reconhecimento de digitos caligrafados, com NN.

2023-11-13

O dataset "MNIST".

Introdução a redes neuronais (neural networks/NN).
Inspiração biológica (neurónios) e alguns elementos matemáticos relacionados.

Projeto de reconhecimento de digitos caligrafados, com NN.

Ficou disponível: ia_ml_1_v12.pdf ; w09_complements.zip ; w09_ml_nn_digits_crash.zip

Semana de 2023-11-05 (#08/15)

2023-11-07

Continuação e conclusão do projecto "AMWebTriangle". Teoria e exercícios relacionados.

Conceito de "Big Data".

Previsores. Classificadores lineares. Utilização do erro medido para correção de aproximações.

Outros ficheiros de suporte criados/utilizados durante a sessão: ia_231107.zip

2023-11-06

Dados sintéticos para aprendizagem supervisionada.

"Data augmentation" com dados sintéticos. Considerações diversas sobre dados sintéticos.

Projecto/caso de estudo: o meta-dataset AMWebTriangle para experiências com Machine Learning.

Ficou disponível: 05_synthetic_data_with_amtriangle.zip [projeto, app, código] ; 05_sci_synthetic_data_with_amtriangle.zip [artigo científico, Springer Nature book chapter, apresentação]

Semana de 2023-10-29 (#07/15)

2023-10-31

Continuação e conclusão do projecto "Iris flowers classification", com KNN.

2023-10-30

Introdução a Aprendizagem Máquina Supervisionada (Supervised Machine Learning).

Distância de Minkowski. Algoritmo KNN.

Projecto "Iris flowers classification", com KNN.

Ficou disponível: 231030_intro_ml_class_iris_w_knn.zip

Semana de 2023-10-22 (#06/15)

2023-10-24

Continuação e conclusão do projeto "Stylometry". Interpretação dos outputs. Aplicações e exercícios relacionados.

Medida de "distância de Manhattan". Implementação com e sem numpy.

2023-10-23

Introdução a Natural Language Processing (NLP) com NLTK.

Projeto "Stylometry": aplicação exemplo para determinar o autor provável de um texto de autor desconhecido, via computações linguísticas diversas:
tokenização, histogramas de frequência, contagens absolutas e relativas, intersecções e reuniões de conjuntos de palavras, distância por chi-square, proximidade medida pelo Jaccard-index.

Ficou disponível: 231023_stylometry_pack.zip

Semana de 2023-10-15 (#05/15)

2023-10-17

Continuação e conclusão de Probabilidades Bayesianas aplicadas a problemas de Inteligência Artificial.

Procuras assistidas por probabilidades recalculadas iterativamente, à medida que nova informação fica disponível.

Discussão do projeto "Search with Bayes".

Arrays e aleatoriedade com numpy.

2023-10-16

Probabilidades Bayesianas aplicadas a problemas de Inteligência Artificial.

Ficou disponível: ia_search_with_bayes_v9.pdf ; w05_code.zip ; search_with_bayes_starter_pack.zip

Semana de 2023-10-08 (#04/15)

2023-10-10

Continuação e conclusão de lógica proposicional: escrita de instrumentos Python para problemas de implicação lógica e equivalência lógica.

Ficou disponível: ia_propositional_logical_in_python_v04.pdf

Outros ficheiros criados/utilizados durante a sessão: ia_231010.zip

2023-10-09

Lógica proposicional (LP): proposição, modelo, satisfação de fórmulas em modelos, Forma Normal Conjuntiva, implicação lógica, equivalência lógica.

Automatização de processos LP, utilizando Python.

Limitações da lógica proposicional.

"Invernos da IA"/"AI winters": https://open.spotify.com/episode/6plepikYuuBUWu3GfXs9IK

Outros ficheiros criados/utilizados durante a sessão: ia_231009.zip

Semana de 2023-10-01 (#03/15)

2023-10-03

A linguagem Python enquanto instrumento para criar soluções de IA, continuação.

Algoritmos "guess-and-check", como exemplos de soluções iterativas de semente aleatória.

Introdução à lógica proposicional: modelos e conceito de "satisfação"; a sua relevância para IA; escola de pensamento "symbolists".
Conceito de "Expert System"/"sistema pericial" baseado em proposições e motor de inferência.

Ficheiros de suporte: ia_propositional_logical_in_python_v03.pdf ; w03_code.zip

Outros ficheiros criados/utilizados durante a sessão: ia_231003.zip

2023-10-02

A linguagem Python enquanto instrumento para criar soluções de IA: Python "refresh".
Coleções: string, tuple, dict, list, set.

Outros ficheiros criados/utilizados durante a sessão: ia_231002.zip

Sessão com intervalo para apresentação de poster na Escola Superior de Educação @ conferência ImpactScience23: poster_perspectives_on_genai_and_copyright.pdf

Semana de 2023-09-24 (#02/15)

2023-09-26

Continuação.

Instalação e utilização do ambiente de desenvolvimento selecionado. Python refresh.

2023-09-25

Inteligência Artificial (IA): uma introdução.

Conceitos de IA. Escolas de pensamento. Algumas pessoas e eventos com relevância.

Interdisciplinaridade da IA. Problemas computacionais relacionados. Abordagens computacionais que o curso seguirá.

Ficou disponível: ia_intro_v20230923_v3.pdf

Semana de 2023-09-17 (#01/15)

2023-09-19

Sem aulas - dia reservado à receção de novos alunos do primeiro ano.

2023-09-18

Apresentação.

Está disponível a ficha da disciplina.

Alguns dos recursos sugeridos para a disciplina:

Python: https://www.python.org/downloads/

Anaconda individual edition: https://www.anaconda.com/products/individual

PyCharm: https://www.jetbrains.com/pycharm/


Basics of AI - the Erasmus course


Week of 2024-01-14 (#--/15)

2024-01-15

The final grades were published:

N Written Test Prj Final
230000842 8 16 12
230000843 15 16 16

Semana de 2024-01-07 (#15/15)

2024-01-09

Continuation and conclusion: students' final presentations @URL.

Students will present from their classroom seats, connecting to a Zoom session @URL. When doing the presentation, whom who speaks must have his/her PC's MICrophone OPEN.

2024-01-08

Students' final presentations @URL.

Students will present from their classroom seats, connecting to a Zoom session @URL. When doing the presentation, whom who speaks must have his/her PC's MICrophone OPEN.

Week of 2023-12-10 (#13/15)

2023-12-12

Continuation: students' first [project ideas] presentations @URL.

Students will present from their classroom seats, connecting to a Zoom session @URL. When doing the presentation, whom who speaks must have his/her PC's MICrophone OPEN.

2023-12-11

Students' first [project ideas] presentations @URL.

Students will present from their classroom seats, connecting to a Zoom session @URL. When doing the presentation, whom who speaks must have his/her PC's MICrophone OPEN.

Week of 2023-12-03 (#12/15)

2023-12-05

About the written test.

Draw for the order of presentation of the groups.

Preparing the coming presentations.

2023-12-04

Written test.

Regarding the written test 20231204, here is the enunciation, a partial solution [in PT-PT] and the grades:

N Written Test
230000842 8
230000843 15

Week of 2023-11-26 (#11/15)

2023-11-28

Preparation for the written test.

Here is the previous edition test and one solution: 20230111_esgts_teste_ia_v4_en.pdf

2023-11-27

Example of a CNN.

Agents for (non)informed search problems.

Support files: 20231127_search.zip ; 20231127_bas_img_cl_dense_and_cnn.zip

Week of 2023-11-19 (#10/15)

2023-11-21

Continuation and conclusion of the project: downloading and automatically naming files from a social network, using the CNN ResNET50, with Keras.

2023-11-20

Saving/Loading models {architected, compiled and trained}, using Keras.

Model deployment. Potential problems.

New project: downloading and automatically naming files from a social network, using the CNN ResNET50, with Keras.

Support files: model_save_load_reuse.zip ; 4chan_class.zip

Week of 2023-11-12 (#09/15)

2023-11-14

Continuation and conclusion of the project: "hand-written digits recognition using neural networks".

2023-11-13

The "MNIST" dataset.

Introduction to Neural Networks (NN).
Bio-inspiration for NNs and some related mathematical elements.

New project: "hand-written digits recognition using neural networks".

Support files: ia_ml_1_v12.pdf ; w09_complements.zip ; w09_ml_nn_digits_crash.zip

Week of 2023-11-05 (#08/15)

2023-11-07

Continuation and conclusion of the "AMWebTriangle" project. Theory and related aplications.

The concept of "Big Data".

Predictors. Linear classifiers. Using the measured error to iteratively guide and correct approximations.

Other files created/used during the session: ia_231107.zip

2023-11-06

Synthetic data for supervised ML.

Data augmentation. Considerations about synthetic data usage.

Project/case study: the meta-dataset AMWebTriangle for experimenting with ML.

Files made available: 05_synthetic_data_with_amtriangle.zip [project, web app, cli app, source code] ; 05_sci_synthetic_data_with_amtriangle.zip [paper, Springer Nature book chapter, presentation]

Week of 2023-10-29 (#07/15)

2023-10-31

Continuation and conclusion of "Iris flowers classification", using KNN.

2023-10-30

Introduction to Supervised Machine Learning.

Minkowski distance. KNN algorithm.

New project: "Iris flowers classification", using KNN.

Support files: 231030_intro_ml_class_iris_w_knn.zip

Week of 2023-10-22 (#06/15)

2023-10-24

Continuation and conclusion of the "Stylometry" project. Interpretation of its outputs. Related aplications and exercises.

The "Manhattan distance" metric. Implementation with and without numpy.

2023-10-23

Introduction to Natural Language Processing (NLP) using NLTK.

The "Stylometry" project: determining the probable author of a text (of unknown author) using different linguistic measurements:
tokenization, histograms, absolute and relative counts, intersections and reunions of sets of words, chi-square distance, Jaccard-index.

Support files: 231023_stylometry_pack.zip

Week of 2023-10-15 (#05/15)

2023-10-17

Continuation and conclusion of Bayesian probabilities applied to A.I. problems.

Search problems, using probabilities that, iteratively, get recalculated as new data becomes available.

Studying the project "Search with Bayes".

Arrays and randomness with numpy.

2023-10-16

Bayesian probabilities applied to A.I. problems.

Support files: ia_search_with_bayes_v9.pdf ; w05_code.zip ; search_with_bayes_starter_pack.zip

Week of 2023-10-08 (#04/15)

2023-10-10

Propositional logic, continuation and conclusion: writing Python solutions for problems of logical implication/entailment and logical equivalence.

Support file: ia_propositional_logical_in_python_v04.pdf

Other files created/used during the session: ia_231010.zip

2023-10-09

Propositional logic (PL): proposition, model, formula satisfaction in models, Conjunctive Normal Form, logical implication, logical equivalence.

Automating PL processes, using Python.

Limitations of PL.

A reference to "AI winters": https://open.spotify.com/episode/6plepikYuuBUWu3GfXs9IK

Other files created/used during the session: ia_231009.zip

Week of 2023-10-01 (#03/15)

2023-10-03

The Python language as a tool to write AI solutions, continuation.

Guess-and-check algorithms, as examples of random-seed iterative solutions.

Introduction to Propositional Logic: models and the concept of "satisfaction"; its relevance to AI; the "symbolists".
Concept of "Expert Systems".

Support files: ia_propositional_logical_in_python_v03.pdf ; w03_code.zip

Other files created/used during the session: ia_231003.zip

2023-10-02

The Python language as a tool to write AI solutions: Python "refresh".
Collections: string, tuple, dict, list, set.

Other files created/used during the session: ia_231002.zip

Session with break for poster presentation at Escola Superior de Educação @ conferência ImpactScience23: poster_perspectives_on_genai_and_copyright.pdf

Week of 2023-09-24 (#02/15)

2023-09-26

Continuation.

Installing and using the selected IDE. Python refresh.

2023-09-25

Artificial Intelligence (AI): an introduction.

Concepts of AI. Schools of thought. Some relevant people and events.

AI's interdisciplinarity. Related computational problems. Computational approaches that the course will follow.

Available file(s): ia_intro_v20230923_v3.pdf

Week of 2023-09-17 (#01/15)

2023-09-19

No classes - day reserved for welcoming the new undergraduate students.

2023-09-18

Course presentation.

The course's syllabus is available.

Some of the suggested free resources:

Python: https://www.python.org/downloads/

Anaconda individual edition: https://www.anaconda.com/products/individual

PyCharm: https://www.jetbrains.com/pycharm/


Inteligência Artificial
arturmarques.com | entrada ; home| contacto ; contact
scroll up for the Basics of AI, Erasmus course