- https://youtu.be/rqvyWUODZGE
Showing posts with label data science. Show all posts
Showing posts with label data science. Show all posts
As an Amazon Associate I earn from qualifying purchases.
"Rata Die". Counting Days since...
Counting Days since...
https://en.wikipedia.org/wiki/Rata_Die
# col1 is an exported column of dates
lastDay = 54 # last row in the column sorted by the date
daysSince(x) = Dates.datetime2rata(x) - Dates.datetime2rata(col1[lastDay])
arrayDays = Array{Int64}(undef, lastDay) # array size is 54
for i = 1:lastDay
arrayDays[i] = daysSince(col1[i])
end
arrayDays
Output:
54-element Array{Int64,1}:
613
606
599
592
582
575
568
554
547
540
533
526
512
⋮
find similar posts:
data science,
ML
0
comments
"Rata Die". Counting Days since...
Counting Days since...
https://en.wikipedia.org/wiki/Rata_Die
# col1 is an exported column of dates
lastDay = 54 # last row in the column sorted by the date
daysSince(x) = Dates.datetime2rata(x) - Dates.datetime2rata(col1[lastDay])
arrayDays = Array{Int64}(undef, lastDay) # array size is 54
for i = 1:lastDay
arrayDays[i] = daysSince(col1[i])
end
arrayDays
Output:
54-element Array{Int64,1}:
613
606
599
592
582
575
568
554
547
540
533
526
512
⋮
find similar posts:
data science,
ML
0
comments
Using Linear Regression with Julia Language
Linear Regression
What is a Linear Regression?
Watch:
Selecting the best "fit" line to predict the data.
Fitting a linear regression model to a numerical data set.
Calculating the deviations (the error)
sum of squares
References:
find similar posts:
data science,
Julia,
ML,
regression
0
comments
Using Linear Regression with Julia Language
Linear Regression
What is a Linear Regression?
Watch:
Selecting the best "fit" line to predict the data.
Fitting a linear regression model to a numerical data set.
Calculating the deviations (the error)
sum of squares
References:
find similar posts:
data science,
Julia,
linear regression,
ML,
regression
0
comments
As an Amazon Associate I earn from qualifying purchases.
As an Amazon Associate I earn from qualifying purchases.
Million Songs Dataset for Machine Learning (280 GB)
find similar posts:
data science,
machine learning
0
comments
Million Songs Dataset for Machine Learning (280 GB)
find similar posts:
data science,
machine learning
0
comments
Subscribe to:
Posts (Atom)
apt quotation..
“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.” by Robert A. Heinlein (author, aeronautical engineer, and naval officer)