Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,149,855 members, 7,806,417 topics. Date: Tuesday, 23 April 2024 at 04:13 PM

Ibromodzi's Posts

Nairaland Forum / Ibromodzi's Profile / Ibromodzi's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 11 pages)

Programming / Re: The Myth Of Saturation With Regards To Web Development. by ibromodzi: 8:37pm On Jun 16, 2021
@tensazangetsu20 because you don make am for web dev, you con dey trash DS/Python. Continue oo
Investment / Re: Crypto Currency Investors Thread by ibromodzi: 6:51pm On May 31, 2021
kelvinrhs:


Earlier this year (February precisely) I sold my 86 Doge and my zen coin for #2k or thereabout


I don't think 2k can buy 20 Doge today

Life goes on...


ALL DIE NA DIE!!!

Lol, I can remember selling 2k DOGE for #2000 in 2018 or thereabout.

4 Likes

Investment / Re: Crypto Currency Investors Thread by ibromodzi: 6:37am On May 27, 2021
ugo41babe:

Done

Acknowledged
Investment / Re: Crypto Currency Investors Thread by ibromodzi: 6:24am On May 27, 2021
Investment / Re: Crypto Currency Investors Thread by ibromodzi: 6:19am On May 27, 2021
ugo41babe:


0x5f514D3F6eDf61f7c233D37E16211441C6a0536f

Thank you so much

Sending you $3
Pay here
0148006048
Gtb
Investment / Re: Crypto Currency Investors Thread by ibromodzi: 6:18am On May 27, 2021
[quote author=ugo41babe post=102100979][/quote]

Your bsc wallet and I can only send a minimum of $3 @#500
Investment / Re: Crypto Currency Investors Thread by ibromodzi: 6:15am On May 27, 2021
ugo41babe:


Pls can some one help. I need 1usd worth of smartchain token. I can pay in naira pls.

Your address
Investment / Re: Crypto Currency Investors Thread by ibromodzi: 1:37pm On May 23, 2021
Tablechair:
or the person should just send him the money via world remit.......
That's another alternative
Investment / Re: Crypto Currency Investors Thread by ibromodzi: 11:02pm On May 22, 2021
fredwill1357:
House What is the best and cheap way to receive a little money from India to Nigeria? About 50 dollars.

This method can be tedious but that's what I use to receive cash from my foreign clients.

If the person uses Western Union, supply him/her with your correct details as you have in your local bank. The money will be wired to you and you'll be given a tracking ID. Enter any bank that uses Western Union and give them the ID and cash out the money (dollar), locate any BDC closer to you and change the money to Naira.

I don't deal with gift cards but it is hard to imaging you getting less than half of what you are supposed to get.

8 Likes

Programming / Re: Programming Your Ways Ahead Of The Power Challenge by ibromodzi: 4:37pm On Apr 10, 2021
Cooldiipo:
Available and ready to serve!

What's the price and how can I reach you?
Programming / Re: Applied Statistics For Data Analysis/science by ibromodzi: 5:23pm On Apr 09, 2021
SuperKlean:
please can I pm you too? I need help also as I'm interested in data analysis. I just started python but I need someone to put me through, thanks.
No problem
Programming / Re: Applied Statistics For Data Analysis/science by ibromodzi: 5:22pm On Apr 09, 2021
noob03saibot:
Nice thread. Really informative. Would want to ask, please got any idea why pca is used? And how can one make meaning / interpretations from it? Reason why I ask is, why is it useful since I can't seem to interpret it by seeing which Cluster of people belong to which group unlike before pca is performed on the dataset.

Principal Component Analysis is used to reduce the dimensionality of a dataset which contains a lot of variables. PCA allows you to bring down this number of variables by creating new representative variables that are not correlated in vector space and can be used in your analysis.

With PCA, you are able to reduce the dimension of your dataset while minimizing information loss at the same time.
Programming / Re: Applied Statistics For Data Analysis/science by ibromodzi: 7:00am On Feb 22, 2021
Kingray10:
I want to learn data analysis, please can you guide me through
I don't know where to start with.
It's kind of broad...

