SlideShare una empresa de Scribd logo
Ejercicios de Ingeniería del Conocimiento
1
EJERCICIOS DE REDES NEURONALES
1. Sea la siguiente red neuronal con una única neurona oculta. Realiza una iteración para el
patrón P1= (1 0 1) y otra para el patrón P2=(1 1 0) utilizando la función XOR como función
discriminante. Usa además como algoritmo de aprendizaje el algoritmo de
Backpropagation propuesto por Rumelhart y McClelland.
El factor de aprendizaje debes elegirlo mientras que los vectores de pesos iniciales serán
los siguientes:
W3j = (1.5, 1, 1) para j = 0,1,2
W4j = (1, 1, -2) para j = 0,2,3
2. Supongamos que tenemos que separar los puntos P1=(1,1), P2=(1,0), P3=(0,1) por la
función f(x,y)=3x+2y>2 (es decir, devuelve 1 si se cumple la desigualdad y 0 si no la
cumple). Para ello construye un perceptrón simple y utiliza como función de activación la
función sigmoide, una función de aprendizaje basada en la Regla Delta generalizada y un
factor de aprendizaje 0.5
ε = . Asigna valores aleatorios y pequeños, tanto positivos como
X 4
X0
X3
X 1
X2
Ejercicios de Ingeniería del Conocimiento
2
negativos a los pesos sinápticos. Realiza sólo una iteración para cada uno de los
patrones de entrada.
3. Sea la siguiente red neuronal con una única neurona oculta. Realiza una iteración para el
patrón P1= (1 0 1) y otra para el patrón P2=(1 1 0) utilizando la función XOR como función
discriminante. Usa además como algoritmo de aprendizaje el algoritmo de
Backpropagation propuesto por Rumelhart y McClelland.
4. Considera los siguientes 3 ejemplos. Construye un perceptrón multicapa con una unidad
en la capa oculta. Realiza una sólo iteración para todos los patrones, suponiendo un valor
umbral de 4, unos pesos iniciales wij=1 y un factor de aprendizaje = 0.6. Utiliza también
una función de activación sigmoide y la regla delta generalizada como regla de
aprendizaje. ¿Cuáles son los pesos finales?
X1 X2 X3 X4 Clase
1 1 0 1 +
0 1 1 0 -
0 0 1 1 -
0 0 0 1 +
5. Se cree que los niños aprenden mediante un proceso llamado razonamiento por
analogías, en el que intentan asociar objetos parecidos a otros que ya conocen, y los
intentan agrupar por categorías. Supón que un niño ha visto alguna vez un león en el zoo y
que sabe que es peligroso, y lo ha representado internamente por el patrón (1 1 0 1 0) Un
día va por la calle y se encuentra a un gato, que representaremos por el patrón (1 1 1 0 1)
¿Debe salir corriendo el niño porque crea al verlo que se parece demasiado a un león?
Modela ésta situación (el aprendizaje del león y después del gato) mediante un
perceptrónmulticapa y mediante un algoritmo de aprendizaje no supervisado.
6. Separa los patrones P1= (1 0 1), P2=(1 1 0) y P3=(1 1 1) en 2 categorías usando para
ello el algoritmo de aprendizaje no supervisado WTA. Los vectores de pesos iniciales
deben ser aleatorios, así como el factor de aprendizaje usado. Razona por qué la red los
ha agrupado de esa manera al finalizar el proceso de aprendizaje.

Más contenido relacionado

Último

Señalizacion y codigo de colores[1].pptx
Señalizacion y codigo de colores[1].pptxSeñalizacion y codigo de colores[1].pptx
Señalizacion y codigo de colores[1].pptx
ESCO PERÚ
 
CHARLA NFPA70E Seguridad Eléctrica en lugares de trabajo
CHARLA NFPA70E Seguridad Eléctrica en lugares de trabajoCHARLA NFPA70E Seguridad Eléctrica en lugares de trabajo
CHARLA NFPA70E Seguridad Eléctrica en lugares de trabajo
DiegoMarinado1
 
presentacion de estabilidad y empuje mecanica de fluidos
presentacion de estabilidad y empuje mecanica de fluidospresentacion de estabilidad y empuje mecanica de fluidos
presentacion de estabilidad y empuje mecanica de fluidos
EnriqueOliva4
 
NRF-032-PEMEX-2012 DISEÑO DE TUBERIA.pdf
NRF-032-PEMEX-2012 DISEÑO DE TUBERIA.pdfNRF-032-PEMEX-2012 DISEÑO DE TUBERIA.pdf
NRF-032-PEMEX-2012 DISEÑO DE TUBERIA.pdf
LambertoAugurioMarti1
 
