True
Earnings
Feed
Sessions
CareerHub
NEW
Post insight
About
Sponsor a Session
FAQs
Contact
Terms of Use and Privacy Policy
Login
Create account
Earnings
NEW
How to earn on TwoCents
Rankings
CareerHub
NEW
Feed
Sessions
Spaces
About
Contact
FAQs
Terms of Use
Login
Create account
738;
Albert David Bangura
Graduate Teaching and R... @ Bahcesehir Cyprus...
Nicosia, Cyprus
187
297
5
6
In
Technology
•
1 min read
•
Feb 02, 2024 09:06a.m.
Vectorization in Machine Learning
๐ฉ๐ฒ๐ฐ๐๐ผ๐ฟ๐ถ๐๐ฎ๐๐ถ๐ผ๐ป ๐ถ๐ป ๐ ๐ฎ๐ฐ๐ต๐ถ๐ป๐ฒ ๐๐ฒ๐ฎ๐ฟ๐ป๐ถ๐ป๐ด In machine learning, vectorization refers to the process of converting operations into vector or matrix from. Vectorization is a key concept for achieving high performance in machine learning algorithms, especially when dealing with large datasets. Vectorized code can perform calculations in less time than code without vectorization. This matters more when you are running learning algorithms on large datasets or trying to train large models which is always the case in machine learning. Benefits of vectorized code. 1. Results in smaller code 2. Results in faster code In sum, being able to write vectorized implementations of learning algorithms has been a key step to getting learning algorithms to run efficiently and therefore scale well to the large datasets that many machine learning algorithms now must operate on. Below is an implementation of vectorization in Python. The vectorized version can use parallel hardware in the computer and therefore took less time when I ran the program. Duration of Non-Vectorized Code: 598.6779 ms Duration of Vectorized Code: 2.5864 ms #machinelearning #bigdata #algorithms #performance #efficiency
Send tip
3
152
4
follow
Other insights from Albert David Bangura
Albert David Bangura
Nicosia, Cyprus
My Professor Asked, "Albert How Would You Explain Web 3.0?"
In
Blockchain and Cryptocurrency
Web 3.0 like Web 2.0 and Web 1.0 are just buzzwords that describe t...
Insights for you.
Oluseyi Vandy
Freelance writer, audio producer...
Lagos, Nigeria
In Technology
Social media is not an actual place
A statement used to mock ideas and opinions on the platform, while this is true; like a lot of things, it is only half true. Social media is not an...
617 views
3 upvotes
1 comment
Mwambo Kate
COO @ Enchird Technolog...
Yaoundรฉ, Cameroon
In Technology
DIGITAL BURNOUT/FATIGUE
Do you usually feel โblahโ while mindlessly scrolling for hours on Instagram/Facebook? ๐๐ฝ๐๐ฝโโ๏ธ Nowadays many of us spend all day online , then g...
418 views
3 upvotes
0 comments
David Akinmade
AI Engineer, Tech Lead @ Laroye
Regina, Canada
In Technology
Preparing for Nigeriaโs Future with AI
A quiet revolution is underway. It's a revolution powered not by political upheaval or grand gestures, but by the silent hum of technology, specifi...
364 views
4 upvotes
1 comment
Samuel Ibok
Marketing Supervisor @ Crusader Sterling...
Lagos, Nigeria
In Technology
The future is AI
If you're interested in content creation like me or keep up with the latest technological developments, you've probably heard of "ChatGPT." I've us...
356 views
2 upvotes
0 comments
Cyrus Majebi
Co-founder @ TwoCents
Lagos, Nigeria
In Technology
I tried Dall.E last year, here's what I think.
The image above was generated with DALL.E - I typed in "A blue sports car in a small village" and that's one of the images I got. The other variati...
348 views
3 upvotes
1 comment
Tomi Walker
Product
Lagos, Nigeria
In Technology
Iโm In Love With TwoCents
Iโve been building social products for 8 years. Social networks, social games, social payments and the like. I like to think of myself as something...
323 views
3 upvotes
0 comments
Cyrus Majebi
Co-founder @ TwoCents
Lagos, Nigeria
In Technology
Meet Amina the AI
Well yes, the image attached to this post was created with DALLE. After some interesting prompting and "description" engineering, I got something I...
300 views
5 upvotes
2 comments
Belinda Chiazor
Writer and Filmmaker @ Middle Girl Produ...
Lagos, Nigeria
In Technology
Artificial Intelligence: Rise Of The Machines 2
I wonโt even lie, Artificial intelligence stands as one of humanity's most groundbreaking innovations, revolutionizing numerous aspects of our live...
73 views
2 upvotes
1 comment
×
Comments
Share thread
Refresh
×
cancel
Home
Feed
Earnings
CareerHub
Menu
What is TwoCents?
×
×
Share the feed
×
Copy link
Twitter
Facebook
LinkedIn
Whatsapp
Share this post
×
Copy link
Twitter
Facebook
LinkedIn
Whatsapp
×
Insights
Views
Upvotes
Comments
Contributor score
WELCOME
TwoCents is a knowledge marketplace for Africans around the globe.
TWOCENTS
TwoCents offets you a unique opportunity to write and earn from your content.
COMPLETE YOUR PROFILE
Add your City, Bio, Phone Number, Occupation etc.
BUILD YOUR CONTRIBUTOR SCORE
Write insights, share in your network, build your score.
GET VERIFIED
Get a 100+ score, complete a 5-week streak, become verified.
TIPS
Get tipped for your free insights/content
SUBSCRIPTIONS
Receive subscriptions from your most loyal readers.
AD REVENUE
Get a share of what brands pay to advertise on your insight pages.
HELP GROW TWOCENTS
Read, tip and subscribe to content you find informative or interesting.
Q&A SESSIONS
Check out some Q&A sessions, drop a question, comment, share etc.
WELCOME TO THE COMMUNITY
Write. Share. Earn
Previous
Next
Close
Share this post
×
Copy link
Twitter
Facebook
LinkedIn
Whatsapp
Share this post
×
Copy link
Twitter
Facebook
LinkedIn
Whatsapp
Crop photo.
If "Crop" and "Cancel" buttons are not visible, scroll down.
×
The photo you are trying to upload is too large.
Please upload a photo smaller than 4MB.
×
The file you are trying to upload is not an image.
Please upload an image of the following types - PNG, JPEG, JPG, GIF, BMP
×
For best results, be as descriptive as possible. Please refrain from using explicit, obscene or hateful words.
Hyper-realistic
Turning on "Hyper-realistic" will generate hyper-real and dramatic images. Leaving it off will produce more natural, less hyper-real looking images.
Generate Image
Use Image
Clear Image
At least 800 characters — We recommend keeping your insights around 5000 characters, and breaking them into parts if they go over this limit. You can save your insights as drafts and they will update as you type. On the EDIT page, you can link this insight to a series, generate audio etc.
×
Login to share insight
×
Oops!
Looks like
isn't setup to receive tips.
Be sure to check back later!
Close
×
Oops!
Looks like you have not setup your account to send and receieve tips.
No worries!
Click here to add your card details
Be sure to contact us if you have any questions!
×
Let
know you love
their content by sending a tip!
Show support.
Support beyond an upvote, comment or share.
Help grow TwoCents.
Encouraging other writers ensures quality insights.
Send Online
Copy tip link
Close
×
Subscribe to
's
premium insights.
Go premium.
Choose between a monthly, quarterly or yearly subscription.
Help grow TwoCents.
Every subscription encourages the contributor and ensures quality insights.
Send Online
Copy sub link
Close
×
Oops!
Looks like
isn't setup to receive subscriptions.
Be sure to check back later!
Close
โ