• Skip to primary navigation
  • Skip to main content

DebKR

To the Stars

  • About
  • Blog
  • Contact

Programming

Why This, Why Now…

Why This, Why Now…

22/05/2016 By debkr

goal = 'career-change'
reason = 'https://twitter.com/Qwiery/status/727849124138192896'

# PTP: Programming Stream (url = 'http://deborahroberts.info/2016/02/diving-into-data-syllabus-2/')
longlist = ['Java', 'Python', 'SQL', 'VBA', 'R']
start_with_end_in_mind = {'datascience': ['R', 'Python'], 'machinelearning': ['Python', 'R']}
choice1 = start_with_end_in_mind.get('datascience')
choice2 = start_with_end_in_mind.get('machinelearning')

shortlist = list()
for item in choice2 :
    if item in choice1  :  shortlist.append(item)

quit()

# Due to unorthodoxy I executed the last line just after line 02

https://twitter.com/Qwiery/status/…
http://deborahroberts.info/2016/02/diving-into-data-syllabus-2/

 

Filed Under: 21st Century Careers, Artificial Intelligence, Blog, Data Science, Machine Learning, Personalised Training Plan, Programming Tagged With: coding101

Coding 101 (part 11) XML and data serialisation

Coding 101 (part 11) XML and data serialisation

22/05/2016 By debkr

xml-and-data-serialisationQuick recap:
In part 10 of this series I learnt a bit about using both the socket library and the urllib library to browse a web page or some other file on a web server, read it and return it as a text file (including HTML tagging where this was included). I put together two little programs that help me to (a) scrape data or a web page from the ‘net (based on a specified URL) and save it to a text file, and (b) handle the most common HTML tags in that text file. The tags handled so far are as follows:
  • <h1>..</h1> tags: cleaned and saved, labelled as ‘Title’;
  • <h2>..</h2> tags: cleaned and saved, labelled as ‘Header’;
  • <h3>..</h3> to <h6>..</h6> tags: cleaned and saved, labelled as ‘Sub-header’;
  • <em>..</em> tags (italics): cleaned and saved, labelled as ‘Para-header’ (Paragraph header);
  • <p>..</p> tags: indicate text paragraphs, cleaned and saved only (no additional labels added);
  • all other tags: ignored.

[Read more…] about Coding 101 (part 11) XML and data serialisation

Filed Under: Blog, Personalised Training Plan, Programming, Web Data Tagged With: coding101

Coding 101 (part 10) More on Web Data

Coding 101 (part 10) More on Web Data

09/05/2016 By debkr

accessing-web-dataPython gets networked:
Analysing data from files we already hold on the hard-drive is great, but so much data’s being created out there on the internet (especially on social media websites) that we can use for a whole variety of purposes – I’m itching to get my hands on some web data to play with. First I need to learn about how web browsers talk to websites – that is, how my query (view this website url, download that document, search for such-and-such a search term) gets communicated across the ‘net, and how it gets translated into an instruction the website at the other end can understand (in whatever server-side language it might be using: PHP, JavaScript, or whatever). [Read more…] about Coding 101 (part 10) More on Web Data

Filed Under: Blog, Personalised Training Plan, Programming, Web Data Tagged With: coding101

Coding 101 (part 9) Python and the Web

Coding 101 (part 9) Python and the Web

07/05/2016 By debkr

data-playgroundPython and the internet data playground:
The internet is a giant data playground just waiting for us to explore it. This part of the Coursera Course I’m studying (see refs below) covers how to collect data from the web so we can easily record, manipulate and analyse it.

This is where the increasingly-common terms web scraping and parsing come in. (Scraping refers to collecting data from the ‘net, while parsing refers to reading and analysing strings of data/info from the web, just like our previous examples of reading text from files.)

We’ll get to access data using web APIs (Application Programming Interfaces), and learn how to handle data in different technical formats like HTML, XML and JSON. So this is definitely where things will start to get exciting. [Read more…] about Coding 101 (part 9) Python and the Web

Filed Under: Blog, Personalised Training Plan, Programming, Web Data Tagged With: coding101

Simple Tagging Engine (updated using tuples)

Simple Tagging Engine (updated using tuples)

07/05/2016 By debkr

simple-python-tagging-engineMy simple Python Tagging Engine has now been updated to incorporate learnings about tuples, and incorporates simplified ways of sorting and returning counted values from a dictionary. Code and simple documentation available on GitHub: https://github.com/debkr/blog_tagger.

 

Filed Under: Blog, Personalised Training Plan, Programming, Programming Projects Tagged With: coding101, data, database, keywords, programming, tagging engine, tuple

Coding 101 (part 8)

Coding 101 (part 8)

03/05/2016 By debkr

A quick recap:
We’re cracking on well here, going through the Python course on Coursera as taught by Dr. Chuck (see footnotes for more info and links). We’ve looked a strings and how we can slice, dice and extract data from them using find and split functions. We’ve gone on to learn about files, and proceeded to open and read data from files, both as strings and as lists. We’ve been able to index lists using integer values from zero upwards. Then we’ve gone on to look at dictionaries, which are mini two-field databases of key/value pairs referenced using their keys. And all throughout we’ve been learning about and using various kinds of loops or iterations, conditional statements, and functions (both built-in and defined in-program).

Monty_Python,_And_Now_for_Something_Completely_Different_(1971)And now for something completely different:
All these things were familiar to me from programming in school and as a maths undergrad (albeit a little rusty!). But now we come on to something completely different, something I hadn’t heard of before: tuples. I’ll call tuples the big brother of lists as they’re very similar to lists: they’re basically another type of collection of things. [Read more…] about Coding 101 (part 8)

Filed Under: Blog, Personalised Training Plan, Programming Tagged With: append(), argument, coding101, count, dictionary, function, items(), key/value pair, list, loop, order, python, sort, tuple

Ed Tech PTP: Summary Syllabus

Ed Tech PTP: Summary Syllabus

03/05/2016 By debkr

ed-techMy newly-established EdTech Personalised Training Plan includes the following streams:

1. Information Theory Stream
2. Learning/Development Stream: how humans learn vs. how machines learn + developing machines to augment human learning
3. Collaborative Learning Stream
4. Innovation Stream
5. Agile Methodologies Stream
6. Educational Technology Stream: to review the technological and presentational innovations shaping education and L&D

Refer my earlier post “Learning About Learning” for some background on this new/additional PTP.

Filed Under: 21st Century Careers, Artificial Intelligence, Blog, Collaborative Learning, Ed Tech, Information Theory, Learning/Development, Machine Learning, Personalised Training Plan, Programming, Programming Projects Tagged With: accelerated learning, agile, agile methodologies, augmented learning, collaboration, ed tech, edtech, education, information theory, innovation, L&D, learning, learning & development, machine learning, technology, training

« Previous Page
Next Page »

Copyright © 2016–2025 · Powered by WordPress On Genesis Framework · Log in

  • Writing
  • Developing
  • Consulting