ezoic

Monday, April 23, 2018

Code for drawing plot in python

I scraped some webpage, get a dictionary of date versus number of mentions. Here is the code:



import matplotlib.pyplot as plt

def sortdict(d):
    for key in sorted(d): yield d[key]

counter1={'2018-02-01': 22, '2018-01-31': 19, 
'2018-01-30': 10, '2018-01-29': 5, '2018-01-27': 4, 
'2018-01-28': 3, '2018-01-25': 3, '2018-01-23': 3, '2018-01-26': 3, 
'2018-01-24': 2, '2018-01-01': 2, '2018-01-15': 2, '2018-01-12': 2,
 '2018-01-09': 1, '2017-12-18': 1, '2017-12-26': 1, '2018-01-11': 1, 
'2018-01-13': 1, '2017-11-28': 1, '2017-12-21': 1, '2017-12-22': 1,
 '2017-02-09': 1, '2018-01-04': 1, '2017-01-17': 1, '2017-03-02': 1,
 '2018-01-08': 1, '2017-12-09': 1, '2017-12-24': 1, '2017-02-20': 1,
 '2018-01-14': 1, '2018-01-21': 1, '2017-12-28': 1, '2017-12-11': 1}


x_labels = [] #create an empty list to store the labels#for key in counter.keys():
#        x_labels.append(key)


fig, ax = plt.subplots()
lists = sorted(counter1.items()) # sorted by key, return a list of tuplesprint(lists)
x, y = zip(*lists)
print(x)
print(y)
# unpack a list of pairs into two tuplesplt.scatter(x, y)
plt.xticks( range(len(x)), x, rotation=90,fontsize=5 )


plt.show()


results:







Friday, April 20, 2018

How I resolved sourcetree authentication via SSH keys failed II

Last article , we described how to resolve sourcetree authentication via SSH keys failed.  We used HTTPS instead.

Here is how to use SSH.

We will have the problem while using SSH:



Then we hit " yes". And use pageant to add paired secret key, not the public key. ppk not pub. We will resolve the problem. SSH will work. Retry.

First click icon in the low right corner to open pageant.



Click "add key" , direct to the folder where you put your secrete key, and then click "close".



details: 





Thursday, April 19, 2018

How I resolved sourcetree authentication via SSH keys failed.

I tried to commit script to bitbucket using sourcetree.

I first cloned from bitbucket using SSH, and I got an error, "authentication via SSH keys failed":






Then I tried to clone using HTTPS. This time it worked.

Then, I can commit the scripts.

To update the SSH key,  one can select "tools"=> create or import SSH keys. After generating public SSH key, update it on bitbucket personal profile.






Friday, April 6, 2018

Top 50 data science blogs

Top 50 data science blogs:

https://www.springboard.com/blog/data-science-blogs/

1. kdnuggets

https://www.kdnuggets.com/


2. data science central

https://www.datasciencecentral.com/


3. revolution analytics

http://blog.revolutionanalytics.com/


4. r bloggers

https://www.r-bloggers.com/


5. analytics vidhya

https://www.analyticsvidhya.com/


6.big data made simple

http://bigdata-madesimple.com/banner/


7. OReilly Media’s Data Science Blog

https://www.oreilly.com/topics/data


8. Hortonworks

https://hortonworks.com/blog/


9. Cloudera

https://blog.cloudera.com/


10. yhat

http://blog.yhat.com/


11. datafloq

https://datafloq.com/


12. big data university

https://cognitiveclass.ai/blog/


13. smart data collective

https://www.smartdatacollective.com/


14. data science 101

http://101.datascience.community/


15. machine learning mastery

https://machinelearningmastery.com/


16. datatau


http://www.datatau.com/

17. edwin chen's blog

http://blog.echen.me/


18. dataquest

https://www.dataquest.io/blog/


19. dataconomy

http://dataconomy.com/


20. dataschool

http://www.dataschool.io/


21.hunch

http://hunch.net/


22. fastml

http://fastml.com/


23. no free hunch

http://blog.kaggle.com/


24. whatsthebigdata

https://whatsthebigdata.com/


25. becoming a data scientist

http://www.becomingadatascientist.com/


26. flowingdata

http://flowingdata.com/


27.simply statistics

https://simplystatistics.org/


28. insight

https://blog.insightdatascience.com/


29. data science report

http://starbridgepartners.com/



30. tableau

https://www.tableau.com/about/blog



31. data science weekly

https://www.datascienceweekly.org/



32. pete warden
https://petewarden.com/



33. the shape of data

https://shapeofdata.wordpress.com/



34. Sebastian Raschka’s blog

https://sebastianraschka.com/blog/index.html



35. insidebigdata.com

https://insidebigdata.com/



36. Domino DataLab

https://blog.dominodatalab.com/




37. The Unofficial Google Data Science Blog

http://www.unofficialgoogledatascience.com/



38. John D Cook’s blog

https://www.johndcook.com/blog/



39. Andrew Gelman’s Blog

http://andrewgelman.com/



40. Natural language processing blog

https://nlpers.blogspot.in/



41. mapr

https://mapr.com/blog/


42. IBM Big Data Hub

http://www.ibmbigdatahub.com/blogs



43. databricks

https://databricks.com/blog



44. Planet BigData

http://planetbigdata.com/



45. dataversity

http://www.dataversity.net/



46. emc's big data blog

https://blog.dellemc.com/en-us/



47. Ap-institute

https://www.bernardmarr.com/



48. Aryng

https://aryng.com/analytics-blog/



49. Think Big Analytics

https://www.thinkbiganalytics.com/category/blog/



50. big data week

http://blog.bigdataweek.com/



51. distill

https://distill.pub/

52. medium

https://medium.com/

53. openai

https://www.openai.com/

54. sas blog

http://www.proc-x.com/






looking for a man

 I am a mid aged woman.  I was born in 1980. I do not have any kid. no complicated  dating before . I am looking for a man here for marriage...