Normatividad y Regulación Energética - Introducción
Normatividad y Regulación Energética - IntroducciónNormatividad y Regulación Energética - Introducción
Normatividad y Regulación Energética - Introducción
José Andrés Alanís Navarro
 
Aletas de Transferencia de Calor Jefferson Colina.pptx
Aletas de Transferencia de Calor Jefferson Colina.pptxAletas de Transferencia de Calor Jefferson Colina.pptx
Aletas de Transferencia de Calor Jefferson Colina.pptx
jeffersoncolina427
 
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdfEXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
SEGUNDOROBERTO
 
Aletas (Superficies extendidas) y aislantes térmicos
Aletas (Superficies extendidas) y aislantes térmicosAletas (Superficies extendidas) y aislantes térmicos
Aletas (Superficies extendidas) y aislantes térmicos
FrancelisFernandez
 
CURSO-DE-RIGGER- GRUAS TELESCOPICAS IZAJE
CURSO-DE-RIGGER- GRUAS TELESCOPICAS IZAJECURSO-DE-RIGGER- GRUAS TELESCOPICAS IZAJE
CURSO-DE-RIGGER- GRUAS TELESCOPICAS IZAJE
AnonymouslSEnEklZ7
 
Brigada de primeros auxilios presentación.pptx
Brigada de primeros auxilios presentación.pptxBrigada de primeros auxilios presentación.pptx
Brigada de primeros auxilios presentación.pptx
gerenciasisomaqgeren
 
Klohn Crippen Berger _ Brochure LAM .pdf
Klohn Crippen Berger _ Brochure LAM .pdfKlohn Crippen Berger _ Brochure LAM .pdf
Klohn Crippen Berger _ Brochure LAM .pdf
ciniguez1
 
Ejercicios Propuestos en cada una de las Áreas de Telemática
Ejercicios Propuestos en cada una de las Áreas de TelemáticaEjercicios Propuestos en cada una de las Áreas de Telemática
Ejercicios Propuestos en cada una de las Áreas de Telemática
AdrianaMarcelaCaizaQ
 
Programas relacionado a telecomunicaciones.pptx
Programas relacionado a telecomunicaciones.pptxProgramas relacionado a telecomunicaciones.pptx
Programas relacionado a telecomunicaciones.pptx
AndrsSerrano23
 
VIRUS DE LA MANCHA ANILLADA DE LA PAPAYA(PRSV).ppt
VIRUS DE LA MANCHA ANILLADA DE LA PAPAYA(PRSV).pptVIRUS DE LA MANCHA ANILLADA DE LA PAPAYA(PRSV).ppt
VIRUS DE LA MANCHA ANILLADA DE LA PAPAYA(PRSV).ppt
HectorEnriqueCespede1
 
SESION1-clase01 inici de primera unidad.PPT
SESION1-clase01 inici de primera unidad.PPTSESION1-clase01 inici de primera unidad.PPT
SESION1-clase01 inici de primera unidad.PPT
JuniorCochachin2
 
1 ANALISIS DE MASA Y ENERGÍA DE VOLÚMENES DE CONTROL [Autoguardado].pptx
1 ANALISIS DE MASA Y ENERGÍA DE VOLÚMENES DE CONTROL [Autoguardado].pptx1 ANALISIS DE MASA Y ENERGÍA DE VOLÚMENES DE CONTROL [Autoguardado].pptx
1 ANALISIS DE MASA Y ENERGÍA DE VOLÚMENES DE CONTROL [Autoguardado].pptx
RenanWVargas
 
4.3 Balanceo de líneas de ensamble para la producción simultánea de más de un...
4.3 Balanceo de líneas de ensamble para la producción simultánea de más de un...4.3 Balanceo de líneas de ensamble para la producción simultánea de más de un...
4.3 Balanceo de líneas de ensamble para la producción simultánea de más de un...
miguel231958
 
Tarifario SUNASS a nivel del departamento de Huancavelica
Tarifario SUNASS a nivel del departamento de HuancavelicaTarifario SUNASS a nivel del departamento de Huancavelica
Tarifario SUNASS a nivel del departamento de Huancavelica
Miguelon42
 
Fundamentos-Ensayos-Al-Fuego de oro y plata
Fundamentos-Ensayos-Al-Fuego de oro  y plataFundamentos-Ensayos-Al-Fuego de oro  y plata
Fundamentos-Ensayos-Al-Fuego de oro y plata
RobertoChvez25
 
Presentación transferencia de calor Jesus Morales.pdf
Presentación transferencia de calor Jesus Morales.pdfPresentación transferencia de calor Jesus Morales.pdf
Presentación transferencia de calor Jesus Morales.pdf
jdcumarem02
 

Último (20)

Señalizacion y codigo de colores[1].pptx
Señalizacion y codigo de colores[1].pptxSeñalizacion y codigo de colores[1].pptx
Señalizacion y codigo de colores[1].pptx
 
CHARLA NFPA70E Seguridad Eléctrica en lugares de trabajo
CHARLA NFPA70E Seguridad Eléctrica en lugares de trabajoCHARLA NFPA70E Seguridad Eléctrica en lugares de trabajo
CHARLA NFPA70E Seguridad Eléctrica en lugares de trabajo
 
presentacion de estabilidad y empuje mecanica de fluidos
presentacion de estabilidad y empuje mecanica de fluidospresentacion de estabilidad y empuje mecanica de fluidos
presentacion de estabilidad y empuje mecanica de fluidos
 
NRF-032-PEMEX-2012 DISEÑO DE TUBERIA.pdf
NRF-032-PEMEX-2012 DISEÑO DE TUBERIA.pdfNRF-032-PEMEX-2012 DISEÑO DE TUBERIA.pdf
NRF-032-PEMEX-2012 DISEÑO DE TUBERIA.pdf
 
Normatividad y Regulación Energética - Introducción
Normatividad y Regulación Energética - IntroducciónNormatividad y Regulación Energética - Introducción
Normatividad y Regulación Energética - Introducción
 
Aletas de Transferencia de Calor Jefferson Colina.pptx
Aletas de Transferencia de Calor Jefferson Colina.pptxAletas de Transferencia de Calor Jefferson Colina.pptx
Aletas de Transferencia de Calor Jefferson Colina.pptx
 
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdfEXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
 
Aletas (Superficies extendidas) y aislantes térmicos
Aletas (Superficies extendidas) y aislantes térmicosAletas (Superficies extendidas) y aislantes térmicos
Aletas (Superficies extendidas) y aislantes térmicos
 
CURSO-DE-RIGGER- GRUAS TELESCOPICAS IZAJE
CURSO-DE-RIGGER- GRUAS TELESCOPICAS IZAJECURSO-DE-RIGGER- GRUAS TELESCOPICAS IZAJE
CURSO-DE-RIGGER- GRUAS TELESCOPICAS IZAJE
 
Brigada de primeros auxilios presentación.pptx
Brigada de primeros auxilios presentación.pptxBrigada de primeros auxilios presentación.pptx
Brigada de primeros auxilios presentación.pptx
 
Klohn Crippen Berger _ Brochure LAM .pdf
Klohn Crippen Berger _ Brochure LAM .pdfKlohn Crippen Berger _ Brochure LAM .pdf
Klohn Crippen Berger _ Brochure LAM .pdf
 
Ejercicios Propuestos en cada una de las Áreas de Telemática
Ejercicios Propuestos en cada una de las Áreas de TelemáticaEjercicios Propuestos en cada una de las Áreas de Telemática
Ejercicios Propuestos en cada una de las Áreas de Telemática
 
Programas relacionado a telecomunicaciones.pptx
Programas relacionado a telecomunicaciones.pptxProgramas relacionado a telecomunicaciones.pptx
Programas relacionado a telecomunicaciones.pptx
 
VIRUS DE LA MANCHA ANILLADA DE LA PAPAYA(PRSV).ppt
VIRUS DE LA MANCHA ANILLADA DE LA PAPAYA(PRSV).pptVIRUS DE LA MANCHA ANILLADA DE LA PAPAYA(PRSV).ppt
VIRUS DE LA MANCHA ANILLADA DE LA PAPAYA(PRSV).ppt
 
SESION1-clase01 inici de primera unidad.PPT
SESION1-clase01 inici de primera unidad.PPTSESION1-clase01 inici de primera unidad.PPT
SESION1-clase01 inici de primera unidad.PPT
 
1 ANALISIS DE MASA Y ENERGÍA DE VOLÚMENES DE CONTROL [Autoguardado].pptx
1 ANALISIS DE MASA Y ENERGÍA DE VOLÚMENES DE CONTROL [Autoguardado].pptx1 ANALISIS DE MASA Y ENERGÍA DE VOLÚMENES DE CONTROL [Autoguardado].pptx
1 ANALISIS DE MASA Y ENERGÍA DE VOLÚMENES DE CONTROL [Autoguardado].pptx
 
