SlideShare a Scribd company logo
1 of 1
Download to read offline
In Python: use a random matrix
a) Draw the data points as a scatterplot, with the data shown as black Xs.
b) [Perform k-means clustering on the data with k=2 clusters. Draw the data in your second
subplot window, with different markers having different color and shape for each cluster.
c) [For the final plot, do this again but with k=3 clusters.

More Related Content

More from abhijitakolkar1

The journal entry to record the accrual of interest expense .pdf
The journal entry to record the accrual of interest expense .pdfThe journal entry to record the accrual of interest expense .pdf
The journal entry to record the accrual of interest expense .pdfabhijitakolkar1
 
tewer mill subit a dim in the coming vear 0055094501110.pdf
tewer mill subit a dim in the coming vear 0055094501110.pdftewer mill subit a dim in the coming vear 0055094501110.pdf
tewer mill subit a dim in the coming vear 0055094501110.pdfabhijitakolkar1
 
TA 204a Differentiate local from systemic signs of malign.pdf
TA 204a  Differentiate local from systemic signs of malign.pdfTA 204a  Differentiate local from systemic signs of malign.pdf
TA 204a Differentiate local from systemic signs of malign.pdfabhijitakolkar1
 
RunHeavy Corporation RHC is a corporation that manages a l.pdf
RunHeavy Corporation RHC is a corporation that manages a l.pdfRunHeavy Corporation RHC is a corporation that manages a l.pdf
RunHeavy Corporation RHC is a corporation that manages a l.pdfabhijitakolkar1
 
Suppose that Econland experiences a recession.pdf
Suppose that Econland experiences a recession.pdfSuppose that Econland experiences a recession.pdf
Suppose that Econland experiences a recession.pdfabhijitakolkar1
 
Strategic Public Sector Governance The Critical Role of Comm.pdf
Strategic Public Sector Governance The Critical Role of Comm.pdfStrategic Public Sector Governance The Critical Role of Comm.pdf
Strategic Public Sector Governance The Critical Role of Comm.pdfabhijitakolkar1
 
Question 11 1 point Control is the process of comparing ac.pdf
Question 11 1 point Control is the process of comparing ac.pdfQuestion 11 1 point Control is the process of comparing ac.pdf
Question 11 1 point Control is the process of comparing ac.pdfabhijitakolkar1
 
La venta de negocios puede lograr muchos objetivos diferente.pdf
La venta de negocios puede lograr muchos objetivos diferente.pdfLa venta de negocios puede lograr muchos objetivos diferente.pdf
La venta de negocios puede lograr muchos objetivos diferente.pdfabhijitakolkar1
 
Need help with formulas Begin this exercise by opening the .pdf
Need help with formulas  Begin this exercise by opening the .pdfNeed help with formulas  Begin this exercise by opening the .pdf
Need help with formulas Begin this exercise by opening the .pdfabhijitakolkar1
 
On January 4 2020 Black Corporation acquired 100 of the o.pdf
On January 4 2020 Black Corporation acquired 100 of the o.pdfOn January 4 2020 Black Corporation acquired 100 of the o.pdf
On January 4 2020 Black Corporation acquired 100 of the o.pdfabhijitakolkar1
 
In a survuy peeple were asked whether they thought sun went.pdf
In a survuy peeple were asked whether they thought sun went.pdfIn a survuy peeple were asked whether they thought sun went.pdf
In a survuy peeple were asked whether they thought sun went.pdfabhijitakolkar1
 
Kresel Zihniyet Kresel Zihniyet Bu nedir Neden nemlid.pdf
Kresel Zihniyet  Kresel Zihniyet  Bu nedir Neden nemlid.pdfKresel Zihniyet  Kresel Zihniyet  Bu nedir Neden nemlid.pdf
Kresel Zihniyet Kresel Zihniyet Bu nedir Neden nemlid.pdfabhijitakolkar1
 
Instrucciones Relaciona cada palabra o frase con su definic.pdf
Instrucciones Relaciona cada palabra o frase con su definic.pdfInstrucciones Relaciona cada palabra o frase con su definic.pdf
Instrucciones Relaciona cada palabra o frase con su definic.pdfabhijitakolkar1
 
If it exists find the most general unifying substitution fo.pdf
If it exists find the most general unifying substitution fo.pdfIf it exists find the most general unifying substitution fo.pdf
If it exists find the most general unifying substitution fo.pdfabhijitakolkar1
 
i need help please Select ALL the statements that aro TRUE .pdf
i need help please  Select ALL the statements that aro TRUE .pdfi need help please  Select ALL the statements that aro TRUE .pdf
i need help please Select ALL the statements that aro TRUE .pdfabhijitakolkar1
 
Bob Morton is undertaking a twoyear expatriate assignment a.pdf
Bob Morton is undertaking a twoyear expatriate assignment a.pdfBob Morton is undertaking a twoyear expatriate assignment a.pdf
Bob Morton is undertaking a twoyear expatriate assignment a.pdfabhijitakolkar1
 
Discuss the influence of accounting theory in setting standa.pdf
Discuss the influence of accounting theory in setting standa.pdfDiscuss the influence of accounting theory in setting standa.pdf
Discuss the influence of accounting theory in setting standa.pdfabhijitakolkar1
 
develop a business proposal with an implementation plan and .pdf
develop a business proposal with an implementation plan and .pdfdevelop a business proposal with an implementation plan and .pdf
develop a business proposal with an implementation plan and .pdfabhijitakolkar1
 
Cuda programming in C Modify the above code so that the s.pdf
Cuda programming in C   Modify the above code so that the s.pdfCuda programming in C   Modify the above code so that the s.pdf
Cuda programming in C Modify the above code so that the s.pdfabhijitakolkar1
 
Cul de las siguientes NO es una fuente sostenible de creci.pdf
Cul de las siguientes NO es una fuente sostenible de creci.pdfCul de las siguientes NO es una fuente sostenible de creci.pdf
Cul de las siguientes NO es una fuente sostenible de creci.pdfabhijitakolkar1
 

More from abhijitakolkar1 (20)

The journal entry to record the accrual of interest expense .pdf
The journal entry to record the accrual of interest expense .pdfThe journal entry to record the accrual of interest expense .pdf
The journal entry to record the accrual of interest expense .pdf
 
tewer mill subit a dim in the coming vear 0055094501110.pdf
tewer mill subit a dim in the coming vear 0055094501110.pdftewer mill subit a dim in the coming vear 0055094501110.pdf
tewer mill subit a dim in the coming vear 0055094501110.pdf
 
TA 204a Differentiate local from systemic signs of malign.pdf
TA 204a  Differentiate local from systemic signs of malign.pdfTA 204a  Differentiate local from systemic signs of malign.pdf
TA 204a Differentiate local from systemic signs of malign.pdf
 
RunHeavy Corporation RHC is a corporation that manages a l.pdf
RunHeavy Corporation RHC is a corporation that manages a l.pdfRunHeavy Corporation RHC is a corporation that manages a l.pdf
RunHeavy Corporation RHC is a corporation that manages a l.pdf
 
Suppose that Econland experiences a recession.pdf
Suppose that Econland experiences a recession.pdfSuppose that Econland experiences a recession.pdf
Suppose that Econland experiences a recession.pdf
 
Strategic Public Sector Governance The Critical Role of Comm.pdf
Strategic Public Sector Governance The Critical Role of Comm.pdfStrategic Public Sector Governance The Critical Role of Comm.pdf
Strategic Public Sector Governance The Critical Role of Comm.pdf
 
Question 11 1 point Control is the process of comparing ac.pdf
Question 11 1 point Control is the process of comparing ac.pdfQuestion 11 1 point Control is the process of comparing ac.pdf
Question 11 1 point Control is the process of comparing ac.pdf
 
La venta de negocios puede lograr muchos objetivos diferente.pdf
La venta de negocios puede lograr muchos objetivos diferente.pdfLa venta de negocios puede lograr muchos objetivos diferente.pdf
La venta de negocios puede lograr muchos objetivos diferente.pdf
 
Need help with formulas Begin this exercise by opening the .pdf
Need help with formulas  Begin this exercise by opening the .pdfNeed help with formulas  Begin this exercise by opening the .pdf
Need help with formulas Begin this exercise by opening the .pdf
 
On January 4 2020 Black Corporation acquired 100 of the o.pdf
On January 4 2020 Black Corporation acquired 100 of the o.pdfOn January 4 2020 Black Corporation acquired 100 of the o.pdf
On January 4 2020 Black Corporation acquired 100 of the o.pdf
 
In a survuy peeple were asked whether they thought sun went.pdf
In a survuy peeple were asked whether they thought sun went.pdfIn a survuy peeple were asked whether they thought sun went.pdf
In a survuy peeple were asked whether they thought sun went.pdf
 
Kresel Zihniyet Kresel Zihniyet Bu nedir Neden nemlid.pdf
Kresel Zihniyet  Kresel Zihniyet  Bu nedir Neden nemlid.pdfKresel Zihniyet  Kresel Zihniyet  Bu nedir Neden nemlid.pdf
Kresel Zihniyet Kresel Zihniyet Bu nedir Neden nemlid.pdf
 
Instrucciones Relaciona cada palabra o frase con su definic.pdf
Instrucciones Relaciona cada palabra o frase con su definic.pdfInstrucciones Relaciona cada palabra o frase con su definic.pdf
Instrucciones Relaciona cada palabra o frase con su definic.pdf
 
If it exists find the most general unifying substitution fo.pdf
If it exists find the most general unifying substitution fo.pdfIf it exists find the most general unifying substitution fo.pdf
If it exists find the most general unifying substitution fo.pdf
 
i need help please Select ALL the statements that aro TRUE .pdf
i need help please  Select ALL the statements that aro TRUE .pdfi need help please  Select ALL the statements that aro TRUE .pdf
i need help please Select ALL the statements that aro TRUE .pdf
 
Bob Morton is undertaking a twoyear expatriate assignment a.pdf
Bob Morton is undertaking a twoyear expatriate assignment a.pdfBob Morton is undertaking a twoyear expatriate assignment a.pdf
Bob Morton is undertaking a twoyear expatriate assignment a.pdf
 
Discuss the influence of accounting theory in setting standa.pdf
Discuss the influence of accounting theory in setting standa.pdfDiscuss the influence of accounting theory in setting standa.pdf
Discuss the influence of accounting theory in setting standa.pdf
 
develop a business proposal with an implementation plan and .pdf
develop a business proposal with an implementation plan and .pdfdevelop a business proposal with an implementation plan and .pdf
develop a business proposal with an implementation plan and .pdf
 
Cuda programming in C Modify the above code so that the s.pdf
Cuda programming in C   Modify the above code so that the s.pdfCuda programming in C   Modify the above code so that the s.pdf
Cuda programming in C Modify the above code so that the s.pdf
 
Cul de las siguientes NO es una fuente sostenible de creci.pdf
Cul de las siguientes NO es una fuente sostenible de creci.pdfCul de las siguientes NO es una fuente sostenible de creci.pdf
Cul de las siguientes NO es una fuente sostenible de creci.pdf
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 

Recently uploaded (20)

Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 

In Python use a random matrix a Draw the data points as a.pdf

  • 1. In Python: use a random matrix a) Draw the data points as a scatterplot, with the data shown as black Xs. b) [Perform k-means clustering on the data with k=2 clusters. Draw the data in your second subplot window, with different markers having different color and shape for each cluster. c) [For the final plot, do this again but with k=3 clusters.