SlideShare a Scribd company 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.

More Related Content

Recently uploaded

Presentación Aislante térmico.pdf Transferencia de calor
Presentación Aislante térmico.pdf Transferencia de calorPresentación Aislante térmico.pdf Transferencia de calor
Presentación Aislante térmico.pdf Transferencia de calor
GerardoBracho3
 
Análisis Estructural - 8va.Ed - R. C. Hibbeler.pdf
Análisis Estructural - 8va.Ed - R. C. Hibbeler.pdfAnálisis Estructural - 8va.Ed - R. C. Hibbeler.pdf
Análisis Estructural - 8va.Ed - R. C. Hibbeler.pdf
KevincithoEduML
 
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
 
561425171-5-1-Modelos-de-Pronosticos.pptx
561425171-5-1-Modelos-de-Pronosticos.pptx561425171-5-1-Modelos-de-Pronosticos.pptx
561425171-5-1-Modelos-de-Pronosticos.pptx
Angel Tello
 
Álgebra de matrices y ecuaciones(1).pptx
Álgebra de matrices y ecuaciones(1).pptxÁlgebra de matrices y ecuaciones(1).pptx
Álgebra de matrices y ecuaciones(1).pptx
fregaviz69
 
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Ú
 
ACTORES VIALES PLAN ESTRATEGICO DE SEGURIDAD VIAL
ACTORES VIALES PLAN ESTRATEGICO DE SEGURIDAD VIALACTORES VIALES PLAN ESTRATEGICO DE SEGURIDAD VIAL
ACTORES VIALES PLAN ESTRATEGICO DE SEGURIDAD VIAL
sstalejandragarcia
 
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
 
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdfEXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
SEGUNDOROBERTO
 
GEODINAMICA INTERNA DE LA TIERRA (Geologia general)
GEODINAMICA INTERNA DE LA TIERRA (Geologia general)GEODINAMICA INTERNA DE LA TIERRA (Geologia general)
GEODINAMICA INTERNA DE LA TIERRA (Geologia general)
German Vilte
 
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
 
5.2 DINAMICA.pdf.pdf ejercicios realizados y propuestos
5.2 DINAMICA.pdf.pdf ejercicios realizados y propuestos5.2 DINAMICA.pdf.pdf ejercicios realizados y propuestos
5.2 DINAMICA.pdf.pdf ejercicios realizados y propuestos
ManuelaVillegas8
 
Programas relacionado a telecomunicaciones.pptx
Programas relacionado a telecomunicaciones.pptxProgramas relacionado a telecomunicaciones.pptx
Programas relacionado a telecomunicaciones.pptx
AndrsSerrano23
 
COSTOS Y PRESUPUESTOS DE CONSTRUCCIONES CIVILES
COSTOS Y PRESUPUESTOS DE CONSTRUCCIONES CIVILESCOSTOS Y PRESUPUESTOS DE CONSTRUCCIONES CIVILES
COSTOS Y PRESUPUESTOS DE CONSTRUCCIONES CIVILES
MatiasMurillo4
 
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
 
Enjoy Pasto Bot - "Tu guía virtual para disfrutar del Carnaval de Negros y Bl...
Enjoy Pasto Bot - "Tu guía virtual para disfrutar del Carnaval de Negros y Bl...Enjoy Pasto Bot - "Tu guía virtual para disfrutar del Carnaval de Negros y Bl...
Enjoy Pasto Bot - "Tu guía virtual para disfrutar del Carnaval de Negros y Bl...
Eliana Gomajoa
 
infiltracion del agua en los suelos de diferentes tipos
infiltracion del agua en los suelos de diferentes tiposinfiltracion del agua en los suelos de diferentes tipos
infiltracion del agua en los suelos de diferentes tipos
SANTOSESTANISLAORODR
 
LA SUSPENSIÓN, CÁLCULO DE BALLESTAS.ppt
LA SUSPENSIÓN,  CÁLCULO DE BALLESTAS.pptLA SUSPENSIÓN,  CÁLCULO DE BALLESTAS.ppt
LA SUSPENSIÓN, CÁLCULO DE BALLESTAS.ppt
marcelo correa
 
