text
stringlengths
1
3.55k
source
stringlengths
24
207
emb
listlengths
1.02k
1.02k
9. 3 • graphing probability distributions 439 mu is the mean of the poisson distribution ( mu refers to the greek letter ). x is the number of successes in the specific interval of interest. example 9. 8 problem the port of miami is home to many cruise lines, and the port is typically heavily congested with arriving cr...
openstax_principles-of-data-science-web
[ 0.026412615552544594, 0.06816194206476212, 0.00047100259689614177, -0.02184959687292576, -0.029291147366166115, -0.023855313658714294, 0.020983858034014702, 0.0014913149643689394, 0.02116481401026249, 0.07199431210756302, -0.0004896802129223943, 0.007515464443713427, -0.02324887365102768, ...
440 9 • visualizing data access for free at openstax. org plt. show ( ) the resulting output will look like this : from the graph, there are lower probabilities for and larger. so there is not much of a chance that 7 or more ships will arrive in a one - hour time period. the administrators for the port of miami should ...
openstax_principles-of-data-science-web
[ 0.01790398173034191, 0.054627493023872375, 0.024573909118771553, -0.012430749833583832, -0.021074345335364342, -0.01038415264338255, -0.004858094267547131, 0.010635986924171448, -0.0072352085262537, 0.09881003946065903, 0.0626290962100029, -0.007640289142727852, -0.0004466959508135915, -0....
9. 3 • graphing probability distributions 441 to generate a graph of the normal distribution, we can plot many points that fall on the normal curve according to the formal definition of the probability density function ( pdf ) of the normal distribution, as follows : of course, this is a job left to python, and the pyt...
openstax_principles-of-data-science-web
[ 0.014399834908545017, 0.026046307757496834, 0.019648969173431396, -0.024802859872579575, -0.03758557513356209, -0.019770050421357155, -0.007683762349188328, 0.03205005079507828, -0.018214795738458633, 0.08193888515233994, 0.029068294912576675, -0.009581850841641426, 0.026253195479512215, -...
. linspace ( mu - 3 * sigma, mu + 3 * sigma, 1000 ) # calculate values of the normal density function using norm. pdf function y = norm. pdf ( x, mu, sigma ) python code 442 9 • visualizing data access for free at openstax. org # plot the normal distribution plt. plot ( x, y ) # add labels and title plt. xlabel ('blood...
openstax_principles-of-data-science-web
[ 0.010214054957032204, 0.011882687918841839, 0.057630233466625214, -0.034298788756132126, -0.02897363156080246, -0.010394776239991188, 0.0059067499823868275, -0.0023715838324278593, -0.030100692063570023, 0.05384944751858711, 0.04349230229854584, 0.015173644758760929, 0.011527336202561855, ...
9. 4 geospatial and heatmap data visualization using python learning outcomes by the end of this section, you should be able to : • 9. 4. 1 describe the insights produced by spatial heatmaps based on geospatial data. • 9. 4. 2 discuss the common features of gis mapping. • 9. 4. 3 use a gis mapper to produce a visualiza...
openstax_principles-of-data-science-web
[ 0.009185001254081726, 0.0037698072846978903, 0.005610474850982428, -0.008035531267523766, 0.0006324684363789856, 0.014833247289061546, 0.00039208028465509415, -0.030774325132369995, -0.004541847854852676, 0.057767126709222794, 0.013643363490700722, 0.0021046954207122326, 0.014844599179923534...
9. 4 • geospatial and heatmap data visualization using python 443 geographic component, such as latitude and longitude coordinates. python offers several libraries and utilities for geospatial data visualization and analysis, including the pandas library discussed in what are data and data science? pandas is a python l...
openstax_principles-of-data-science-web
[ 0.002531958743929863, 0.009444371797144413, 0.02778756245970726, -0.008241251111030579, -0.01746615767478943, 0.028067519888281822, -0.022706571966409683, -0.019290581345558167, -0.001501630526036024, 0.06136166676878929, 0.010331304743885994, -0.002958795288577676, 0.019161779433488846, 0...
. climate. gov / media / 15930, accessed june 23, 2024. ) spatial heatmaps are generated by condensing the spatial coordinates of individual data points into a grid or a set of bins covering the geographic area of interest. the density of data points within each grid cell or bin is then calculated, and these density re...
openstax_principles-of-data-science-web
[ -0.0019514656160026789, 0.00586556876078248, 0.016916269436478615, 0.00757182901725173, -0.00301020173355937, -0.009871873073279858, -0.019293401390314102, 0.01411129254847765, 0.0072795250453054905, 0.08110349625349045, 0.022262101992964745, 0.020919710397720337, 0.0525168776512146, 0.011...
##otlib : a 2d graphics environment ", computing in science & engineering, vol. 9, no. 3, pp. 90 - 95, 2007. doi : https : / / zenodo. org / records / 13308876 ) exploring further interactive heatmaps various interactive heatmaps are available that allow the user to preselect variables of interest and then view the cor...
openstax_principles-of-data-science-web
[ -0.0014538398245349526, 0.015846172347664833, 0.019787436351180077, -0.025952860713005066, -0.01587645336985588, -0.017152104526758194, -0.03370261192321777, -0.014056997373700142, 0.005241958424448967, 0.0551886260509491, 0.0047295838594436646, 0.013640280812978745, 0.04782668873667717, -...
9. 4 • geospatial and heatmap data visualization using python 445 • heatmap ( ) function, which is part of the seaborn library. seaborn provides a high - level capability for statistical graphs. exploring further seaborn seaborn includes a wide variety of functions for visualizing statistical relationships. this user g...
openstax_principles-of-data-science-web
[ 0.031105097383260727, 0.030039925128221512, 0.01978886127471924, -0.020860858261585236, -0.026661070063710213, 0.008305532857775688, -0.034335918724536896, -0.015275067649781704, 0.00005838707147631794, 0.05647362396121025, 0.017958618700504303, -0.008240890689194202, 0.03896363452076912, ...
##map function also shows the color bar to provide the viewer with the scale of color gradient used in the heatmap. import seaborn as sns import matplotlib. pyplot as plt # load the dataset from seaborn library called flights heatmap _ data = sns. load _ dataset ( " flights " ) # create an array with heatmap data from ...
openstax_principles-of-data-science-web
[ 0.037687402218580246, 0.04306153953075409, 0.03628198429942131, 0.00010292979277437553, -0.0010578209767118096, 0.01742137409746647, -0.013148218393325806, -0.007171186618506908, 0.02748236060142517, 0.04508717730641365, -0.0027687717229127884, 0.020537184551358223, 0.03355703130364418, -0...
of data according to geographic boundaries such as states, counties, etc. a choropleth graph is created by overlaying a grid on a geographic map and then typically coloring the map based on density or some other measurement for a specific grid location on the map. choropleth graphs are commonly used to plot data overla...
openstax_principles-of-data-science-web
[ 0.011115767993032932, 0.0035246554762125015, 0.011922454461455345, -0.012358609586954117, -0.019766679033637047, 0.008615524508059025, 0.02807476930320263, -0.010373725555837154, 0.042851176112890244, 0.07581028342247009, 0.020259307697415352, 0.005870690569281578, -0.02911236137151718, -0...
9. 4 • geospatial and heatmap data visualization using python 447 these graphs provide a very natural and intuitive way to visualize data for certain geographic regions and thus identify patterns, trends, and correlations. these types of maps also allow the user to identify clusters and outliers to assist in data inter...
openstax_principles-of-data-science-web
[ 0.02620534412562847, 0.024156812578439713, -0.007736062165349722, 0.02448110096156597, -0.004466025624424219, 0.012735370546579361, -0.01069379597902298, -0.005033052526414394, 0.009525254368782043, 0.08353772759437561, -0.01570504531264305, 0.0009383548167534173, -0.004248593933880329, 0....
python for geographic mapping as mentioned earlier, python provides a number of libraries and tools to facilitate the generation of 448 9 • visualizing data access for free at openstax. org geographic mapping. there are several steps involved in the process : 1. establish and collect geospatial data : the first step is...
openstax_principles-of-data-science-web
[ 0.0023464495316147804, 0.034717150032520294, -0.013423355296254158, -0.043269552290439606, 0.0018830272601917386, 0.012373482808470726, -0.004775188863277435, 0.0012839691480621696, 0.02471087872982025, 0.0608210526406765, -0.006173292174935341, -0.03133928030729294, 0.019232317805290222, ...
9. 5 multivariate and network data visualization using python learning outcomes by the end of this section, you should be able to : • 9. 5. 1 produce labeled scatterplots and scatterplots with variable density points, different colors, etc. to indicate additional information. • 9. 5. 2 create and interpret correlation ...
openstax_principles-of-data-science-web
[ 0.011703557334840298, 0.01429148018360138, 0.015794098377227783, -0.006177329458296299, 0.0021828138269484043, 0.0013961251825094223, -0.0069777932949364185, -0.030888264998793602, 0.022302452474832535, 0.06598054617643356, -0.02207329124212265, -0.01151576079428196, 0.028104359284043312, ...
reporting results ), or geospatial maps to show the geographic distribution of users and associated demographics. in this section, we explore more advanced visualization techniques such as scatterplots with variable density points, correlation heatmaps, and three - dimensional type analysis. scatterplots, revisited a s...
openstax_principles-of-data-science-web
[ -0.011792560108006, 0.019075045362114906, -0.007144549395889044, -0.012322816997766495, -0.027998102828860283, -0.03470972925424576, 0.02073175087571144, -0.03316323459148407, 0.02332974225282669, 0.04099876433610916, 0.0036809381563216448, 0.014933478087186813, -0.008382115513086319, 0.00...
9. 5 • multivariate and network data visualization using python 449 determine if there is a correlation or dependency between the two quantities. scatterplots were discussed extensively in inferential statistics and regression analysis as a key element in correlation and regression analysis. recall that in a scatterplo...
openstax_principles-of-data-science-web
[ -0.009414791129529476, 0.019900834187865257, 0.007025257684290409, -0.022112678736448288, -0.004841036628931761, 0.005088498815894127, 0.009312815964221954, -0.028042271733283997, 0.01615956984460354, 0.024634772911667824, 0.0013422934571281075, 0.003062855452299118, 0.014231217093765736, ...
##arators def format _ ticks ( value, tick _ number ) : return f'{ value :,. 0f }'# apply the custom formatter to the y - axis plt. gca ( ). yaxis. set _ major _ formatter ( ticker. funcformatter ( format _ ticks ) ) # show the plot plt. show ( ) the resulting output will look like this : python code 450 9 • visualizin...
openstax_principles-of-data-science-web
[ 0.025487978011369705, 0.017892543226480484, 0.01143726333975792, -0.010350112803280354, -0.01396887470036745, -0.00490473210811615, 0.02074107527732849, -0.01663036458194256, 0.007812052965164185, 0.03914128243923187, -0.00908209290355444, 0.017859287559986115, 0.03492835536599159, 0.00573...
color palette plt. scatter ( x, y, c = y, cmap ='coolwarm') python code
openstax_principles-of-data-science-web
[ 0.004188887774944305, -0.004049796145409346, 0.028516685590147972, -0.020132241770625114, -0.05937528610229492, -0.0284170713275671, 0.010248793289065361, -0.02034011483192444, 0.003923408687114716, 0.07361625880002975, 0.01221512258052826, 0.025454530492424965, 0.04145906865596771, -0.018...
9. 5 • multivariate and network data visualization using python 451 # plot a color bar so the user can interpret the color scale cbar = plt. colorbar ( ) # define a function to format the color bar ticks with commas as thousands separators def format _ colorbar _ ticks ( value, tick _ number ) : return f'{ value :,. 0f...
openstax_principles-of-data-science-web
[ 0.031842175871133804, -0.004575657192617655, 0.01074434258043766, -0.014159869402647018, 0.009263262152671814, 0.00032949564047157764, 0.00800089817494154, -0.01581994816660881, 0.015569512732326984, 0.046818654984235764, -0.0063726771622896194, 0.004317531827837229, 0.00604251679033041, -...
##plot can be created based on data, where x is the square footage of the home, y is the price of the home, and z is the distance from center of the city, represented by the color of the point. # import the matplotlib library import matplotlib. pyplot as plt # define the x - data, which is square footage of a home x = ...
openstax_principles-of-data-science-web
[ 0.00942686852067709, 0.046971797943115234, 0.00855602789670229, -0.04387766122817993, -0.02863118425011635, -0.02886565588414669, -0.02155592106282711, 0.009833631105720997, 0.017473235726356506, 0.07185108959674835, -0.009483818896114826, 0.02999773807823658, 0.040784694254398346, -0.0132...
9. 5 • multivariate and network data visualization using python 453 # also plot a color bar so user can interpret the color scale plt. colorbar ( ) # add a title using the title function plt. title ( " home price versus square footage ( color = miles from center city ) " ) # add labels to the x and y axes by using xlab...
openstax_principles-of-data-science-web
[ 0.011147506535053253, 0.028111843392252922, 0.027415921911597252, 0.0062387967482209206, -0.0007569952867925167, -0.001478560734540224, 0.026060666888952255, -0.03678025305271149, 0.022976605221629143, 0.05182601511478424, -0.004294507671147585, 0.0035992616321891546, 0.005683297291398048, ...
y tends to increase, and when x decreases, y tends to decrease ( positive correlation ). • a negative value of r means that when x increases, y tends to decrease, and when x decreases, y tends to increase ( negative correlation ). data scientists often collect data on more than two variables and then are interested in ...
openstax_principles-of-data-science-web
[ 0.003629140555858612, 0.026003427803516388, 0.025611013174057007, 0.011909225955605507, -0.0007824608474038541, -0.017375310882925987, 0.008494438603520393, -0.03265364468097687, -0.006445722188800573, 0.07641678303480148, 0.019147926941514015, 0.008054172620177269, 0.02149011939764023, -0...
5 fields and descriptions for the “ car _ crashes ” dataset from the seaborn library there are 50 records in the dataset ( one record per state ). the first five lines of the dataset appear in table 9. 6. total speeding alcohol not _ distracted no _ previous ins _ premium ins _ losses abbrev 18. 8 7. 332 5. 64 18. 048 ...
openstax_principles-of-data-science-web
[ -0.005365305580198765, 0.010876230895519257, 0.043120600283145905, -0.013784210197627544, -0.03353225439786911, -0.016864364966750145, 0.034078970551490784, -0.012020605616271496, 0.009412387385964394, 0.04190968722105026, 0.015073238871991634, -0.0019692645873874426, 0.017226411029696465, ...
9. 5 • multivariate and network data visualization using python 455 the short python program that follows can be used to generate a correlation heatmap for the variables in the dataset ; it makes use of the heatmap function available in the seaborn library ( see also decision - making using machine learning basics ). i...
openstax_principles-of-data-science-web
[ 0.020222412422299385, 0.031240494921803474, 0.04024692252278328, -0.007991389371454716, -0.019977442920207977, 0.005043867044150829, -0.02139858715236187, -0.04344354197382927, 0.0033812494948506355, 0.05244104936718941, 0.016608085483312607, -0.019627315923571587, 0.0491960309445858, -0.0...
. let ’ s say an auto mechanic needs to repair a transmission on a car and attempts to read the written technical service manual to understand how to start the repair. compare this to an interactive 3d model of the car ’ s transmission where the mechanic can visualize the exact location for the repair and interact with...
openstax_principles-of-data-science-web
[ 0.025956731289625168, -0.0023384031374007463, 0.01706278696656227, -0.03825926035642624, -0.010331494733691216, 0.02130788564682007, -0.00870039314031601, -0.011269510723650455, 0.019770611077547073, 0.06410263478755951, -0.0171530619263649, -0.031545691192150116, 0.004599167499691248, -0....
9. 5 • multivariate and network data visualization using python 457 more. • vtk ( https : / / openstax. org / r / vtk ) is a library for 3d graphics and image processing ( vtk stands for visualization toolkit ). to illustrate an example of a 3d scatterplot in python using matplotlib, let ’ s generate python code to plo...
openstax_principles-of-data-science-web
[ 0.001211798982694745, 0.011465930379927158, 0.027674339711666107, -0.04046284779906273, -0.06190422549843788, -0.012725815176963806, -0.02471379190683365, -0.01865045540034771, -0.003130996599793434, 0.033705517649650574, -0.026056652888655663, -0.0022805016487836838, 0.007780186366289854, ...
1. 8 virginica table 9. 7 “ iris ” dataset excerpt we will use the mpl _ toolkits. mplot3d ( ) function to generate the three - dimensional scatterplot. first, we will read in the “ iris ” dataset from the seaborn library ( https : / / openstax. org / r / seabornpydata ). next, the 3d scatterplot is created using the f...
openstax_principles-of-data-science-web
[ 0.013277864083647728, 0.013754923827946186, 0.032454200088977814, -0.05434515327215195, -0.0075448197312653065, 0.012767387554049492, -0.028717797249555588, -0.015772759914398193, 0.03468344733119011, 0.027323760092258453, -0.002343024592846632, -0.02477903850376606, 0.017769858241081238, ...
# set labels and title ax. set _ xlabel ('sepal length ( cm )') ax. set _ ylabel ('sepal width ( cm )') ax. set _ zlabel ('petal length ( cm )') ax. set _ title ('3d scatterplot of iris dataset by species') # map numerical codes to actual species names species _ names = { 0 :'setosa ', 1 :'versicolor ', 2 :'virginica'}...
openstax_principles-of-data-science-web
[ -0.00040259765228256583, -0.01428648829460144, 0.03602369502186775, -0.04438559338450432, 0.007270519621670246, -0.007657209876924753, -0.0047696614637970924, -0.021314097568392754, 0.020508334040641785, 0.01585404761135578, 0.0006901943124830723, -0.019867397844791412, 0.005987997632473707,...
). cat. codes. unique ( ) ], title ='species') plt. show ( ) the resulting output will look like this :
openstax_principles-of-data-science-web
[ 0.012238522991538048, -0.0011069696629419923, 0.034677501767873764, -0.005602547898888588, -0.0056493463926017284, -0.028427153825759888, -0.013732567429542542, 0.01356880646198988, 0.03726624697446823, 0.034457944333553314, 0.019090939313173294, -0.005758894607424736, -0.012054859660565853,...
9. 5 • multivariate and network data visualization using python 459 datasets note : the primary datasets referenced in the chapter code may also be downloaded here ( https : / / openstax. org / r / folders14a ). 460 9 • visualizing data access for free at openstax. org key terms 3d visualization a graph or display that...
openstax_principles-of-data-science-web
[ 0.009628916159272194, 0.013705115765333176, 0.055805981159210205, 0.0011894108029082417, -0.012254897505044937, -0.006459122058004141, 0.018881794065237045, -0.031793951988220215, 0.02109426073729992, 0.07312421500682831, -0.0036134119145572186, 0.00395139679312706, -0.007766053546220064, ...
##atial data data that describes the geographic location, shape, size, and other attributes relative to a location on the earth's surface geospatial information system ( gis ) mapping a tool for visualizing, analyzing, and interpreting spatial data that makes use of various types of geographical data, such as maps and ...
openstax_principles-of-data-science-web
[ -0.017054347321391106, 0.01935635507106781, 0.00045208874507807195, -0.013586791232228279, -0.01290491409599781, 0.0008266824297606945, 0.013909845612943172, -0.027444513514637947, 0.015735197812318802, 0.06153455004096031, 0.013542951084673405, 0.010999304242432117, 0.007453387137502432, ...
characteristic or attribute 9 • key terms 461 group project data visualization : scatterplot with color shading for your group, you will select at least 15 different models and types of vehicles and research the value of a used car for that model in your area. you can search used car websites such as autotrader. com ( ...
openstax_principles-of-data-science-web
[ 0.007698538713157177, 0.02874155342578888, 0.017708132043480873, -0.016939224675297737, -0.011977304704487324, -0.009214376099407673, 0.021729307249188423, -0.021829955279827118, 0.036685727536678314, 0.040557507425546646, 0.01906219683587551, -0.009849278256297112, 0.03357897326350212, 0....
, symmetry, and skewness. 2. a. create a graph for the binomial distribution with and. b. analyze the graph and comment on symmetry and skewness. 3. a. create a graph for the poisson distribution with mean. b. analyze the graph and comment on symmetry and skewness. 4. a. create a graph of the normal distribution for we...
openstax_principles-of-data-science-web
[ 0.03662747144699097, 0.06699083000421524, 0.020452117547392845, -0.031240804120898247, -0.019789021462202072, 0.003123347880318761, 0.009349814616143703, -0.006297132931649685, -0.009474865160882473, 0.08187738060951233, 0.03567663952708244, -0.004220313858240843, 0.014850732870399952, -0....
4. 9 table 9. 9 social media subscribers b. comment on any trends based on a review of the graph. 6. access and download any dataset from the seaborn repository at https : / / github. com / mwaskom / seaborn - data ( https : / / github. com / mwaskom / seaborn - data ). a. create a correlation heatmap for the selected ...
openstax_principles-of-data-science-web
[ 0.019756916910409927, 0.03699694573879242, 0.02688816376030445, 0.01726730726659298, 0.0062587871216237545, 0.01168040931224823, -0.0002631631796248257, -0.0071515184827148914, 0.013004524633288383, 0.07641571760177612, -0.02273946814239025, -0.010412471368908882, 0.041951343417167664, -0....
10. 3 effective executive summaries introduction data science is not just about analyzing datasets. communicating the findings effectively is an essential part of the process aimed at promoting understanding and retention of key information. the ability to convey complex information to various kinds of audiences in a c...
openstax_principles-of-data-science-web
[ 0.03244313970208168, 0.014504410326480865, 0.008234425447881222, -0.022869136184453964, -0.0007995438645593822, -0.017154835164546967, -0.013471255078911781, 0.024097895249724388, -0.010865781456232071, 0.031605109572410583, 0.00013152573956176639, -0.027002813294529915, 0.01777603104710579,...
10. 1 writing an informative report learning outcomes by the end of this section, you should be able to : • 10. 1. 1 identify the audience for a technical report and tailor word choice and style appropriately. • 10. 1. 2 document and describe the methods used in a data science project. • 10. 1. 3 determine the most eff...
openstax_principles-of-data-science-web
[ 0.001217113807797432, 0.009918584488332272, 0.008456922136247158, -0.036787331104278564, 0.0024530307855457067, -0.014043345116078854, -0.008530942723155022, 0.014048160053789616, 0.008188710547983646, 0.02865610271692276, -0.019121134653687477, 0.023728536441922188, -0.005695621017366648, ...
, along with strengths and weaknesses of the models, potential biases ( and how they were addressed ), and areas for further exploration • conclusion, containing a summary of key findings, final thoughts, and recommendations additional parts may be included in the report, including a table of contents ( toc ), introduc...
openstax_principles-of-data-science-web
[ -0.0016056573949754238, 0.0012435967801138759, 0.021416721865534782, -0.04281533509492874, 0.0035443990491330624, -0.02857416495680809, -0.02199614606797695, 0.010604125447571278, -0.017333615571260452, 0.04559971019625664, -0.0023468586150556803, 0.0008193293469958007, -0.000901597144547849...
, discuss advanced techniques, or delve into the nuances of a particular issue. technicians technicians are practical users of information who may apply the knowledge in a hands - on manner. they typically have good familiarity with the subject but may not have the theoretical knowledge of experts. information presente...
openstax_principles-of-data-science-web
[ -0.0137736601755023, -0.017945483326911926, -0.019882570952177048, -0.014617988839745522, -0.022841768339276314, -0.00600071344524622, -0.014730706810951233, -0.014718799851834774, 0.0022459260653704405, 0.042169637978076935, -0.002554690930992365, -0.021531568840146065, -0.00499929906800389...
dashboards include the ability to monitor sales performance through real - time sales data, revenue trends, and customer engagement metrics, which can enable teams to adjust strategies in a timely manner. data dashboards can also support operational efficiency by displaying key metrics such as production rates, invento...
openstax_principles-of-data-science-web
[ -0.019708549603819847, 0.016670305281877518, -0.042999740689992905, 0.029737120494246483, -0.010004517622292042, -0.000993717578239739, -0.000990964937955141, 0.008654197677969933, 0.025421638041734695, 0.017801713198423386, -0.04178834334015846, 0.02988840639591217, -0.04139028117060661, ...
10. 1 • writing an informative report 467 figure 10. 2 the executive dashboard is a visual representation of data to give executives and senior management a quick, real - time overview of an organization's key performance indicators ( kpis ). ( credit : modification of work " analyst analytics blur " by david stewart /...
openstax_principles-of-data-science-web
[ -0.023655088618397713, -0.013283169828355312, 0.016141876578330994, 0.011163294315338135, 0.01874479465186596, -0.03806541487574577, -0.005806417670100927, -0.014316964894533157, -0.03816789761185646, 0.051145799458026886, -0.012562969699501991, -0.011648628860712051, -0.004535054322332144, ...
your audience and should avoid nonessential jargon, cryptic acronyms, and excessive details ( unless the level of audience requires a high level of technicality and theory ). consider the human element when creating an informative narrative. in other words, take into account the perspectives, emotions, motivations, and...
openstax_principles-of-data-science-web
[ -0.0009132142877206206, 0.008817294612526894, 0.01169663667678833, 0.018285250291228294, 0.005970334634184837, -0.031911447644233704, 0.000042750645661726594, -0.005580175202339888, -0.028185712173581123, 0.04621388763189316, -0.00980856642127037, 0.01767752878367901, -0.01554777193814516, ...
learning and processing styles. additionally, providing summaries or abstracts at the beginning of each section can aid in comprehension for those who might struggle with large blocks of text or complex information. by adopting these strategies, report writers not only uphold the principles of inclusivity and accessibi...
openstax_principles-of-data-science-web
[ 0.003121746238321066, -0.0034465091302990913, 0.0012276774505153298, -0.0068052709102630615, 0.01773904450237751, -0.009879390709102154, -0.014865349978208542, 0.013162421993911266, -0.025573113933205605, 0.05235263705253601, -0.04633406922221184, 0.007804016582667828, -0.002812647959217429,...
such a report adheres to a recognized editorial style, such as one of these : • american medical association ( ama ) ( https : / / openstax. org / r / amastyle ) for medical and health fields • american psychological association ( apa ) ( https : / / openstax. org / r / apastyle ) for scientific and psychological field...
openstax_principles-of-data-science-web
[ -0.015659255906939507, -0.02343425340950489, -0.009632225148379803, 0.004553521517664194, -0.009579479694366455, 0.01042081043124199, 0.0478692464530468, -0.0289701446890831, 0.03429955616593361, 0.028748836368322372, -0.007575254887342453, -0.005942623130977154, 0.012848321348428726, -0.0...
10. 1 • writing an informative report 469 some reports may require the development of a codebook or data dictionary to detail the variables, their units, values, and labels within the data or datasets used in the project. this codebook must align with the final report and the code used during the project to maintain co...
openstax_principles-of-data-science-web
[ 0.020189128816127777, 0.006655622739344835, 0.02221938967704773, -0.030215784907341003, -0.017699358984827995, -0.025702789425849915, 0.0007305893814191222, -0.042969197034835815, -0.0037741053383797407, 0.05987151339650154, -0.024227796122431755, 0.002234476152807474, 0.03188400715589523, ...
or presentation can lead to bias or misinterpretation. thus, each visual aid should be paired with succinct, clear explanations that clarify the purpose of the visual aid, its content, and possible limitations. the inclusion of alt text, or brief descriptions of images that accompany the image or may be embedded within...
openstax_principles-of-data-science-web
[ -0.01882748492062092, -0.022855119779706, 0.04968437924981117, -0.012426366098225117, -0.022870603948831558, -0.017011189833283424, 0.007039593532681465, 0.003592963796108961, 0.0005785567336715758, 0.05719892680644989, -0.012533221393823624, 0.003562968224287033, 0.02323167584836483, 0.01...
whole in percentages or proportions scatterplots demonstrate correlations between data from two continuous variables histograms show the distribution frequencies of data from a single continuous variable table 10. 1 summary of visuals used in data science reports 470 10 • reporting results access for free at openstax. ...
openstax_principles-of-data-science-web
[ -0.0099516361951828, 0.005452487152069807, 0.033118024468421936, -0.01241435669362545, -0.023576365783810616, -0.046924617141485214, -0.01626388542354107, 0.03190239146351814, 0.005878122989088297, 0.05722692981362343, -0.014238569885492325, -0.006373247131705284, 0.012650287710130215, 0.0...
markets for coronary heart disease and diabetes medications prepared for : [ pharmaceutical company name ] prepared by : [ data scientist's name ] date : [ report date ] • executive summary : this section provides a concise overview of the entire report, summarizing the key findings, methodologies, and recommendations....
openstax_principles-of-data-science-web
[ 0.006719677243381739, 0.005885527469217777, 0.016580021008849144, -0.01168813556432724, -0.05726437270641327, -0.007811982184648514, 0.0010350104421377182, 0.04088672623038292, 0.004747659433633089, 0.02855493873357773, 0.019888324663043022, -0.0032497046049684286, -0.0032164370641112328, ...
10. 1 • writing an informative report 471 data from the diabetes _ data. csv ( https : / / openstax. org / r / spreadsheetsd ) dataset. preliminary analysis indicates significant correlations between factors [ x, y, z ] and disease prevalence. recommendations include targeted marketing strategies in high - prevalence a...
openstax_principles-of-data-science-web
[ 0.004768966231495142, 0.02822616696357727, 0.02418838068842888, 0.007583340629935265, -0.03050234355032444, -0.006353961303830147, -0.018560197204351425, 0.021809251978993416, 0.005259703379124403, 0.059290193021297455, -0.0019561341032385826, -0.009067775681614876, -0.021414492279291153, ...
##liers were addressed through data normalization techniques. • results and discussion : this section presents the findings of the analysis, interpreting the results and discussing their implications. it should relate the findings back to the research questions and objectives outlined in the introduction. strengths and...
openstax_principles-of-data-science-web
[ 0.013706719502806664, 0.03678432106971741, -0.005775582976639271, 0.02796056680381298, -0.03850381448864937, 0.01018993929028511, -0.009371906518936157, 0.028972025960683823, 0.008084588684141636, 0.0478985570371151, -0.008202645927667618, 0.008623785339295864, -0.003021951299160719, 0.001...
10. 2 validating your model learning outcomes : by the end of this section, you should be able to : • 10. 2. 1 identify meaningful assumptions, state how they are used in the modeling process, and provide justifications for each assumption. • 10. 2. 2 discuss various error measures in the context of a modeling problem....
openstax_principles-of-data-science-web
[ -0.0043084328062832355, 0.009496481157839298, 0.01679491251707077, -0.03717311844229698, -0.0007687562610954046, 0.028007354587316513, -0.004859462846070528, 0.011798425577580929, -0.004955836106091738, 0.06118994951248169, 0.021995844319462776, -0.022949662059545517, 0.014320826157927513, ...
- making process and shaping the solution's development. however, it is important to note that assumptions come with their own risks. if the assumptions turn out to be false or inaccurate, they can lead to bias, errors, delays, or outright failures in the project. therefore, documenting assumptions in a clear and expli...
openstax_principles-of-data-science-web
[ -0.005037934519350529, 0.005582697223871946, 0.024855993688106537, -0.03881961107254028, -0.024048080667853355, 0.008598760701715946, -0.02379588410258293, -0.00910875853151083, 0.01452647615224123, 0.049440279603004456, 0.017278270795941353, -0.03931928798556328, 0.024700215086340904, -0....
10. 2 • validating your model 473 certain resource requirements or that must attain certain goals. using precise and unambiguous language and avoiding any vagueness or generalities helps in accurately stating the assumptions. assumptions should be verifiable statements, meaning they should be capable of being evaluated...
openstax_principles-of-data-science-web
[ 0.022974658757448196, 0.019453139975667, 0.014927486889064312, -0.015384060330688953, -0.009929400868713856, 0.00453866645693779, 0.005543318577110767, 0.010957474820315838, -0.024203157052397728, 0.04967649281024933, 0.011423398740589619, 0.009190993383526802, 0.014107187278568745, -0.016...
uniform performance, or are some capable of producing more of the product? if so, are additional employees required to work the higher - performing machines ( e. g., some machines may be larger and require more operators, producing more of the product as a result )? • what is the average uptime and downtime for each ma...
openstax_principles-of-data-science-web
[ 0.016789795830845833, 0.0061913058161735535, -0.019672920927405357, -0.015339648351073265, -0.018177960067987442, -0.017062518745660782, -0.025238702073693275, 0.005439392291009426, 0.0013500041095539927, 0.056124065071344376, -0.004590564873069525, -0.019405227154493332, -0.0114861940965056...
, the technical writer should offer a justification supported by evidence, data, or logical reasoning. for example, we might assume that a software product will be compatible with the microsoft windows 11 operating system because market research data shows that windows 11 is the most widely used operating system among ...
openstax_principles-of-data-science-web
[ 0.0008488200837746263, 0.011568797752261162, 0.024484172463417053, -0.012833512388169765, -0.03191681578755379, 0.014125452376902103, 0.007802827749401331, 0.006645787972956896, -0.023036720231175423, 0.059090349823236465, -0.01974312774837017, -0.0028999389614909887, 0.008377348072826862, ...
certain groups, leading to inequitable outcomes. therefore, it is necessary to examine and challenge assumptions, employ diverse and representative datasets, and implement techniques to detect and mitigate bias. often, the best approach is to allow a third party to vet the methodology, identifying assumptions that you ...
openstax_principles-of-data-science-web
[ -0.017048301175236702, 0.0060353646986186504, 0.00516127422451973, 0.0007340217707678676, -0.03262752667069435, 0.005129434168338776, -0.006051838397979736, 0.013354258611798286, -0.011557290330529213, 0.04205072298645973, -0.025202207267284393, -0.010796375572681427, 0.025498470291495323, ...
10. 2 • validating your model 475 interpreting measures of fit as we saw in time series and forecasting, what is machine learning?, and deep learning and ai basics, models need to be evaluated using appropriate measures of fit — that is, the metrics that assess how well a model's predictions align with the actual obser...
openstax_principles-of-data-science-web
[ 0.025087857618927956, 0.03982093557715416, 0.01023124624043703, 0.012642462737858295, -0.04630829021334648, 0.0269820224493742, 0.04630725830793381, -0.010722215287387371, 0.010623475536704063, 0.029655316844582558, 0.040427982807159424, 0.04108881205320358, -0.020299896597862244, -0.01493...
that is predictable from the independent variables. consider an example of a linear model in which the factors ( feature variables ) are square footage of the house, number of bathrooms, proximity to a city center, local school district ranking, etc., while the response ( dependent variable ) is the market value of the...
openstax_principles-of-data-science-web
[ -0.012461893260478973, 0.07181699573993683, 0.009941588155925274, 0.004579903092235327, -0.05232728645205498, 0.010444766841828823, 0.017595449462532997, 0.03407366946339607, 0.0035709564108401537, 0.060890667140483856, 0.03229774534702301, 0.02835562638938427, -0.018056465312838554, -0.02...
in the model, implying that a quadratic model might be more appropriate than a linear one, for example. moreover, the features might explain some of the remaining variability in the response ; however, this estimate may be impacted by the sample size, presence of outliers, and the extent to which model assumptions are ...
openstax_principles-of-data-science-web
[ 0.017097916454076767, 0.02866809070110321, 0.008279471658170223, -0.009958143346011639, -0.03226235881447792, 0.010543569922447205, 0.01232954952865839, 0.024286281317472458, 0.017369860783219337, 0.05112694576382637, 0.027608009055256844, -0.013397037982940674, -0.022807719185948372, -0.0...
load data. the code for your dataset will be dependent upon the file path you # set up df = pd. read _ csv ('diabetes _ data. csv ', index _ col ='patient number') when preparing data to run various analyses or models, it is recommended to examine the data characteristics to ensure that the data is properly formatted a...
openstax_principles-of-data-science-web
[ 0.03311314433813095, -0.00104455032851547, 0.034189991652965546, -0.033317744731903076, -0.02928396873176098, 0.006905767135322094, 0.015932846814393997, 0.005782687105238438, 0.0012930880766361952, 0.0675668716430664, -0.015131935477256775, -0.021013841032981873, 0.0024550175294280052, 0....
10. 2 • validating your model 477 data columns ( total 13 columns ) : # column non - null count dtype - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 cholesterol 390 non - null int64 1 glucose 390 non - null int64 2 hdl chol 390 non - null int64 3 age 390 non - null int64 4 gender 390 non - null object 5 heig...
openstax_principles-of-data-science-web
[ 0.024279989302158356, 0.004646515008062124, 0.001080473535694182, 0.018613871186971664, -0.03468409925699234, -0.00969315692782402, 0.061827950179576874, 0.043701592832803726, 0.0055207000114023685, 0.05504389479756355, 0.03139949217438698, -0.030350888147950172, 0.0030948221683502197, 0.0...
. 7 + kb to use the sklearn ( https : / / openstax. org / r / scikitlearn ) library, all data must be numeric. however, if you have columns with string data, there are several methods to convert them to numeric values. for “ true ” / “ false ” values, simply use. astype ('int'). for other strings, you can employ the pa...
openstax_principles-of-data-science-web
[ 0.023811327293515205, 0.02854047901928425, 0.013368213549256325, -0.000406319071771577, -0.017916785553097725, -0.0020184896420687437, 0.02988601103425026, 0.004728859290480614, 0.0027889276389032602, 0.050400469452142715, 0.04465322569012642, -0.039608705788850784, 0.016268230974674225, -...
( x _ train, y _ train ) print ( dt. score ( x _ train, y _ train ) ) print ( dt. score ( x _ test, y _ test ) ) the resulting output will look like : 1. 0 0. 826530612244898 the accuracy observed on the training set is clean, registering at 100 %, whereas the accuracy on the test set is significantly lower, recorded a...
openstax_principles-of-data-science-web
[ 0.013697585090994835, 0.014889807440340519, 0.042256344109773636, 0.005910019855946302, -0.00860521849244833, -0.033422019332647324, 0.011524436064064503, 0.0006513497792184353, 0.007973513565957546, 0.0689462199807167, -0.01292102038860321, 0.0052092233672738075, 0.019580747932195663, -0....
10. 2 • validating your model 479 seeing how deep the tree got and the number of samples in the leaf nodes illustrates that the model is likely overfitting on the data. we can restrict the number of levels ( depth ) with max _ depth. you can try a few values below and see how it changes. here, we settled on two since t...
openstax_principles-of-data-science-web
[ 0.03318686783313751, 0.018577931448817253, 0.043964922428131104, -0.005488943308591843, 0.0044543324038386345, 0.0055530196987092495, 0.027996886521577835, 0.010537910275161266, -0.0056380839087069035, 0.05466252937912941, 0.02722856216132641, -0.018445849418640137, 0.016146663576364517, -...
0. 9081632653061225 # create a decision tree with a max depth of 2 f = plt. figure ( figsize = ( 8, 8 ) ) _ = plot _ tree ( dt, fontsize = 10, feature _ names = features. columns. tolist ( ), filled = true ) the resulting output will look like : python code python code 480 10 • reporting results access for free at open...
openstax_principles-of-data-science-web
[ 0.016819655895233154, 0.01670343056321144, 0.04382135719060898, -0.013597728684544563, -0.015020407736301422, 0.017968675121665, 0.03380760923027992, 0.009700399823486805, 0.015433704480528831, 0.04680703580379486, -0.015200216323137283, 0.0037924032658338547, -0.005966566503047943, 0.0041...
real - world applications, as they allow for model selection and fine - tuning before deployment, ultimately leading to more reliable and effective predictive analytics. cross - validation, a variation on validation, divides the training set into multiple subsets and iteratively trains and evaluates the model on differ...
openstax_principles-of-data-science-web
[ -0.00431830296292901, 0.042805884033441544, -0.0006988384411670268, -0.056891340762376785, -0.012369913049042225, 0.008748934604227543, 0.0021458175033330917, -0.006714527029544115, 0.021783677861094475, 0.05646159499883652, 0.02889140136539936, -0.0033191130496561527, 0.03105228580534458, ...
10. 2 • validating your model 481 in regression analysis ). bootstrapping is a powerful statistical technique used to estimate the distribution of a sample by repeatedly resampling with replacement. in the context of model evaluation, the bootstrap method involves creating multiple new datasets, or bootstrap samples, b...
openstax_principles-of-data-science-web
[ 0.016376513987779617, 0.03427397087216377, 0.0333920456469059, -0.04250350221991539, 0.010151151567697525, 0.02454819343984127, 0.017040861770510674, 0.0297006294131279, 0.006267791613936424, 0.060968976467847824, 0.02845804952085018, -0.012330465018749237, 0.005814154166728258, -0.0147776...
, which is used as the validation set, and this process is repeated for each data point in the dataset. this method provides an exhaustive validation mechanism, ensuring that every single data point is used for testing exactly once, thus offering an unbiased evaluation of the model's performance. however, loocv can be ...
openstax_principles-of-data-science-web
[ 0.018249154090881348, 0.026052769273519516, -0.005951841827481985, -0.001964448718354106, -0.0029755840077996254, -0.005131707992404699, 0.01799888163805008, -0.002627626294270158, 0.009180870838463306, 0.03494476526975632, 0.015601523220539093, 0.026374753564596176, -0.00483356136828661, ...
in what is machine learning? that precision measures the proportion of correctly identified positive instances ( true positives ) among all instances that the model predicts as positive — that is,. on the other hand, recall measures the proportion of true positives among all positives in dataset — that is,. finally, th...
openstax_principles-of-data-science-web
[ 0.013723352923989296, 0.03172621503472328, 0.01722131110727787, -0.0019762045703828335, -0.01887340471148491, 0.007223698776215315, 0.023603303357958794, -0.019284358248114586, -0.009308461099863052, 0.0412338562309742, -0.007504421751946211, 0.023875458166003227, -0.0024922965094447136, 0...
, mean absolute percentage error ( mape ), and root mean square error ( rmse ), in addition to statistical measures of fit such as r - squared or the pearson correlation coefficient ( r ), which are detailed in statistical inference and confidence intervals. adding one more measure to this list, consider the mean perce...
openstax_principles-of-data-science-web
[ 0.011649597436189651, 0.04705226793885231, 0.007076922804117203, -0.009280584752559662, -0.03537013381719589, 0.011268180795013905, 0.011491889134049416, -0.027422266080975533, -0.002733783097937703, 0.05247177928686142, 0.03277220204472542, 0.0032430915161967278, 0.005951534025371075, -0....
on the number of parameters compared to aic and so will select simpler models overall. during the model selection process, various candidate models are fitted to the data. aic and bic values are computed for each model, and the model with the lowest criterion value is selected :
openstax_principles-of-data-science-web
[ 0.008543099276721478, 0.01615193486213684, 0.0316208116710186, -0.041039373725652695, -0.042348481714725494, 0.03290577232837677, -0.008824130520224571, -0.006512252148240805, -0.005997580010443926, 0.028554009273648262, 0.09370499849319458, 0.008313344791531563, -0.04274065047502518, -0.0...
10. 2 • validating your model 483 # cross validation with bayesian information criterion from sklearn. model _ selection import cross _ val _ score, gridsearchcv import numpy as np # import numpy # define the decision tree classifier dt = decisiontreeclassifier ( ) # perform cross - validation with 5 folds scores = cro...
openstax_principles-of-data-science-web
[ 0.03509483113884926, 0.01383743155747652, 0.03016430139541626, -0.026490626856684685, -0.007017084397375584, 0.0005304930382408202, 0.026591604575514793, -0.0009123914060182869, 0.010225657373666763, 0.05011998862028122, 0.03581077978014946, -0.031874530017375946, -0.015810532495379448, -0...
best score : 0. 72 bic score : 2165. 56 the goal of bic is to balance the fit of the model with its complexity, helping to avoid overfitting. a lower bic score indicates a better model, as it suggests that the model has a good fit to the data while being relatively simple. for instance, the bic score of 2, 165. 56 woul...
openstax_principles-of-data-science-web
[ 0.016363419592380524, 0.04399598389863968, 0.04180705174803734, 0.0022806250490248203, -0.03214990347623825, -0.006171401124447584, 0.0037131865974515676, -0.008444803766906261, -0.025449678301811218, 0.026864921674132347, 0.041609615087509155, -0.005404958035796881, -0.014908061362802982, ...
of a model. it is useful for identifying the impact of individual variables on the result, allowing decision - makers to understand which single factors are most critical. multi - way sensitivity analysis explores the effects of simultaneous changes in multiple input parameters on the outcome. this approach helps in un...
openstax_principles-of-data-science-web
[ 0.04310111701488495, 0.019190393388271332, -0.02843373641371727, -0.03297562152147293, -0.04592530429363251, -0.007858923636376858, -0.008896095678210258, 0.006293086800724268, -0.0019680068362504244, 0.0683828592300415, 0.023757968097925186, -0.027640098705887794, 0.000045171185774961486, ...
10. 2 • validating your model 485 # define the number of simulations num _ simulations = 1000 # initialize a list to store the results results = [ ] # loop through the number of simulations for i in range ( num _ simulations ) : # randomly split the data into training and testing sets x _ train, x _ test, y _ train, y ...
openstax_principles-of-data-science-web
[ 0.011562938801944256, 0.07218414545059204, 0.017438730224967003, -0.03261075168848038, -0.003650536760687828, -0.020378144457936287, 0.020399965345859528, 0.015102630481123924, 0.016502665355801582, 0.05954042449593544, 0.01968681998550892, 0.0031817567069083452, 0.007162028923630714, -0.0...
accurate real estate pricing decisions. 486 10 • reporting results access for free at openstax. org sensitivity analysis supports decision - making processes across various domains to build an understanding of how different inputs influence the outcomes of their models or projects. by carefully changing important facto...
openstax_principles-of-data-science-web
[ -0.006746117025613785, 0.038742776960134506, 0.04079156741499901, 0.021922007203102112, -0.01984134130179882, 0.00112974364310503, 0.002532171318307519, 0.006598056294023991, 0.005056407768279314, 0.038830578327178955, -0.0134518351405859, 0.008713264018297195, -0.004779862705618143, -0.02...
as a strength of the model. weaknesses no one likes to admit weaknesses ; however, in the context of a data science project, listing real or potential weaknesses is an essential part of writing an effective and informative report. weakness statements should be as specific as possible and should indicate steps taken to ...
openstax_principles-of-data-science-web
[ -0.011435279622673988, -0.014439377933740616, 0.04061215743422508, 0.013952042907476425, -0.002130701905116439, -0.020192988216876984, 0.013501406647264957, 0.008923101238906384, -0.006272520404309034, 0.0594523660838604, 0.018170418217778206, -0.03522172570228577, 0.02109592780470848, -0....
s performance and include a comparison with alternative models to provide a comprehensive analysis. ”
openstax_principles-of-data-science-web
[ 0.012177381664514542, -0.0012792367488145828, 0.012901291251182556, -0.01925784908235073, 0.009755421429872513, 0.0374688096344471, -0.0384867899119854, -0.022113708779215813, 0.054864488542079926, 0.03943544998764992, 0.017193542793393135, 0.022921090945601463, 0.028436025604605675, -0.05...
10. 2 • validating your model 487 for those who are providing feedback, it is best to use constructive criticism, acknowledging limitations while proposing potential solutions or future research directions. instead of outlining weaknesses, emphasize opportunities for improvement, suggesting alternative modeling approac...
openstax_principles-of-data-science-web
[ 0.0007046444807201624, 0.028758244588971138, 0.02764676697552204, -0.01639869436621666, 0.003678194247186184, -0.019302036613225937, 0.00857187807559967, 0.026493055745959282, -0.015892885625362396, 0.04862646386027336, 0.012995550408959389, 0.02164771966636181, 0.028212085366249084, -0.00...
the limitations of the dataset and logistic regression technique. • present the results of the model with a data visual such as a confusion matrix. • invite opportunity for the marketing director to provide suggestions for additional data to be used. • provide suggestions on other data science techniques available base...
openstax_principles-of-data-science-web
[ 0.014608279801905155, -0.004666637163609266, 0.03369908779859543, -0.018510188907384872, -0.012527229264378548, -0.01025413628667593, 0.01175674982368946, 0.043206121772527695, 0.004563104826956987, 0.010166533291339874, 0.01655558869242668, -0.0038986769504845142, 0.013555308803915977, 0....
10. 3 effective executive summaries learning outcomes : by the end of this section, you should be able to : • 10. 3. 1 define executive summaries, noting their important features. • 10. 3. 2 determine which details of the modeling process would be most important to include in an effectively written executive summary. •...
openstax_principles-of-data-science-web
[ 0.022392915561795235, 0.006143592298030853, 0.003814157797023654, -0.04649657756090164, -0.0038082259707152843, -0.007483906578272581, -0.018533116206526756, 0.025943953543901443, -0.014724325388669968, 0.04055914655327797, 0.014893792569637299, 0.02323424629867077, -0.012189731001853943, ...
first element that readers encounter, and it plays a critical part in setting the tone for the entire document. the structure of the executive summary is designed to guide the reader through a logical progression of ideas. it typically begins with a clear statement of the problem or research question, setting the conte...
openstax_principles-of-data-science-web
[ -0.008398793637752533, -0.0010235849767923355, -0.014694809913635254, -0.022422634065151215, -0.004390984307974577, -0.0067720552906394005, 0.00174419186078012, 0.019200652837753296, -0.007271384820342064, 0.04257633909583092, 0.017617836594581604, 0.014170948415994644, -0.026640048250555992...
desired outcomes. consider the order of the suggestions based on their perceived impact and feasibility within the organizational landscape ( e. g., culture, politics, priorities ). for example, suppose that you have made a model for home prices. your analysis may suggest the following actionable advice : “ homes with ...
openstax_principles-of-data-science-web
[ -0.024809733033180237, -0.01186184212565422, -0.041470836848020554, -0.04925970360636711, -0.04136311262845993, -0.014836005866527557, -0.0006769941537640989, 0.04760598763823509, 0.015122988261282444, 0.05465010553598404, 0.029797805473208427, 0.019093124195933342, -0.015063450671732426, ...
10. 3 • effective executive summaries 489 executive summary example below is an example of an executive summary report in python.! pip install fpdf from fpdf import fpdf # define a custom pdf class that inherits from fpdf class pdf ( fpdf ) : def _ _ init _ _ ( self, * args, * * kwargs ) : super ( ). _ _ init _ _ ( * a...
openstax_principles-of-data-science-web
[ 0.02740042842924595, -0.01856178790330887, 0.014256017282605171, -0.037775419652462006, -0.0007691308273933828, 0.007160956971347332, -0.029359135776758194, 0.017614979296922684, 0.01571493409574032, 0.05264856293797493, 0.01746060512959957, -0.035776663571596146, 0.01657787896692753, 0.03...
_ page ( ) # add a page pdf. chapter _ title ( title ) # add the main title for section _ title, section _ body in sections. items ( ) : # loop through sections pdf. chapter _ title ( section _ title ) # add section title pdf. chapter _ body ( section _ body ) # add section body text pdf. output ('executive _ summary. ...
openstax_principles-of-data-science-web
[ 0.010231519117951393, -0.003775653662160039, 0.011027351953089237, -0.01752164401113987, 0.00027699192287400365, -0.014041480608284473, 0.009694965556263924, 0.008326527662575245, 0.013914872892200947, 0.03599069267511368, 0.001980601344257593, -0.034861065447330475, 0.026287857443094254, ...
practice, alongside public health initiatives, to manage obesity and glucose levels for diabetes prevention. ','recommendation':'based on the findings of the study, we recommend integrating the classification decision tree model into clinical practice to enhance early detection and diagnosis of diabetes. by utilizing t...
openstax_principles-of-data-science-web
[ -0.00006152960850158706, -0.0005087071913294494, -0.011597991921007633, 0.01171706710010767, -0.027600906789302826, -0.030718175694346428, 0.019531700760126114, 0.018167594447731972, 0.006482191849499941, 0.05317226052284241, 0.02635350450873375, -0.055429570376873016, 0.0371217355132103, ...
10. 3 • effective executive summaries 491 exploring further additional resources many useful articles and books have been written about technical writing and communicating data science findings. a brief list is included here, and we encourage readers to continue their learning about this important phase of the data sci...
openstax_principles-of-data-science-web
[ 0.042243171483278275, -0.005026623606681824, 0.02351110428571701, 0.011959186755120754, -0.01636693999171257, -0.013885877095162868, 0.00829628761857748, 0.013817749917507172, -0.025049546733498573, 0.044588640332221985, 0.006837576627731323, 0.004297604318708181, 0.01491096056997776, -0.0...
. com / 2023 / 05 / 04 / delivering - facts ( https : / / openstax. org / r / theactuary ) marino, v., & dragan, d. ( 2018, july ). science communication with diverse audiences. adult development & 492 10 • reporting results access for free at openstax. org aging news. https : / / www. apadivisions. org / division - 20...
openstax_principles-of-data-science-web
[ 0.00200007576495409, 0.0015306309796869755, -0.005123381968587637, 0.039007559418678284, 0.0021177928429096937, 0.005827914457768202, -0.008939193561673164, 0.0050829676911234856, 0.032315585762262344, 0.04115982726216316, 0.007607465144246817, -0.0004315015976317227, 0.04929914325475693, ...
10. 3 • effective executive summaries 493 key terms actionable advice recommendations or guidance in a report, particularly in an executive summary, providing practical ways to apply the report's findings or insights alt text brief descriptions of images that accompany the image or may be embedded within the image data...
openstax_principles-of-data-science-web
[ 0.014912949874997139, 0.0012305151904001832, 0.036505818367004395, -0.026282723993062973, -0.012509874999523163, 0.012361890636384487, 0.018400682136416435, 0.013470661826431751, -0.0023780607152730227, 0.0412285178899765, 0.01887901872396469, -0.02003851719200611, -0.018983472138643265, -...
- fold cross - validation cross - validation strategy that works by dividing the dataset into equally sized subsets or folds, where the model is trained on of the folds and tested on the remaining fold, a process that is repeated times with each fold serving as the test set once key performance indicators ( kpis ) quan...
openstax_principles-of-data-science-web
[ 0.0032182708382606506, 0.01465374045073986, 0.03482568636536598, -0.0241884533315897, -0.008619692176580429, 0.026566576212644577, 0.02648005075752735, -0.0005863212863914669, -0.006314346566796303, 0.03804098442196846, 0.00045949124614708126, -0.0051832618191838264, -0.015398369170725346, ...
hands - on manner validation evaluation of multiple predictive models and / or hyperparameter tuning version control system a software tool that helps keep track of changes to files, code, or any type of digital content over time group project you are working in a business analyst role on a team that provides analytica...
openstax_principles-of-data-science-web
[ -0.014426260255277157, 0.02200428396463394, 0.003909872379153967, -0.024473249912261963, -0.006315696518868208, 0.01717992126941681, 0.013314968906342983, 0.0001554439077153802, -0.011546531692147255, 0.03426775708794594, 0.010037165135145187, 0.014189367182552814, 0.0068702115677297115, -...
detailed b. focused on practical application c. concise with a focus on summaries and outcomes d. broad and nontechnical for general understanding 2. what should a technical report for nonspecialists avoid? a. complex statistical data b. technical jargon c. visual aids like graphs and charts d. descriptions of practica...
openstax_principles-of-data-science-web
[ 0.020843856036663055, -0.010791108943521976, 0.04930677264928818, -0.02841775119304657, -0.020098939538002014, -0.034077614545822144, 0.001705006929114461, -0.012184389866888523, -0.04508599266409874, 0.049672819674015045, -0.039349671453237534, -0.004393324255943298, 0.029537390917539597, ...
is based on personal opinion. b. it is specific and verifiable. c. it is vague and general. d. it is always proven to be true. 10. in the context of measuring house prices, what does an r - squared value of 0. 75 indicate? a. the model predicts housing prices with 75 % accuracy. b. seventy - five percent of the varianc...
openstax_principles-of-data-science-web
[ 0.020366884768009186, 0.027904508635401726, 0.032723743468523026, -0.010175401344895363, -0.025040701031684875, 0.0004036817408632487, 0.024430781602859497, 0.021765604615211487, -0.011297998018562794, 0.054941099137067795, 0.0384410135447979, -0.008934488520026207, -0.007071875035762787, ...
. every step in the methodological process d. the technical language used in the methodologies 16. how should the executive summary in a data science report conclude? a. with a persuasive call to action b. by summarizing the data sources used c. with a detailed technical explanation d. by introducing new topics critica...
openstax_principles-of-data-science-web
[ 0.007504346780478954, 0.012730841524899006, 0.016391843557357788, 0.0012773388298228383, -0.017965903505682945, -0.017668727785348892, 0.01130217406898737, 0.021360043436288834, -0.04016822203993797, 0.0761827826499939, -0.005129734054207802, 0.033817682415246964, -0.010470684617757797, -0...
? 13. in what ways can the actionable advice in an executive summary be tailored to different audience types or departments to maximize the report's utility and impact? references willems, j. p., saunders, j. t., hunt, d. e., & schorling, j. b. ( 1997 ). prevalence of coronary heart disease risk factors among rural bla...
openstax_principles-of-data-science-web
[ 0.011804033070802689, -0.010622411966323853, 0.01734442263841629, -0.02671310491859913, -0.025204142555594444, 0.014759132638573647, -0.006251420360058546, 0.020029667764902115, 0.006033976096659899, 0.03179161623120308, 0.01203407533466816, 0.0035543395206332207, -0.02643742598593235, 0.0...
with rows and columns. we call each rectangle, defined by the combination of row number and column name ( e. g., a1, b3 ), a cell. we can use a mouse pointer to select a specific cell and then edit the data inside. once a cell is selected, namebox shows the identifier of the selected cell figure a3. formula bar is used...
openstax_principles-of-data-science-web
[ 0.03588513657450676, 0.0008385884575545788, 0.055426523089408875, -0.001864793710410595, 0.033824265003204346, 0.007647726684808731, 0.02889314852654934, -0.011184797622263432, 0.018131954595446587, 0.05133063346147537, 0.062133513391017914, 0.015729334205389023, -0.025059834122657776, 0.0...
##s14 ), write a formula that counts the number of outfielders. solution the formula is = countif ( c2 : c13, " outfielder " ) ” this will count the rows whose position, located at column c, is “ outfielder. ” note that double quotation marks ( i. e., “ ” ) are used to indicate “ outfielder ” is a string. the result is...
openstax_principles-of-data-science-web
[ 0.00802899431437254, -0.0019504412775859237, 0.03814638406038284, 0.005584214814007282, 0.0031650338787585497, -0.013742325827479362, 0.03916749730706215, 0.006464216858148575, 0.029541688039898872, 0.07331361621618271, 0.044085849076509476, 0.023433944210410118, -0.02228092961013317, 0.05...
the range. for example, the following formula on ch1 - socr - small. csv ( https : / / openstax. org / r / folders14 ) will return 72 since the cell located at the fifth row and second column within the range of c8 : e13 will refer to the row 12 and column d — so the cell d12. the value at d12 is 72. 502 a • appendix a...
openstax_principles-of-data-science-web
[ 0.02556178718805313, 0.025199685245752335, 0.059787292033433914, 0.011148910969495773, -0.02787035144865513, -0.019978484138846397, 0.002313927048817277, -0.01388314738869667, 0.021909961476922035, 0.08105411380529404, 0.05689988285303116, 0.025034401565790176, -0.062238868325948715, 0.022...
returns the very first instance. for example, this formula will simply return 2 ( i. e., the second row within d2 : d13, which is d3 ) even though there are three occurrences of 72 at rows 3, 5, and 12. = match ( 72, d2 : d13, 0 ) example a. 3 problem using match, find the absolute row number of a first player whose we...
openstax_principles-of-data-science-web
[ 0.014106079936027527, 0.023022273555397987, 0.046001285314559937, 0.016247889026999474, -0.045175909996032715, -0.022740667685866356, -0.023511765524744987, -0.022929077968001366, 0.035596974194049835, 0.050326790660619736, 0.05349419638514519, -0.017610181123018265, -0.03426892310380936, ...
., not the “ partial ” match ) for vlookup. = vlookup ( “ pitcher ”, c2 : e13, 3, false ) then, the formula reads a specific cell value in the same row. the column number is indicated as the third argument in the formula, called the relative position. it refers to how many columns the search key is away to the right fr...
openstax_principles-of-data-science-web
[ 0.023150209337472916, 0.008506429381668568, 0.03722294792532921, 0.03955472260713577, 0.008455568924546242, -0.01656990498304367, -0.0019726096652448177, -0.01736961305141449, 0.03452407941222191, 0.06831938028335571, 0.031442295759916306, 0.0006023175665177405, -0.023801669478416443, 0.02...
visualization, can be done easily with excel. let ’ s draw a bar chart as an example. you can start by simply clicking insert > bar chart > clustered column icon ( figure a10 ). figure a10 ms excel ’ s bar chart icon ( used with permission from microsoft ) once the icon is clicked, you will see an arbitrary bar chart. ...
openstax_principles-of-data-science-web
[ -0.009119105525314808, -0.004291682969778776, 0.039444390684366226, -0.03499629721045494, 0.00868979562073946, -0.026471126824617386, 0.030106885358691216, 0.0116588668897748, 0.01783597469329834, 0.06189953535795212, 0.037396322935819626, 0.01809011399745941, 0.013824459165334702, 0.01676...