Machine Learning Iris
Write a program to apply Machine Learning classification models to Iris flowers dataset. Follow the steps:
1.Download the iris.csv file (example: https://gist.github.com/netj/8836201). From this file the label (target) is defined with the ‘variety’ column and the features with ‘epal.length’, ‘sepal.width’, ‘petal.length’, ‘petal.width’ columns.
2.Preprocess the iris.csv file by label encoding the target ‘variety’ column.
3.Apply the following Machine Learning classification models: K Nearest Neighbors and Random Forests
4.Calculate the following classification metrics to validate the model: Accuracy Score, Confusion Matrix and Classification Report.
5.Explain how the program works and compare these two classification models.
Make you follow all of them so you don’t lose any grade points because of that. Feel free to contact me for any questions you may have.
Process Synchronization Using Monitor and Pthreads
The purpose of this programming project is to explore process synchronization. This will be accomplished by writing a program to solve the bounded buffer problem using monitor concept. Your program must be written using C or C++ and you are required to use the Pthread libraries.
Bounded buffer is used to enable multiple producers and consumers processes to share memory. A producer can place items into the buffer only if the buffer has a free memory location to store the item. A producer cannot add items to a full buffer. A consumer can remove items from the buffer if the buffer is not empty. A consumer must wait to consume items if the buffer is empty. The “items” stored in this buffer will be integers. Your producer processes will have to insert random numbers into the buffer. The consumer processes will consume a number.
Articlee writing
WEB-BASED CASE STUDY, THE FUTURE OF LIFE INSTITUTE. Read the case and answer all questions
Elon-Musk donated $10 million to a foundation called the Future of Life Institute. The institute published an open letter from an impressive array of AI experts who call for careful research into how humanity can reap the benefits of AI “while avoiding its pitfalls.” Go online and find out about the institute’s initiatives. What are its primary goals? How can humans establish and maintain careful oversight of the work carried out by robots? How valid are Elon Musk, Bill Gates, and Stephen Hawking’s concerns? What other concerns should the public bear in mind as the technological revolution advances?
Sources: Future of Life Institute. http://futureoflife.org
Format: APA,
word count: 500 minimum
Writing Assignment 2
Discuss the difference between VBA and VB.Net. What are the differences and use scenarios for each?
· Prepare a quality, substantive journal post that addresses the objectives of the
assignment and the expectations set forth in the grading rubric.
· 300 words minimum is required.
Use APA format
Term Paper Cybercrime
Instructions
You will be required to write one term paper this semester. The specifications are as follows:
- You must write a 5-8 page term paper on a topic of your choice related to cybercrime (ALL TOPICS MUST BE APPROVED). Some examples would include, how to avoid being a victim of cybercrime, the laws surrounding cybercrime, a recent incident related to cybercrime or pick an individual cybercrime and discuss the impact this crime has on society. Please write the term paper in a Word document and then upload it for grading.
- Your term paper outline is due at the end of Week 2.
- Your term paper is due at the end of Week 8.
- In addition to the 5-8 pages of the paper itself, you must include a title page and a reference page.
- Your title page must include the title of your paper, the date, the name of the course, your name, and your instructor’s name.
- Your reference page must be written in APA citation style, Arial or Time New Roman styles, 12-point font.
- Page margins Top, Bottom, Left Side, and Right Side = 1 inch, with reasonable accommodation being made for special situations.
- Your paper must be in your own words, representing original work. Paraphrases of others’ work must include attributions to the authors. Limit quotations to an average of no more than 3-5 lines, and use quotations sparingly. It is always better to write the information in your own words than to directly quote.
- When submitting the paper, it will automatically run through Turnitin for review. PAPERS WITH AN ORIGINALITY REPORT FROM TURNITIN OVER 15% OR OVER 2% FROM A SINGLE SOURCE WILL RESULT IN A ZERO GRADE.
- PER THE STUDENT HANDBOOK, YOU CANNOT SUBMIT A PAPER THAT HAS BEEN SUBMITTED IN ANOTHER COURSE.
Compare and contrast predictive analytics with prescriptive and descriptive analytics. Use examples.
Discussion 1 (Chapter 1): Compare and contrast predictive analytics with prescriptive and descriptive analytics. Use examples.
Note: The first post should be made by Wednesday 11:59 p.m., EST. I am looking for active engagement in the discussion. Please engage early and often.
Your response should be 250-300 words. Respond to two postings provided by your classmates.
There must be at least one APA formatted reference (and APA in-text citation) to support the thoughts in the post. Do not use direct quotes, rather rephrase the author’s words and continue to use in-text citations.
Programming Question
I Have programming questions to answer and I need to them to be answered right now!
How many databases are you in? Discussion board
There are numerous databases that contain personal, but public, information about individuals.
Today much of this data is available online.
How do you feel about your personal information being contained in databases that other individuals can access or that might be breached via the Internet?
Do you mind that anyone with an Internet connection might be able to find out how much you paid for your house, if you are married, where you live, and other personal information?
Answer with complete sentences for full credit.
MYSQL
we will work with the Sailingdatabase. Download the sailingDB-JS.sql from and load it in MySQL.Submit your lab report as Word document.
1.Read the statements in sailingDB-JS.sql. For each type of statements, choose one example to explain what that statement does. Refer to the textbook or MySQL reference manual for information.
2. Describe briefly each relation in the Sailing database. Point out the entity relations and association relations and explain your rationale.
3. Queries A and B below demonstrate the impact of order when we use outer jointo connect three or more database tables. Execute each query, then compare the query results, and include in your lab report:
•A screenshot of the results for each query
•An explanation of where and why the results of the two queries differ
Query A: SELECT SA.sid, SA.sname AS Sailor_Name, CONCAT(‘S:’,RA.sid,’-B:’,RA.bid) AS Reserv_Track_id, BA.bid, BA.bname AS Boat_NameFROM reserves RA right outer join sailors SA on RA.sid=SA.sid right outer join boats BA on RA.bid=BA.bid;
Query B: SELECT SA.sid, SA.sname AS Sailor_Name, CONCAT(‘S:’,RA.sid,’-B:’,RA.bid) AS Reserv_Track_id, BA.bid, BA.bname AS Boat_NameFROM reserves RA right outer join boats BA on RA.bid=BA.bid right outer join sailors SA on RA.sid=SA.sid;
4.QueriesC, D, and E attempt to find the names of sailors who have reserved BOTH a red boat and a green boat. Execute each query, compare the results, and include in your lab report:
•The screenshot of results for each query
•A comparative analysis of the different results
•Explanation of why Query E does not work
Query C: SELECT S.snameFROM Sailors S, Reserves R1,Boats B1,ReservesR2,Boats B2WHERE S.sid=R1.sid AND R1.bid=B1.bidAND S.sid=R2.sid AND R2.bid=B2.bidAND B1.color=’red’ AND B2.color=’green’;
Query D:SELECT S.snameFROM Sailors S, Reserves R, Boats BWHERE S.sid=R.sid AND R.bid=B.bid AND B.color=’red’AND S.sid IN ( SELECT S2.sidFROM Sailors S2, Boats B2, Reserves R2WHERE S2.sid=R2.sid AND R2.bid=B2.bidAND B2.color=’green’);
Query E:SELECT S.snameFROM Sailors S, Reserves R, Boats BWHERE S.sid=R.sid AND R.bid=B.bidAND (B.color=’red’AND B.color=’green’);
Reference to database below: