Python

Hands On Machine Learning – Example 1.1 with CSV

Required CSV oecd_bli_2015.csv gdp_per_capita.csv   prepare_country_stats()

  Completed code for example 1.1

  Plotting using sklearn.linear_model.LinearRegression():                         Plotting using sklearn.neighbors.KNeighborsRegressor()with sampling n = 3:

Unity

[UNITY] Character & map collision, Arrow key access

                  Character & map collision First of all, BoxCollider2D are required and added to both character and map tiles to make sure proper collision detection. Rigidbody2D allows us to connect the physical properties of the character and access it from the C# script. Initialize the object before the Start() function

  In start(), we…

Continue Reading