b7990885d8b26b9404fd9ce952b0b2f005019594,california_housing/feature_engineering.py,,,#,23

Before Change


				s=train_set["population"]/100, label="population", figsize=(10,7),
				c="median_house_value", cmap=plt.get_cmap("jet"), colorbar=True)
plt.legend() 
plt.show()

attributes = ["median_house_value", "median_income", "total_rooms", "housing_median_age"]

scatter_matrix(housing[attributes], figsize=(12,8))

After Change


    if row["Name"] not in city_pop_data["City"].values:   
        continue           
    else: 
        city_coords[row["Name"]] = (float(row["Latitude"]), float(row["Longitude"]))


//clean pop
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: CNuge/kaggle-code
Commit Name: b7990885d8b26b9404fd9ce952b0b2f005019594
Time: 2018-01-12
Author: nugentc@uoguelph.ca
File Name: california_housing/feature_engineering.py
Class Name:
Method Name:


Project Name: scikit-image/scikit-image
Commit Name: cd5c1a73293f1eba566318d8386e67ade54d2c79
Time: 2020-09-27
Author: rlu17@jhu.edu
File Name: doc/examples/color_exposure/plot_local_equalize.py
Class Name:
Method Name:


Project Name: tyarkoni/pliers
Commit Name: 08800dc5da446e81952534090da2419c82a6bc13
Time: 2016-10-16
Author: quinten.mcnamara@gmail.com
File Name: featurex/diagnostics/__init__.py
Class Name: Diagnostics
Method Name: show


Project Name: dmlc/dgl
Commit Name: 7156c7163b046686064d7c9de445041870e672bc
Time: 2018-12-01
Author: minjie.wang@nyu.edu
File Name: tutorials/1_first.py
Class Name:
Method Name: