Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 32 pages
Summary

Samenvatting applied data science (minor)

Document preview thumbnail
Preview 4 out of 32 pages

Samenvatting voor het vak Applied data science van de minor data science gegeven op de hogeschool Windesheim. Bevat alle les stof van de topics 3 t/m 15 m.u.v. 14.

Content preview

Applied data science
Topic 3 Importing data
Topic 4 Basic statistics and visualization
Topic 5 Cleaning data
Topic 6 Joining data
Topic 7 Introduction to machine learning
Topic 8 Introduction to supervised learning
Topic 9 Feature engineering
Topic 10 k-Nearest neighbors
Topic 11 Linear models
Topic 12 Decision trees
Topic 13 Ensembles of decision trees
Topic 15 Model evaluation and improvement

, Topic 3 Importing data
nieuwe naam 1 = pd.read_excel(‘bestandsnaam.xlsx’, skiprows = aantal rijen overslaan (-1),
sheet_name= ‘naam tabblad’) -> importeren van een Excel-bestand met een ander
tabblad dan de eerste en een aantal lege rijen




pivot table naam = pivot table naam [[jaartal 1, jaartal 2]] -> het filteren van kolommen (jaartallen)
uit de pivot table

, Berekenen gegeven met voorwaarde
nieuwe naam 1 = lijstnaam.loc[lijstnaam[‘kolomnaam’] == ‘voorwaarde’, :]
nieuwe naam 1[‘kolom met cijfers voor berekening’].mean()




Berekenen gegeven met twee voorwaarden
nieuwe naam 1 = lijstnaam.loc[(lijstnaam[‘kolomnaam voorwaarde 1’] == voorwaarde 1) & (lijstnaam
[‘kolomnaam voorwaarde 2’] == voorwaarde 2), :]
nieuwe naam 1[‘kolom met cijfers voor berekening’].mean()




Voor de voorwaarden geldt dat het als het tekst is tussen haakjes (‘’) geplaats moet worden, bij
getallen hoeft dit niet.

Importeren gegevens cbs
import cbsodata
nieuwe naam 1 = cbsodata.get_data(‘laatste letter en cijfer combinatie’)

, Topic 4 Basic statistics and visualization
Histogram van een kolom
DataFrame naam[‘kolomnaam’].hist(bins=aantal bins)




Boxplot van een kolom
plt.boxplot(DataFrame naam[‘kolomnaam’])
plt.show()

Scatter plot van alle gegevens
import seaborn as sns
sns.pairplot(DataFrame naam)
plt.show()

Connected book
 image
Sarah Guido, Andreas C. Mueller Introduction to Machine Learning with Python
Publisher: oktober 2016 ISBN: 9781449369415 Edition: 1

Document information

Study
Summarized whole book?
No
Which chapters are summarized?
Stof behorend bij vak
Uploaded on
November 8, 2022
Number of pages
32
Written in
2022/2023
Type
Summary
$7.78

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
chloevdbrink
4.3
(34)
Sold
361
Followers
176
Items
0
Last sold
4 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions