Homemade loop to search for the best functions for the regression model (Feature Selection Techniques) April 9, 2020.Interpretation of SHAP charts for the Titanic case (Feature Selection Techniques) April 9, 2020.Perfect Plots_ Matrix of corelation April 24, 2020.Perfect Plots Bubble Plot April 24, 2020.Kilka prostych przykładów z programowanie objektowe w Python April 24, 2020.Review of models based on gradient falling: XGBoost, LightGBM, CatBoost April 24, 2020.Pytorch regression _1.1_ April 29, 2020.Pytorch regression _2.1_ April 30, 2020.Multioutput Stacking Regressor May 3, 2020.Queueing Theory: Bomber landing analysis May 13, 2020.Measuring the efficiency of banking transaction systems using Queueing Theory May 14, 2020.legend ( handles, labels, loc = "upper left", title = "Sizes" ) # sztuczka żeby mieć podpisy na kólkach for i, txt in enumerate ( df10 ): ax. legend_elements ( prop = "sizes", alpha = 0.1 ) legend2 = ax. colorbar ( CC ) # DRUGI SPOSÓB #im = ax.scatter('horsepower', 'engine_size', data=df2, s='engine_size', c='price', cmap='PuBu', edgecolors='grey', linewidths=0.8) #fig.colorbar(im, ax=ax) # Sztuczka, żeby mieć legende do size - nie działa dla danych ciągłych (musi byc tylko kilka klas) handles, labels = CC. scatter ( 'Happiness Score', 'Freedom', data = df10, s = 'Population2017', c = 'Freedom', cmap = 'RdYlGn', edgecolors = 'grey', linewidths = 0.8 ) plt. set_ylabel ( 'Freedom', fontsize = 18 ) # Sztuczka żeby mieć colorbar CC = ax. set_xlabel ( 'Happiness Score', fontsize = 18 ) ax. set_title ( "AFRICA 2017 Happiness & Freedom n (color: 'Economy (GDP per Capita)' & size: 'Population2017')", fontsize = 16 ) ax. scatter ( 'Happiness Score', 'Freedom', data = df10, s = 'Population2017', c = 'Freedom', cmap = 'RdYlGn', edgecolors = 'grey', linewidths = 0.8 ) ax. subplots ( figsize = ( 14, 7 ), dpi = 280, facecolor = 'white', edgecolor = 'black' ) ax. legend ( handles, labels, loc = "lower right", title = "Sizes" ) # sztuczka żeby mieć podpisy na kólkach for i, txt in enumerate ( df ): ax. legend_elements ( prop = "sizes", alpha = 0.6 ) legend = ax. colorbar ( BB ) # DRUGI SPOSÓB #im = ax.scatter('horsepower', 'engine_size', data=df2, s='engine_size', c='price', cmap='PuBu', edgecolors='grey', linewidths=0.8) #fig.colorbar(im, ax=ax) # legenda do wielkości kółek handles, labels = BB. scatter ( 'area', 'poptotal', data = df, s = 'dot_size', c = 'popdensity', cmap = 'YlGn', edgecolors = 'blue', linewidths = 0.8 ) plt. set_ylabel ( 'Poptotal', fontsize = 18 ) # Sztuczka żeby mieć colorbar BB = ax. set_xlabel ( 'Area', fontsize = 18 ) ax. set_title ( "Bubble Plot of PopTotal vs Area n color: 'popdensity' & size: 'dot_size'", fontsize = 16 ) ax. scatter ( 'area', 'poptotal', data = df, s = 'dot_size', c = 'popdensity', cmap = 'YlGn', edgecolors = 'blue', linewidths = 0.8 ) ax. legend ( handles, labels, loc = "upper left", title = "Sizes" ) # sztuczka żeby mieć podpisy na kólkach for i, txt in enumerate ( df2 ): ax. legend_elements ( prop = "sizes", alpha = 0.6 ) legend2 = ax. colorbar ( AA ) # DRUGI SPOSÓB #im = ax.scatter('horsepower', 'engine_size', data=df2, s='engine_size', c='price', cmap='PuBu', edgecolors='grey', linewidths=0.8) #fig.colorbar(im, ax=ax) handles, labels = AA. scatter ( 'horsepower', 'engine_size', data = df2, s = 'engine_size', c = 'price', cmap = 'PuBu', edgecolors = 'grey', linewidths = 0.8 ) plt. set_ylabel ( 'engine_size', fontsize = 18 ) # Sztuczka żeby mieć colorbar AA = ax. set_xlabel ( 'horsepower', fontsize = 18 ) ax. set_title ( "Bubble Plot of Autos Area n (color: 'price & size: 'engine_size')", fontsize = 16 ) ax. scatter ( 'horsepower', 'engine_size', data = df2, s = 'engine_size', c = 'price', cmap = 'PuBu', edgecolors = 'grey', linewidths = 0.8 ) ax.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |