100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Samenvatting applied data science (minor)

Rating
-
Sold
8
Pages
32
Uploaded on
08-11-2022
Written in
2022/2023

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.

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Study
Course

Document information

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

Subjects

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()

Get to know the seller

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 Hogeschool Windesheim
Follow You need to be logged in order to follow users or courses
Sold
358
Member since
5 year
Number of followers
176
Documents
0
Last sold
1 month ago

4.3

34 reviews

5
18
4
11
3
4
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced it. It really can be that simple.”

Alisha Student

Frequently asked questions