APC

Working with lists in Python

When we began preparing to look at machine-learning in Python with our initial two-part primer a few issues ago, we very briefly touched on the concept of lists. Like a column in a spreadsheet, a list is an incredibly versatile and important component of Python for allowing you to access a sequence of data through a simple numeric index. This month, we’re unpacking lists in more detail and looking at how you can manipulate them in ways that make sense from a machine-learning perspective.

LISTS 101

The majority of machine-learning algorithms rely on receiving data in a common flat or two-dimensional spreadsheet form –

You’re reading a preview, subscribe to read more.

More from APC

APC2 min read
Ducky ProjectD Outlaw 65
PRICE $499 WEB www.duckychannel.com.tw If you’ve ever wanted to build your own keyboard, then the Ducky ProjectD Outlaw65 is a simple and easy way to go about it. Included in this compact kit are most of the pieces required to build a mechanical key
APC6 min read
The Problem Solvers
I was inspired by the Hydra Mini ITX Chassis to go out and build a system to replace my three-year-old setup. However, having only recently reinstalled Windows 11 from scratch, I’m not looking forward to going through the same process again so soon.
APC3 min read
Linux Mint 21.3
DEVELOPER Clément Lefèbvre and community WEB linuxmint.com LICENCE Mainly GPL Originally released in 2006, Linux Mint is one of the most popular distros. This may be because it uses the Cinnamon desktop environment by default, which provides a more

Related