Build a good model to predict the mpg
of cars based on the data-set mtcars
Using the data-set of the Titanic (use titanic_train
from the library titanic
, or download the data from http://de-brouwer.com/assets/tmp/titanic.csv), build a logistic regression to predict survival.
homework:
Build a Decision Tree, Random Forest, aNN, and SVN model for:
mpg
in mtcars
Survived
in titanic_train
(from the package titanic
)Study the database iris
and try to find clusters that represent Species
.
Choose one of the previously created models and perform a Cross Validation – what are your conclusions?
You are part of the board and the strategy director presents the expansion strategy. There are 7 possible target companies (column “company”)
The following criteria are represented:
The director of the strategy team is here and you can ask questions. The voting is in 40 minutes. Work with your team to decide which targets are acceptable (vote abstain), desirable (vote in favour) or bad choices (vote against)
Your opinion is that we need sales capacity, and maybe some engineering capacity, much less important is the new team. Having a loan is acceptable for you, but you rather value your opinion than the opinion of the strategy team and hence will build your own model.
Build a model in Excel, Libreoffice Calc, or R to prepare your opinion. Make sure you apply at least the WSM.
The data is in the file company_purchase.csv
and copied here: