SlideShare a Scribd company logo
1 of 14
Zatečena arhitektura
Koja je algoritamska kompleksnost
izgradnje B Tree indexa za tabelu
koja broji 17 miliona row-a?
Sta sve baza podataka (i operativni
sistem ;) treba da urade da bi se
insertovao jedan slog u tabelu?
Kako koristiti bazu podataka za ono
sto joj je u sustini svrha? Takticka i
strateska analitika.
Sistemski inzenjering, Administracija
baze podataka, Tehnicka
infrastruktura...
Relaciona algebra... ili ono sto smo
zaboravili o bazama podataka? :|
Uvod u problem izračunljivosti!
Uvod u problem izračunljivosti!
Stao na vagu
Zaustavio
Dolivanje lepka
Zaustavio
Zaustavio
Nestabilan signal
Dobar pravac
Ekspresivnost (san dobroga programera)
C# ?
Ekspresivnost (onelineR)
dcharge <- dcast(charge, FrameNumber + Timestamp ~ Sensor, value.var = "Value")
Ekspresivnost (vektorizacija)
frame timestamp lc1 lc1.1 lc1.2 ... lc1.50 lc2 lc2.1 ...
lc1dif lc1.2dif lc1.3dif ... lc1.50diff stability1 stability2 ...
Predvidjanje - 20MA smoother ili simple exponential ili Holt linear?
lc(n+1) = lc(n) + 20MA(lc.dif)
Predvidjanje - 20MA smoother ili simple exponential ili Holt linear?
lc(n+1) = (1-x)* lc(n) + x * lc.dif(n)
lc(n+1) = (1-x) * ((1-x)* lc(n-1) + x * lc.dif(n-1)) + x * (lc.dif(n))
...
lc(n+1) = p(n)*lc(1) + p(n-1)*lc.dif(1) + p(n-2)*lc.dif(2) + … p(1)*lc.dif(1)
Arhitektura
Hvala

More Related Content

More from Institute of Contemporary Sciences

Application of Business Intelligence in bank risk management - Dimitar Dilov
Application of Business Intelligence in bank risk management - Dimitar DilovApplication of Business Intelligence in bank risk management - Dimitar Dilov
Application of Business Intelligence in bank risk management - Dimitar DilovInstitute of Contemporary Sciences
 
Trends and practical applications of AI/ML in Fin Tech industry - Milos Kosan...
Trends and practical applications of AI/ML in Fin Tech industry - Milos Kosan...Trends and practical applications of AI/ML in Fin Tech industry - Milos Kosan...
Trends and practical applications of AI/ML in Fin Tech industry - Milos Kosan...Institute of Contemporary Sciences
 
Recommender systems for personalized financial advice from concept to product...
Recommender systems for personalized financial advice from concept to product...Recommender systems for personalized financial advice from concept to product...
Recommender systems for personalized financial advice from concept to product...Institute of Contemporary Sciences
 
Advanced tools in real time analytics and AI in customer support - Milan Sima...
Advanced tools in real time analytics and AI in customer support - Milan Sima...Advanced tools in real time analytics and AI in customer support - Milan Sima...
Advanced tools in real time analytics and AI in customer support - Milan Sima...Institute of Contemporary Sciences
 
Complex AI forecasting methods for investments portfolio optimization - Pawel...
Complex AI forecasting methods for investments portfolio optimization - Pawel...Complex AI forecasting methods for investments portfolio optimization - Pawel...
Complex AI forecasting methods for investments portfolio optimization - Pawel...Institute of Contemporary Sciences
 
Reality and traps of real time data engineering - Milos Solujic
Reality and traps of real time data engineering - Milos SolujicReality and traps of real time data engineering - Milos Solujic
Reality and traps of real time data engineering - Milos SolujicInstitute of Contemporary Sciences
 
Sensor networks for personalized health monitoring - Vladimir Brusic
Sensor networks for personalized health monitoring - Vladimir BrusicSensor networks for personalized health monitoring - Vladimir Brusic
Sensor networks for personalized health monitoring - Vladimir BrusicInstitute of Contemporary Sciences
 
Prediction of good patterns for future sales using image recognition
Prediction of good patterns for future sales using image recognitionPrediction of good patterns for future sales using image recognition
Prediction of good patterns for future sales using image recognitionInstitute of Contemporary Sciences
 
Using data to fight corruption: full budget transparency in local government
Using data to fight corruption: full budget transparency in local governmentUsing data to fight corruption: full budget transparency in local government
Using data to fight corruption: full budget transparency in local governmentInstitute of Contemporary Sciences
 
Machine Learning-Driven Injury Prediction for a Professional Sports Team
Machine Learning-Driven Injury Prediction for a Professional Sports TeamMachine Learning-Driven Injury Prediction for a Professional Sports Team
Machine Learning-Driven Injury Prediction for a Professional Sports TeamInstitute of Contemporary Sciences
 
A journey through the machine learning model deployment to production
A journey through the machine learning model deployment to productionA journey through the machine learning model deployment to production
A journey through the machine learning model deployment to productionInstitute of Contemporary Sciences
 
Data sharing between private companies and research facilities
Data sharing between private companies and research facilitiesData sharing between private companies and research facilities
Data sharing between private companies and research facilitiesInstitute of Contemporary Sciences
 
AI for Waste Water Treatment: machine learning for real-time control
AI for Waste Water Treatment: machine learning for real-time controlAI for Waste Water Treatment: machine learning for real-time control
AI for Waste Water Treatment: machine learning for real-time controlInstitute of Contemporary Sciences
 

More from Institute of Contemporary Sciences (20)

Application of Business Intelligence in bank risk management - Dimitar Dilov
Application of Business Intelligence in bank risk management - Dimitar DilovApplication of Business Intelligence in bank risk management - Dimitar Dilov
Application of Business Intelligence in bank risk management - Dimitar Dilov
 
Trends and practical applications of AI/ML in Fin Tech industry - Milos Kosan...
Trends and practical applications of AI/ML in Fin Tech industry - Milos Kosan...Trends and practical applications of AI/ML in Fin Tech industry - Milos Kosan...
Trends and practical applications of AI/ML in Fin Tech industry - Milos Kosan...
 
Recommender systems for personalized financial advice from concept to product...
Recommender systems for personalized financial advice from concept to product...Recommender systems for personalized financial advice from concept to product...
Recommender systems for personalized financial advice from concept to product...
 
Advanced tools in real time analytics and AI in customer support - Milan Sima...
Advanced tools in real time analytics and AI in customer support - Milan Sima...Advanced tools in real time analytics and AI in customer support - Milan Sima...
Advanced tools in real time analytics and AI in customer support - Milan Sima...
 
Complex AI forecasting methods for investments portfolio optimization - Pawel...
Complex AI forecasting methods for investments portfolio optimization - Pawel...Complex AI forecasting methods for investments portfolio optimization - Pawel...
Complex AI forecasting methods for investments portfolio optimization - Pawel...
 
From Zero to ML Hero for Underdogs - Amir Tabakovic
From Zero to ML Hero for Underdogs  - Amir TabakovicFrom Zero to ML Hero for Underdogs  - Amir Tabakovic
From Zero to ML Hero for Underdogs - Amir Tabakovic
 
Data and data scientists are not equal to money david hoyle
Data and data scientists are not equal to money   david hoyleData and data scientists are not equal to money   david hoyle
Data and data scientists are not equal to money david hoyle
 
The price is right - Tomislav Krizan
The price is right - Tomislav KrizanThe price is right - Tomislav Krizan
The price is right - Tomislav Krizan
 
When it's raining gold, bring a bucket - Andjela Culibrk
When it's raining gold, bring a bucket - Andjela CulibrkWhen it's raining gold, bring a bucket - Andjela Culibrk
When it's raining gold, bring a bucket - Andjela Culibrk
 
Reality and traps of real time data engineering - Milos Solujic
Reality and traps of real time data engineering - Milos SolujicReality and traps of real time data engineering - Milos Solujic
Reality and traps of real time data engineering - Milos Solujic
 
Sensor networks for personalized health monitoring - Vladimir Brusic
Sensor networks for personalized health monitoring - Vladimir BrusicSensor networks for personalized health monitoring - Vladimir Brusic
Sensor networks for personalized health monitoring - Vladimir Brusic
 
Improving Data Quality with Product Similarity Search
Improving Data Quality with Product Similarity SearchImproving Data Quality with Product Similarity Search
Improving Data Quality with Product Similarity Search
 
Prediction of good patterns for future sales using image recognition
Prediction of good patterns for future sales using image recognitionPrediction of good patterns for future sales using image recognition
Prediction of good patterns for future sales using image recognition
 
Using data to fight corruption: full budget transparency in local government
Using data to fight corruption: full budget transparency in local governmentUsing data to fight corruption: full budget transparency in local government
Using data to fight corruption: full budget transparency in local government
 
Geospatial Analysis and Open Data - Forest and Climate
Geospatial Analysis and Open Data - Forest and ClimateGeospatial Analysis and Open Data - Forest and Climate
Geospatial Analysis and Open Data - Forest and Climate
 
Machine Learning-Driven Injury Prediction for a Professional Sports Team
Machine Learning-Driven Injury Prediction for a Professional Sports TeamMachine Learning-Driven Injury Prediction for a Professional Sports Team
Machine Learning-Driven Injury Prediction for a Professional Sports Team
 
Responsible AI
Responsible AIResponsible AI
Responsible AI
 
A journey through the machine learning model deployment to production
A journey through the machine learning model deployment to productionA journey through the machine learning model deployment to production
A journey through the machine learning model deployment to production
 
Data sharing between private companies and research facilities
Data sharing between private companies and research facilitiesData sharing between private companies and research facilities
Data sharing between private companies and research facilities
 
AI for Waste Water Treatment: machine learning for real-time control
AI for Waste Water Treatment: machine learning for real-time controlAI for Waste Water Treatment: machine learning for real-time control
AI for Waste Water Treatment: machine learning for real-time control
 

Life cycle of Data Scientist: Database architecture - Bojan Sovilj

  • 1.
  • 2.
  • 4. Koja je algoritamska kompleksnost izgradnje B Tree indexa za tabelu koja broji 17 miliona row-a? Sta sve baza podataka (i operativni sistem ;) treba da urade da bi se insertovao jedan slog u tabelu? Kako koristiti bazu podataka za ono sto joj je u sustini svrha? Takticka i strateska analitika. Sistemski inzenjering, Administracija baze podataka, Tehnicka infrastruktura... Relaciona algebra... ili ono sto smo zaboravili o bazama podataka? :|
  • 5. Uvod u problem izračunljivosti!
  • 6. Uvod u problem izračunljivosti! Stao na vagu Zaustavio Dolivanje lepka Zaustavio Zaustavio Nestabilan signal
  • 8. Ekspresivnost (san dobroga programera) C# ?
  • 9. Ekspresivnost (onelineR) dcharge <- dcast(charge, FrameNumber + Timestamp ~ Sensor, value.var = "Value")
  • 10. Ekspresivnost (vektorizacija) frame timestamp lc1 lc1.1 lc1.2 ... lc1.50 lc2 lc2.1 ... lc1dif lc1.2dif lc1.3dif ... lc1.50diff stability1 stability2 ...
  • 11. Predvidjanje - 20MA smoother ili simple exponential ili Holt linear? lc(n+1) = lc(n) + 20MA(lc.dif)
  • 12. Predvidjanje - 20MA smoother ili simple exponential ili Holt linear? lc(n+1) = (1-x)* lc(n) + x * lc.dif(n) lc(n+1) = (1-x) * ((1-x)* lc(n-1) + x * lc.dif(n-1)) + x * (lc.dif(n)) ... lc(n+1) = p(n)*lc(1) + p(n-1)*lc.dif(1) + p(n-2)*lc.dif(2) + … p(1)*lc.dif(1)
  • 14. Hvala

Editor's Notes

  1. 4. Arhitektura baze. Kada danas nekome kazete da vam je potrebno mesec dana da isprojektujete bazu podataka ispadnete smesni. Ali cekajte principi projektovanja baza podataka nisu se izmenili. Konecptualni model, pa logicki model, pa tek onda fizicki model. Gde je to danas. Pojavom ORM alata izgubljena je komunikacija programera sa bazom podataka i tamo je nastao krs. Nikada nemojte gubiti iz vida da su relacione baze velika sila. U ovom slucaju imali smo sledece. Podaci o senzorima spustali su se u jednu tabelu odakle je vrsena kalkulacija, a iskalkulisani podaci su ubaceni u drugu tabelu. Iz te tabele su se citale informacije za prikaz na izvestajima. Ta tabela imala je 17 miliona row-a. U momentu kada je sarza aktivna