Where exactly do you need help? You can go through the Chronicles thread created by sir Ejiod, it has a load of resources that can help you. Meanwhile, you can send a pm via email if you want to have a discussion.
Programming / Re: Applied Statistics For Data Analysis/science by ibromodzi: 6:57am On Feb 22, 2021
Hmmm, it has been a while here.
Programming / Re: Chronicle Of A Data Scientist/analyst by ibromodzi: 6:45am On Feb 22, 2021
Mrves111:
I want to perform multiple image processing using opencv in jupyter notebook. I tried to upload the datasets (images) that's stored in my desktop using this code:

import os
import numpy as np
import cv2

img = cv2.imread('/User/victor/Desktop/data/mask/facemask.jpg', 0)
img



import os
import numpy as np
import cv2

resize_width = 100
resize_height = 100
path = '/User/victor/Desktop/data/mask/facemask
images = [] # List to append the images as 2D numpy arrays.
target = [] # List to append the target
originalrepo = [] # Create a repo for flattened pixels

for root, dirs, files in os.walk(path):
for file in files:
with open(os.path.join(root, file), "r"wink as auto:
img = cv2.imread(root+'/'+file, 0)
img = cv2.resize(img, (resize_width, resize_height))
images.append(img)
# Append the flattened image to the pixel repo
originalrepo.append(img.flatten())
# Append the folder where the image is to the target list
target.append(root.replace(path,'').replace('/',''))
# Convert the repo list into numpy array
originalrepo = np.array(originalrepo)
print(originalrepo)
print(target)

I got this error :"opencv(4.5.1)/private/var/folders/nz/vv4_9tw56nv9kvyaszvwg80000gn/T/pip-req-build-39p1qqfs/opencv/modules/imgproc/src/resize.cpp:4051: error: (-215:Assertion failed) !seize. Empty() in function 'resize'

Please I'm appealing for assistance, if there's another simpler code I could use or if I made any error.
Note that I opened the jupyter notebook in the same folder that the dataset are located.

Please always use the code formatting tool to make your codes easier to read. That being said, I'm not really sure what you are trying to do but I believe you could use the Pillow library to do the same.
Literature/Writing Ads / Re: Looking For Recipe Rewriters by ibromodzi: 10:31pm On Jan 25, 2021
BRATISLAVA:


There are gigs here, but most of them are scammers and exploiters. They want to pay writers N0.01 per word and they will argue that it's what they pay. The funniest one is that business hub character who wants you to be holed up in some place of his making, writing for a full year before he pays you 1M. He spams almost every thread.

Generally, you will find people looking for who will write for them, but they will never engage and look for ways to scam the ones who eventually write for them.

You are right, sir.
Literature/Writing Ads / Re: Looking For Recipe Rewriters by ibromodzi: 8:31pm On Jan 25, 2021
JuIiusmalema:
I've stopped looking for writing gigs on this forum.
Nairaland is such a huge joke

Not totally true, the first writing gig I got here, I got paid 80k. It's a highly specialized research area though.
Programming / Re: Python: I Need Help With A Problem by ibromodzi: 8:42pm On Jan 10, 2021
peacettw:


Ok. Thanks for the tips and I am female.. May I know where to access the code formatting tool?

Oh, sorry about that. Just click on the hash logo and insert your code there.

Programming / Re: Python: I Need Help With A Problem by ibromodzi: 7:29pm On Jan 10, 2021
peacettw:
Never mind, I have figured it out

dna = "CCTGTATGCCCAAGGGGTTTCGATCGTACGACTGTCAGTCAGCTAGCT"

l=list()
n= len(dna)/3
count=0

print(dna, "\n" )
while n>0:
j=dna[count:count+3]
count = count + 3
n= n - 1
l.append(j)
print(j)
print(l)

Use the code formatting tool next time you are seeking for help, it is not easy reading codes like a normal text. Computational Molecular Biology is an interesting domain by the way. Keep exploring bro.

1 Like

Romance / Re: Truth Is; When Bitcoin Was Very Much Affordable In 2008, Guys Were by ibromodzi: 5:33pm On Jan 02, 2021
BTC in 2006? Where did you get that from?
Programming / Re: Applied Statistics For Data Analysis/science by ibromodzi: 7:46pm On Dec 18, 2020
Series Two
Objectives
At the end of this series, you should be able to:
1. Know what measure of central tendency is
2. How to describe your data using measure of central tendency
3. Know the appropriate measure to use in describing your data


What are measures of central tendency?
A measure of central tendency is a value that attempts to describe a set of data by identifying the central position within that set of data. Therefore, measures of central tendency are also referred to as measures of central location. Because they try to give us the summary of our data, measure of central tendency are also referred to as summary statistics. The most commonly encountered measure of central tendency is the mean (also called average), but this is not the only measure as we also have the mode and the median. Now let us look at what different measure tells us about our data.

Mean
The mean is the average of all the values in the dataset; it is calculated by summing up the values which is then divided by the number of the values. For example, if we collect the age of five boys as 9, 12, 7, 8, 10, the mean is the addition of these values (46) divided by the number of the boys (i.e 5) which gives us 9.2. The mean therefore describes the most common value in your data. This, however, is rarely the actual value observed in your data.
Despite being the most common measure of central tendency, mean has two major drawbacks;

(a) Susceptibility to outliers: Outliers are unusually large or small numerical values compared to the rest of the data set. For example, if the wages of developers is a tech company is 30k, 37k, 45k, 16k, 25k and 100k. The mean salary for this six staff will be 169.9k. However, careful inspection of the raw data will reveal that the mean value might not be the best measure to describe this data as most wages fall in the 30 - 45k range. The mean is being affected by two small and large values. In this situation, using a better measure of central tendency (such as the median)should be considered.

(b) Skewness: When the dataset is heavily tailed to one side, the mean does not best describe the data as it loses its ability to provide the best central location for the data because the skewed data is dragging it away from the typical value.

Median
When our data is arranged in order of magnitude, the median is the middle score. It is less affected by skewed data and outliers.

Mode
The mode is the most frequent score in our data set.

Let's see how we can get these measures using Python

import statistics # for calculating our mean, median and mode

def calc_measure():
# Let's create a random list
num_list = [4,2,1,9,3,6,4]

# we can calculate the measures here
mean = statistics.mean(num_list)
median = statistics.median(num_list)
mode = statistics.mode(num_list)

print(num_list)
print(f"The mean is {mean}"wink
print(f"The median is {median}"wink
print(f"The mode is {mode}"wink

calc_measure()


Challenge: implement mean, median and mode in Python without using any library

3 Likes

Romance / Re: Reality Every Guy Need To Know ( STRICTLY REDPILL) ... by ibromodzi: 8:52pm On Dec 17, 2020
oyolohi:
I got interested in the matter of mods shutting down this page or not:

While I don't think that would happen soon, I've chosen to act while having fun.

I've coded a script and scraped this thread: all 147 pages of it (as at this afternoon). grin

The whole data has been stored on my SSD in JSON format. I'll be releasing the code after cleaning it up.

Here's the format for now:


{
page_number: {
post_number: {
author: str,
text: str,
likes: int,
shares: int,
date: str,
},
},
}


With the JSON data (accessible by all), one could do interesting things like sorting posts made by particular users, most liked, shared, etc.

The version 2 of the script will store images and memes so nothing will be lost; might drop it on github when I'm done.

It's lots of interesting things to do with data from this page, -- with little AI and Language Processing, I will separate the posts into:
1. Questions (and answers to those questions)
2. Experiences (and users opinions)
3. Philosophies
...

Lots of interesting things to do with this page right now... you guys should stay tuned. 21cents and co, don't worry, we've got your back.

P.S. : Martinez39s, you didn't think of this? I want to believe you already have some pages of NL "programmatically" stored OFFLINE grin

The best way to go, please do well to share the data once you are done scraping.
Programming / Re: Help Me With This Python Code by ibromodzi: 6:34pm On Dec 15, 2020
Harkstetunz:
Hello Programlanders smiley .
I've been learning python for some time using 'Automate the boring stuff' ; I've been scaling through each topic successfully, not until I got to chapter 8 project where the knowledge of command line argument is to be employed in multiclipboard project.
The problem is I don't seems to understand handling command line arguments, as much was not written about it in the book. I've watched some YouTube videos but it's the same old story.
I'm using pycharm text editors.
len(sys.argv)==3 and sys.argv[1].lower()=='save':
for my program to work, the above condition must be true but my len(sys.argv) is always 1 thereby rendering my code useless.
I will really appreciate it if you can help me out or better still recommend any book that comprehensively explains HANDLING COMMAND LINE ARGUMENTS in python



Evilsec
Ibromodzi
Stanliwise

If
len(sys.argv)
is returning 1, it means you only have one argument in the program which is the filename (or the executable).
sys.argv
returns a list with the first element being the filename followed by other arguments in the program. We'll be able to make significant contributions if you could share the whole code.

Meanwhile, you can go through these links, I hope you find them useful;

https://realpython.com/python-command-line-arguments/


https://www.youtube.com/watch?v=PZN7vVxeh9M&feature=youtu.be

3 Likes

Programming / Re: Applied Statistics For Data Analysis/science by ibromodzi: 3:54pm On Dec 14, 2020
Series 1: Variables
Objectives
At the end of this series, you should be able to:
1. Define variables
2. Know different types of variables
3. Know the difference between variables and constants
4. Know what explanatory and response variables are


What are variables?

Variables are characteristics that are measured and can take on different values. In other words, something that varies between cases or observations. In contrast, a constant always remains unchanged for all observations in a research study. Let's take on few examples to understand this better.

Example 1: A researcher wants to study the relationship between the educational qualification and the level of awareness of COVID-19 protocols in a sample of 100 male passengers. The variables are;
(a) Educational qualification which could range from none to tertiary education
(b) Awareness level which could be defined using Likert scale
Also, we have 100 observations/cases, biological sex (male) is a constant.

Types of Variable

1. Categorical variable: they are names or labels (e.g gender, race, state) with no logical order or with a logical order but inconsistent differences between groups (e.g., rankings). Categorical variables are also known as qualitative variables.

2. Numerical variables: they are variables with quantifiable measurements e.g height, weight, and average rainfall. They are also known as quantitative variables.

Example 2: A team of clinical researchers want to study the relationship between age and obesity. Weight here can be quantified either in Kilogram or other units, it is therefore a quantitative(numerical) variable while gender is a category (or label) and is therefore a categorical (qualitative) variable.

Variables can as well be grouped into explanatory (independent) and response (dependent) variables. In such a case, we are trying to use one variable to predict or explain the difference in another variable.

Example 3: A researcher wants to predict nutritional status using racial origin. He then takes a random sample of 100 individuals of distinct race. The explanatory variable here is race and the response variable is nutritional status.

The next series is going to be on how to describe different variables.

4 Likes

Programming / Re: AI Study Group by ibromodzi: 8:03pm On Dec 12, 2020
obiscolly:
Hello all,
I'm looking for people interested in joining a study group with a focus on AI and Data Science specifically relating to Nigeria. I started exploring this field a while ago, and while I don't consider myself an expert yet, I feel it would be beneficial to connect with like minds in the field and build a little community to help each other out and potentially build solutions to country-specific problems. I feel the world is moving in this direction and Nigeria must not be left behind in the transformation.

This group will focus on answering questions and collaborating on projects involving topics like machine learning, deep learning, data visualization, etc. If you are an expert in this field already, your contribution will be very much welcome, and if you aren't yet like myself, or are just a complete novice in the area, the chat rooms will be always open for questions.

I hope the mods can allow this post as I am not advertising. Simply looking to collaborate with like minds. If interested, please join the Discord group using the link below. I thought Discord app would be a great platform because of the ease of sharing codes.

https://discord./fkdBEjae

Programming / Re: Applied Statistics For Data Analysis/science by ibromodzi: 6:40pm On Dec 12, 2020
Topics to cover
We are going to cover several topics that border on descriptive and inferential statistics.
Descripive statisitcis
1. Types of variables
2. Measure of central tendency
3. Measure of spread
3. Graphs and plots

Inferential statistics
1. Hypothesis testing
2. Parametric assumptions
3. Sample inference (one sample and two samples)
4. Chi-square test of independence
5. One-Way ANOVA
6. Linear regression and correlation
7. Logistic regression


Tools to use
The tremendous improvement in technology has made it possible to implement almost any statistical concept using different tools. In light of this, you can follow this series using any tool(s) of your choice, but personally, I'll be combining a number of Python libraries together with Microsoft Excel.

Resources;

https://www.pythonfordatascience.org/home
https://online.stat.psu.edu/stat200/home
https://statistics.laerd.com/statistical-guides/measures-central-tendency-mean-mode-median.php

3 Likes 1 Share

Programming / Applied Statistics For Data Analysis/science by ibromodzi: 8:38am On Dec 11, 2020
Data analysis involves inspecting data to gain insights that inform conclusions and impact decision making. The theoretical framework of data analysis is strongly built on statistics and logical techniques (mathematics) while the implementation of its concepts heavily relies on computer science. These three fields are what gave birth to data analysis/ science and as such, this tutorial series is focused on highlighting the important statistical concepts that are employed in different data analytics tasks with implementation in statistical tools of choice of the readers.

I have come in contact with a sizeable number of people who are just finding their way into data science and I've noticed that most people use the top-down approach whereby they first concentrate on using different statistical tools while paying little or no attention to the underlining theoretical concepts upon which these principles are built. The implication of this is that many start to question the reason why they got into data science in the first place because they find it somehow difficult to pinpoint the kind of problems they are solving with these tools or the exact questions they are trying to answer with the data.
if you find yourself in this category, don't be infuriated, I was once in the same dilemma, just take a deep breath, grab your tools, and follow along in this series.

3 Likes 2 Shares

Programming / Re: I Want To Learn Artificial Intelligence, Where Do I Start From by ibromodzi: 6:41pm On Dec 08, 2020
olamidedivotee:


Okay sir thank you very much

You are welcome. You can check your mail now, I have sent the materials.
Programming / Re: I Want To Learn Artificial Intelligence, Where Do I Start From by ibromodzi: 10:42am On Dec 08, 2020
olamidedivotee:

Sir, please do u live in Lagos?
Please drop your number. i need ai learning materials.



I don't live in Lagos. Check this thread by sir Ejiod, you'll see people who are Lagos residents.

I'll send you some PDFs soon.
Programming / Re: Free Python Tutorial For Beginners by ibromodzi: 8:30pm On Dec 04, 2020
Datst136:

Sir i sent you a dm, I require your aid in regards to Data science
I have replied since. You can still send a direct mail to ibromodzi@gmail.com
Programming / Re: A Thread On My Experiment With Reinforcement Learning & Artificial Intelligence. by ibromodzi: 6:22am On Dec 02, 2020
Predstan:
This really is the best thread to go from. Read few pages and get some heads on into the process

https://www.nairaland.com/5233208/general-usa-student-visa-enquiries-part/716#5233208.22912


Thanks for sharing sir, I really appreciate.
Programming / Re: A Thread On My Experiment With Reinforcement Learning & Artificial Intelligence. by ibromodzi: 4:45pm On Dec 01, 2020
Predstan:


I’m on a full funding scholarship and my responsibility is to teach undergraduate courses. America is flexible, you can major in anything and minor in computer science. I’m still in the engineering field and minor in computer with concentration on artificial intelligence.

Can we get to know better? I'll like you to point me in the right direction.

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 11 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 65
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.