


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of the fundamental concepts in machine learning, including the three main types of learning (unsupervised, reinforcement, and supervised), the differences between training and testing data, and the concepts of hypotheses and their role in supervised learning. It also covers the differences between classification and regression tasks, as well as the key differences between numpy arrays and python lists. The document also explains the purpose and usage of various numpy functions, such as reshape(), vstack(), and hstack(), as well as the colon splicing operator. Additionally, it outlines the purposes of popular python libraries like numpy, scipy, scikit-learn, and matplotlib, which are widely used in the field of machine learning and data analysis.
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



What are two reasons why we want to incorporate learning into an agent-based system? - ANS>1) Agent to solve task without exactly knowing all the scenarios that it will find itself in
What is a hypothesis in the context of supervised learning? - ANS>A function that is found by the agent given a data set it is told to analyze. This is what is then put to the test by applying the hypothesis to a testing data set. What is the difference between classification and regression? - ANS>Classification is whenever the output value, y, is one of a finite set of values. Regression is when a real number (near-infinite possibilities) is the output value of the function. What is the difference between a NumPy array and a Python list regarding the data types of the arrays and lists? - ANS>NumPy arrays must contain elements of the same type or have a common supertype in common. NumPy will automatically adjust the typing so that the elements can be accommodated, much like an object-oriented programming language (for example, Java with the use of generic, all the elements must have a common link in order to be paired together in the array). Python lists will contain any value you pass in. How would you create a NumPy array with 5 rows and 10 cdolumns, and all elements have a value of 0? - ANS>arr = np.zeros((5,10))
List the purpose of SciPy? - ANS>SciPy contains additional routines needed in scientific work: for example, routines for computing integrals numerically, solving differential equations, optimization, and sparse matrices. In other words, it contains various scientific and higher-level matters. List the purpose of Sci-kit (sklearn)? - ANS>Is a free software machine learning library for Python. It features various classification, regression and clustering algorithms including support vector machines, random forests, gradient boosting, k-means and DBSCAN. List the purpose of Matplotlib? - ANS>Matplotlib is a library that provides Python with the ability to plot and analyze data for a variety of functions. It also allows for mathematical functions to be evaluated for a given x passed in which is very, very powerful in computational sciences.