Solucion de ejercicios de fundamentos .pdf
Solucion de ejercicios de fundamentos .pdfSolucion de ejercicios de fundamentos .pdf
Solucion de ejercicios de fundamentos .pdf
JhonyCY
 
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
 

Recently uploaded (20)

Presentación Aislante térmico.pdf Transferencia de calor
Presentación Aislante térmico.pdf Transferencia de calorPresentación Aislante térmico.pdf Transferencia de calor
Presentación Aislante térmico.pdf Transferencia de calor
 
Análisis Estructural - 8va.Ed - R. C. Hibbeler.pdf
Análisis Estructural - 8va.Ed - R. C. Hibbeler.pdfAnálisis Estructural - 8va.Ed - R. C. Hibbeler.pdf
Análisis Estructural - 8va.Ed - R. C. Hibbeler.pdf
 
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
 
561425171-5-1-Modelos-de-Pronosticos.pptx
561425171-5-1-Modelos-de-Pronosticos.pptx561425171-5-1-Modelos-de-Pronosticos.pptx
561425171-5-1-Modelos-de-Pronosticos.pptx
 
Álgebra de matrices y ecuaciones(1).pptx
Álgebra de matrices y ecuaciones(1).pptxÁlgebra de matrices y ecuaciones(1).pptx
Álgebra de matrices y ecuaciones(1).pptx
 
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
 
ACTORES VIALES PLAN ESTRATEGICO DE SEGURIDAD VIAL
ACTORES VIALES PLAN ESTRATEGICO DE SEGURIDAD VIALACTORES VIALES PLAN ESTRATEGICO DE SEGURIDAD VIAL
ACTORES VIALES PLAN ESTRATEGICO DE SEGURIDAD VIAL
 
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
 
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdfEXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
EXPEDIENTE TÉCNICO EN OBRAS. PUBLICASpdf
 
GEODINAMICA INTERNA DE LA TIERRA (Geologia general)
GEODINAMICA INTERNA DE LA TIERRA (Geologia general)GEODINAMICA INTERNA DE LA TIERRA (Geologia general)
GEODINAMICA INTERNA DE LA TIERRA (Geologia general)
 
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
 
5.2 DINAMICA.pdf.pdf ejercicios realizados y propuestos
5.2 DINAMICA.pdf.pdf ejercicios realizados y propuestos5.2 DINAMICA.pdf.pdf ejercicios realizados y propuestos
5.2 DINAMICA.pdf.pdf ejercicios realizados y propuestos
 
Programas relacionado a telecomunicaciones.pptx
Programas relacionado a telecomunicaciones.pptxProgramas relacionado a telecomunicaciones.pptx
Programas relacionado a telecomunicaciones.pptx
 
COSTOS Y PRESUPUESTOS DE CONSTRUCCIONES CIVILES
COSTOS Y PRESUPUESTOS DE CONSTRUCCIONES CIVILESCOSTOS Y PRESUPUESTOS DE CONSTRUCCIONES CIVILES
COSTOS Y PRESUPUESTOS DE CONSTRUCCIONES CIVILES
 
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...
 
Enjoy Pasto Bot - "Tu guía virtual para disfrutar del Carnaval de Negros y Bl...
Enjoy Pasto Bot - "Tu guía virtual para disfrutar del Carnaval de Negros y Bl...Enjoy Pasto Bot - "Tu guía virtual para disfrutar del Carnaval de Negros y Bl...
Enjoy Pasto Bot - "Tu guía virtual para disfrutar del Carnaval de Negros y Bl...
 
infiltracion del agua en los suelos de diferentes tipos
infiltracion del agua en los suelos de diferentes tiposinfiltracion del agua en los suelos de diferentes tipos
infiltracion del agua en los suelos de diferentes tipos
 
LA SUSPENSIÓN, CÁLCULO DE BALLESTAS.ppt
LA SUSPENSIÓN,  CÁLCULO DE BALLESTAS.pptLA SUSPENSIÓN,  CÁLCULO DE BALLESTAS.ppt
LA SUSPENSIÓN, CÁLCULO DE BALLESTAS.ppt
 
Solucion de ejercicios de fundamentos .pdf
Solucion de ejercicios de fundamentos .pdfSolucion de ejercicios de fundamentos .pdf
Solucion de ejercicios de fundamentos .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
 

Featured

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
 

Featured (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.