4.3 Balanceo de líneas de ensamble para la producción simultánea de más de un...
4.3 Balanceo de líneas de ensamble para la producción simultánea de más de un...4.3 Balanceo de líneas de ensamble para la producción simultánea de más de un...
4.3 Balanceo de líneas de ensamble para la producción simultánea de más de un...
 
Tarifario SUNASS a nivel del departamento de Huancavelica
Tarifario SUNASS a nivel del departamento de HuancavelicaTarifario SUNASS a nivel del departamento de Huancavelica
Tarifario SUNASS a nivel del departamento de Huancavelica
 
Fundamentos-Ensayos-Al-Fuego de oro y plata
Fundamentos-Ensayos-Al-Fuego de oro  y plataFundamentos-Ensayos-Al-Fuego de oro  y plata
Fundamentos-Ensayos-Al-Fuego de oro y plata
 
Presentación transferencia de calor Jesus Morales.pdf
Presentación transferencia de calor Jesus Morales.pdfPresentación transferencia de calor Jesus Morales.pdf
Presentación transferencia de calor Jesus Morales.pdf
 

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Ejercicios_redes_neuronales.pdf

  • 1. Ejercicios de Ingeniería del Conocimiento 1 EJERCICIOS DE REDES NEURONALES 1. Sea la siguiente red neuronal con una única neurona oculta. Realiza una iteración para el patrón P1= (1 0 1) y otra para el patrón P2=(1 1 0) utilizando la función XOR como función discriminante. Usa además como algoritmo de aprendizaje el algoritmo de Backpropagation propuesto por Rumelhart y McClelland. El factor de aprendizaje debes elegirlo mientras que los vectores de pesos iniciales serán los siguientes: W3j = (1.5, 1, 1) para j = 0,1,2 W4j = (1, 1, -2) para j = 0,2,3 2. Supongamos que tenemos que separar los puntos P1=(1,1), P2=(1,0), P3=(0,1) por la función f(x,y)=3x+2y>2 (es decir, devuelve 1 si se cumple la desigualdad y 0 si no la cumple). Para ello construye un perceptrón simple y utiliza como función de activación la función sigmoide, una función de aprendizaje basada en la Regla Delta generalizada y un factor de aprendizaje 0.5 ε = . Asigna valores aleatorios y pequeños, tanto positivos como X 4 X0 X3 X 1 X2
  • 2. Ejercicios de Ingeniería del Conocimiento 2 negativos a los pesos sinápticos. Realiza sólo una iteración para cada uno de los patrones de entrada. 3. Sea la siguiente red neuronal con una única neurona oculta. Realiza una iteración para el patrón P1= (1 0 1) y otra para el patrón P2=(1 1 0) utilizando la función XOR como función discriminante. Usa además como algoritmo de aprendizaje el algoritmo de Backpropagation propuesto por Rumelhart y McClelland. 4. Considera los siguientes 3 ejemplos. Construye un perceptrón multicapa con una unidad en la capa oculta. Realiza una sólo iteración para todos los patrones, suponiendo un valor umbral de 4, unos pesos iniciales wij=1 y un factor de aprendizaje = 0.6. Utiliza también una función de activación sigmoide y la regla delta generalizada como regla de aprendizaje. ¿Cuáles son los pesos finales? X1 X2 X3 X4 Clase 1 1 0 1 + 0 1 1 0 - 0 0 1 1 - 0 0 0 1 + 5. Se cree que los niños aprenden mediante un proceso llamado razonamiento por analogías, en el que intentan asociar objetos parecidos a otros que ya conocen, y los intentan agrupar por categorías. Supón que un niño ha visto alguna vez un león en el zoo y que sabe que es peligroso, y lo ha representado internamente por el patrón (1 1 0 1 0) Un día va por la calle y se encuentra a un gato, que representaremos por el patrón (1 1 1 0 1) ¿Debe salir corriendo el niño porque crea al verlo que se parece demasiado a un león? Modela ésta situación (el aprendizaje del león y después del gato) mediante un perceptrónmulticapa y mediante un algoritmo de aprendizaje no supervisado. 6. Separa los patrones P1= (1 0 1), P2=(1 1 0) y P3=(1 1 1) en 2 categorías usando para ello el algoritmo de aprendizaje no supervisado WTA. Los vectores de pesos iniciales deben ser aleatorios, así como el factor de aprendizaje usado. Razona por qué la red los ha agrupado de esa manera al finalizar el proceso de aprendizaje.