Skip to content

Lesson One Exam #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: cohort2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"Nicholas Wickman - Copy of exam1.ipynb","provenance":[{"file_id":"1xMqsoSsEom-r_3WFUP5wRLzurMCzaG-J","timestamp":1582596791206}]},"kernelspec":{"name":"python3","display_name":"Python 3"}},"cells":[{"cell_type":"markdown","metadata":{"id":"B42YV4QyuRKZ","colab_type":"text"},"source":["# Instructions:\n","## Please save a copy of this notebook to your google drive and answer the questions below.\n","## Once completed please submit your notebook to the following [GitHub Repo](https://github.com/7-gate-academy-ml-program/Synopsis)"]},{"cell_type":"markdown","metadata":{"id":"d8mmOkNLyoWt","colab_type":"text"},"source":["### Name: Nicholas Wickman"]},{"cell_type":"markdown","metadata":{"id":"SdkchPgStYin","colab_type":"text"},"source":["# 1.) What is the difference between Classification and Regression?"]},{"cell_type":"markdown","metadata":{"id":"0aKWEz_atmEp","colab_type":"text"},"source":["Classification assigns entities into discreet classes. Regression finds a function of best fit for continuous values."]},{"cell_type":"markdown","metadata":{"id":"Ma7t_7yBtmud","colab_type":"text"},"source":["# 2.) What is the Curse of Dimensionality?"]},{"cell_type":"markdown","metadata":{"id":"9C3_8rvyyDYA","colab_type":"text"},"source":["Adding dimensions to a model exponentially increases the amount of data needed for training."]},{"cell_type":"markdown","metadata":{"id":"w_rFydWVyDl3","colab_type":"text"},"source":["# 3.) What is Cross Validation?"]},{"cell_type":"markdown","metadata":{"id":"X-iA3jnCtxqP","colab_type":"text"},"source":["Partitioning a test set from your training data to test the generalization of your model, without cheating by training on the \"real\" test data."]},{"cell_type":"markdown","metadata":{"id":"ieaSLJE2tyVm","colab_type":"text"},"source":["# 4.) On a high level how do Decision Trees work?"]},{"cell_type":"markdown","metadata":{"id":"sD6nBEWCt8ud","colab_type":"text"},"source":["Travelling down branches of nodes and making a binary decision at each node as to what branch to follow based on a simple rule (eg. AND, OR, XOR)"]},{"cell_type":"markdown","metadata":{"id":"6akxVwD_t82G","colab_type":"text"},"source":["# 5.) In regards to SVMs what is the Kernel Trick?"]},{"cell_type":"markdown","metadata":{"id":"eDGR-lhHuKNq","colab_type":"text"},"source":["Something to do with the transpose of the input matrix and finding the least-overfit line?"]},{"cell_type":"markdown","metadata":{"id":"aeXQIik9pnC-","colab_type":"text"},"source":["# 6.) For an online clothes store, what are the examples of OLTP and OLAP data? (one example each)"]},{"cell_type":"markdown","metadata":{"id":"DmtlkL81rjY8","colab_type":"text"},"source":["OLAP: A database of products.\n","OTLP: A calculation of shipping costs at checkout."]},{"cell_type":"markdown","metadata":{"id":"Wzl71E-Qrpcn","colab_type":"text"},"source":["# 7.) Give example of a function that does not maintain Idempotency."]},{"cell_type":"markdown","metadata":{"id":"_NiE2-tusl18","colab_type":"text"},"source":["x = x + 1"]},{"cell_type":"code","metadata":{"id":"KyFGb_MXKOWb","colab_type":"code","colab":{}},"source":[""],"execution_count":0,"outputs":[]}]}

Large diffs are not rendered by default.

Large diffs are not rendered by default.