Coder Social home page Coder Social logo

machine-learning-exercices's Introduction

Machine-Learning exercises

Problema 1:

Model creating to predict the vehicle consumption from the following variables:

  • Cylinders
  • Displacement
  • Power
  • Weight
  • Acceleration
  • Car year
  • Origin
  • Consumption (mpg)

The autos characteristics units is not in the international system. The "Origin" variable is a code identify the origin country.

Problema 2:

Create a dataset using the following code:

trX = np.linspace(-1, 1, 101)

trY = np.linspace(-1, 1, 101)

for i in range(len(trY)):

trY[i] = math.log(1 + 0.5 * abs(trX[i])) + trX[i] / 3 + np.random.randn() * 0.033

Use Theano to get the W_0 and W_1 parameters of the following model: y = log (1+ w0|x|)+ w1|x|

Problema 3:

The crime_data.csv file contains the number of crimes per 100,000 inhabitants in each of the United States states, as well as the percentage of the population that is urban. The crimes have been grouped into: assault, murder and rape.

Segment this data set using k-means and obtain the centroids of each cluster and the list of the states in each of the clusters. To do this, the optimal cluster number into which the data set is divided must be found.

machine-learning-exercices's People

Contributors

jorgemarse 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.