Giter VIP home page Giter VIP logo

individualassignment30412's Introduction

Individual Assignment 30412

30412 - Machine Learning @ Università Commerciale L. Bocconi

2021 Individual Project for the BEMACS course

Open In Colab

Author

  • Tommaso Ghisini

Task Description

This dataset is composed of 1300 samples with 31 features each. The first column is the sample id. The second column in the dataset represents the label. There are 4 possible values for the labels. The remaining columns are numeric features, except for the last column which is categorical (with 3 categories).

Notice that the classes are unbalanced: some labels are more frequent than others. You need to decide whether to take this into account, and if so how.

Your task is the following: you should compare the performance of Logistic Regression (implemented by sklearn.linear_model.LogisticRegression) with that of a Random Forest (implemented by sklearn.ensemble.RandomForestClassifier). Try to optimize both algorithms' parameters and determine which one is best for this dataset. At the end of the analysis, you should have chosen an algorithm and its optimal set of parameters: write this choice explicitly in the conclusions of your notebook.

Your notebook should detail the procedure you have used to choose the optimal parameters (graphs are a good idea when possible/sensible).

The notebook will be evaluated not only based on the final results, but also on the procedure employed, which should balance practical considerations (one may not be able to exhaustively explore all possible combinations of the parameters) with the desire for achieving the best possible performance in the least amount of time.

Bonus points may be assigned for particularly clean/nifty code and/or well-presented results.

You are also free to attempt other strategies beyond the one in the assignment (which however is mandatory!)


The submission deadline is Friday 28th of May 2021 at 23:59 pm CET.


File Structure

IndividualAssignment30412
|
+-- Notebook.ipynb
|
+-- mldata_000308XXXX -> contains dataset and description
|   |
|   +-- mldata_000308XXXX.csv
|   +-- mldata_000308XXXX.description.txt
|
+-- README.md

individualassignment30412's People

Contributors

tommasoghisini avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.