r/learnpython • • Apr 25 '23

I’ve been programming for 6 months and need guidance

So basically I’ve been coding for about six months and the only language that I have started is python. I have created a program that is almost finished it automatically creates workout programs for me at the click of a button in after entering a few personal pieces of information(current lifts, age bodyweight).

My older brother just started his career and coding as a data analyst it was recommending that I should start using sql and Kaggle after he took a look at my code.

My end goal is to build rockets and help program a lot of the robots/ai that will be used on it.

My short term goal is to start making a program that automatically withdraws money from a my bank account and trades stocks using machine learning to progressively get better at it.

I’ve installed tensor flow, PyTorch, pandas, scipy, and many more libraries to help me out. I’ve taken a couple of Udemy’s longest python courses and frequent stack overflow.

I would like to be able to get live data and log it into charts that I can create through python libraries.

How should I go about this? I’m willing to take any ideas/criticism on career routes, project ideas, best methods to practices and learn

Edit/TL;DR :

I want to build rockets, code/create robots, and create help create the software that makes the use of said goals easier. How do I go about this?

3 Upvotes

56 comments sorted by

20

u/[deleted] Apr 25 '23

I'm not totally sure what you're asking, but I wanted to comment on this line.

My end goal is to build rockets and help program a lot of the robots/ai that will be used on it.

That's at least three different jobs, dude(tte).

-14

u/[deleted] Apr 25 '23

Exactly. I want to do it all. I’m asking advice on any and all methods(no pun intended ) to get to any and all of these careers.

Also asking advice on how to go about said project that I’m working on

14

u/ChopChop007 Apr 25 '23

A horcrux?

4

u/jdnewmil Apr 25 '23

... or a "time-turner"...

-9

u/[deleted] Apr 25 '23

What?

7

u/odkfn Apr 25 '23 edited Apr 26 '23

They’re saying you’re expecting to do too much as any one of those things requires a lot of time and effort career-wise. All three of them requires three times that. Don’t be disheartened - people are saying to focus on one target at a time.

-2

u/[deleted] Apr 25 '23

Ohh ok, idk why I thought he was trying to make a Harry Potter reference. I am trying to do a lot, that is the truth…

but even if I have to do one at a time, I should shoot for the stars. Worse case worst I’ll land on the clouds.

I see what he means now but any guidance helps

4

u/[deleted] Apr 26 '23

The reference meaning that you'd need more than one human lifetime to accomplish all 3. While it's nice to "shoot for the stars", it’s also crucial to be realistic.

-3

u/[deleted] Apr 26 '23

Realistically I plan on having no gf or kids. You’d be surprised with how much free time that gives a man.

1

u/Lower_Rabbit_5412 Apr 26 '23

All three of those are phd level careers. No amount of "free time" will be enough.

0

u/[deleted] Apr 26 '23

Good thing I’m only 24. 3 more eight year careers would put me just over 48. That’s not exactly too old to keep learning.

16

u/ploud1 Apr 25 '23

You are getting ahead of things a bit. First, ML is a branch of math, not programming, so there is no point on learning about TensorFlow if you do not know the theory behind. For now just focus on building applications using Python. Start small, then scale up.

-13

u/[deleted] Apr 25 '23

Well, that’s why I’m here seeking advice. You’re essentially telling me to just continue to do what I’m already doing?

I imagine I need some sort of direction, and not just aimless programming until the end of my days… telling my what I shouldn’t focus on does help, but it doesn’t tell me what I should focus on:

what maths are required for understanding machine learning? Is there a specific path to learning that facet of things? Where might I need to go to practice it? Etc

9

u/ploud1 Apr 25 '23

Oh, I see. You are ambitious, that's great!

Well, to start with machine learning, that's a vast subject. Since I hold a degree in the field, I can tell you that everything boils down to a linear regression. But that's just me being sarcastic.

Anyway, may I suggest that you enroll in a course of machine learning? There are plenty of them out there, and some of them are very good and only cost a few dollars per month. Of course, we will be happy to answer your questions, still!

0

u/[deleted] Apr 25 '23

Thank you for the advice, I think I might already be enrolled in a couple machine learning courses on Udemy so I’ll be sure to start those soon.

If you don’t mind me asking, how did you personally get your degree in machine learning? Did you go to school or did you learn independently? How long did it take you? Etc

13

u/archipeepees Apr 25 '23 edited Apr 25 '23

To understand the basics of machine learning it's good to have a solid foundation in statistics, calculus, and linear algebra. You should be proficient with any undergraduate-level calculus courses (e.g. calc I to III) and statistics classes as well as Bayesian statistics. Introductory CS courses (typically called "algorithms", "data structures", or some combo of the two) are also a good idea.

To program rockets you're going to have to go well beyond the basics, though. If you're interested in developing state-of-the-art algorithms for rockets then you really need a PhD in computer science (or equivalent). If you're happy to take pre-designed algorithms and implement them, then you'd probably do fine with a Master's degree. A bachelor's degree will probably be enough if you're staying more on the utilities/"nuts and bolts" side of things, but that doesn't sound like the work you're describing. Honestly, what you're describing is really top-tier. You will be competing with candidates from all over the world with impressive CVs, letters of recommendation from well-known professors, internships and work experience at labs and major tech firms, etc. So your background is going to play a huge role in whether you can get into a position to do the kind of work you want to do, much more than your familiarity with one language or another.

Right now it really doesn't matter what you program and what language you program in because it sounds like you're looking at a decade of courses and training before you'll be ready. I would say program in whatever language you like, and make things that you're interested in, because the most important factor above all of this is that you're passionate enough about what you're doing to follow through with the years of preparation it requires. And a good first step to being passionate about your work is to have as much fun with it as you can while it's still a hobby.

2

u/[deleted] Apr 25 '23

Thank you so much! This was truly the best answer I’ve gotten so far, and as impossible as it might be, it’s what I’m going to shoot for.

I appreciate you going into the specifics of what paths of education and careers I will need to finish in order to get there.

This is exactly the type of answer I was looking for and honestly a good reality check. I definitely do have a hell of a work load cut out for me but as I’m not interested in having a gf or kids I think it’s a reasonable enough goal. I’m moving into statistics right now and I’m taking things very seriously.

I appreciate the time you’ve taken to give me a serious response. I hope your week is as great as your comment!

10

u/[deleted] Apr 25 '23

You can’t self sign your own degree bro come on lol. If you read their comment carefully you’ll be able to eek out the facts that he works in the ML field which is Math.

Try googling linear regression then find out what level of math that is if you want to follow that track.

if you believe you are a super genius with eidetic memory and autodidactic tendencies then you should go find a cave to learn it all by yourself.

My recommendation is to slow down and re-read what you’re reading to understand the meaning of your subject and not just the words.

-3

u/[deleted] Apr 25 '23 edited Apr 25 '23

I’m asking about his journey, not his degreee. C’mon man, if you read my comment you’d realize that I’m referring to his entire process of getting a degree.

You don’t have to start python in school to finish it in school and get a degree, not that hard to comprehend…

Edit: key word was “personally” as in, im not assuming anything about his process of getting to where he is, and am askin about it. It’s called inquiry.

15

u/Zeroflops Apr 25 '23

When you say build rockets I assume you talking about write sw to control rockets. If you want to build rockets your looking at mechanical/electrical/ and chemical engineering degrees.

Most likely that’s going to be heavy in C/C++. But the best thing to do is research what is used. It’s also unlikely they will even look at you without a degree. Check out some job websites to see what is required for a position. Unless you have years of proven job history, they won’t consider someone getting online certificates as equivalent.

You will have to pass an extensive background check. Again, check online for job postings to see what is required.

As a side note, look at the job positions in your country and not another country. Jobs related to rockets are considered high risk in both IP and national security. ( you can’t come from North Korea and apply for a job in rockets in the us so you can take that knowledge back to NK and work on their ballistic missiles

The reality about stocks is that you won’t make money using AIML based on stock prices. AIML is all based on patterns, which don’t exist in stocks. Past performance is no indication of future performance. Ppl have tried using AIML on stocks for years. Better chances working less with stock prices and more sentiment analysis and other sources of data.

5

u/[deleted] Apr 25 '23

Ty for a genuine response. I seriously appreciate it. I’m actually about to start school to become an aviation technician, it will take only a year and the experience directly translates to many other fields such as manually working on rockets(people who are good enough have been directly recruited by spaceX right after school) so I’ll likely be doing it hands on at first.

I’m learning coding and math(starting certain sciences soon) in my free time to keep myself moving forward on the software side of things.

I actually planned to use machine learning to use scraped news and company data from all over the web to look for keywords and phrases and other aspects of English syntax to determine the likelihood of wether or not a stock will rise or fall, combined with the recent trends of a given stock combined with how a given stock has held up over the duration of national recessions and things of that such to finally make a decision on wether or not it is a good stock to invest in.

I had no intention of trying to use solely past data to determine anything regarding future stocks, I do appreciate you clarifying though

7

u/niehle Apr 25 '23

> a program that automatically withdraws money from a my bank account and
trades stocks using machine learning to progressively get better at it.

As long as you don't use real money...

1

u/[deleted] Apr 25 '23

Why’s that?

10

u/niehle Apr 25 '23

Because you'll lose real money otherwise

-2

u/[deleted] Apr 25 '23

That’s fine.Osing money is part of the trading process regardless.

9

u/niehle Apr 25 '23

Don't say you haven't been warned.

0

u/[deleted] Apr 25 '23

You haven’t given any reasons to why is shouldn’t. That isn’t much of a warning at all.

0

u/[deleted] Apr 25 '23

[deleted]

-2

u/[deleted] Apr 25 '23

Of course that’s obvious, their skill in programming and trades have little to do with my individual skills in programming and trades.

I’m not competing against them to try to make a better program, I’m simply trying to make money on the side for myself.

You either misunderstood my comment, or you have a complete misunderstanding of how the stock market operates. I don’t know which one it is.

0

u/[deleted] Apr 25 '23

[deleted]

-1

u/[deleted] Apr 25 '23

Building rockets is literally for space “exploration ”

The desire to build a model that automatically trades for me stems from the desire to have more free time to dedicate to studying.

You assuming that I’m trying to take wealth without creating it is wild in it of itself… especially since the whole subject of the post is asking help on how to get to the point of making software and putting together hardware for building rockets.

Rockets for space travel… for who? The better of humanity

You have no idea about my plans to buy back land claimed by buildings and cities to restore them to their local environment

 “From our angle”

Yeah from your angle you had no prior knowledge of my overall intentions. You didn’t realize that your talking to someone with some of the true hearted intentions… you just attacked instead of asking.

What is your reason for coding? What do you desire to do with it? Just make some money bc you’re stem inclined? Solely joined the field because you found interest in it, and didn’t want to do any career that you weren’t interested in?

Get off your high horse man, I’m just over here asking for advice, I wanna do big things before I die, don’t get mad at me bc you see a (paraphrased)”young person with dreams”

→ More replies (0)

3

u/CraigAT Apr 25 '23

There are plenty of trading platform options that let you trade on a training platform first, or you can try trading based on 90% of previous data and using the 10% to confirm what actually happened next.

Look up r/algotrading but please don't use real money without a massive amount of testing.

2

u/[deleted] Apr 25 '23

Well the goal was to use real money in the end. I’ve already looked up a few videos of ppl using such platforms, and this is definitely the route I’m going to go. I appreciate your honest and genuine answer, going to continue looking into these platforms and api resources to get the ball rolling.

5

u/CraigAT Apr 25 '23

Have you ever used a system where you are suppose to answer only yes or no and someone enters 2? Even if you program your AI superbly, weird things happen that were never in the test data and could lose you a lot of money. Build in limits and breakpoints, but still watch what carefully.

2

u/[deleted] Apr 25 '23

Thank you, I appreciate it, I’ll try to be as careful as possible. I imagine even though I plan to use the mock systems a lot of bugs will show, can’t even imagine the real thing as time passes… nonetheless, the work must get done…

3

u/Please_do_not_DM_me Apr 26 '23

As long as you don't use real money...

The trick is to use someone else's money then charge them fees. (LOL)

Seriously though, OP if you gamble keep it small enough that you wouldn't notice loosing it.

3

u/[deleted] Apr 26 '23

Yessir, I’m only going to mock trade per suggestion of another redditor. The money traded will come a bit later down the line and will indeed be small

6

u/cyberjvs Apr 25 '23

Here are some suggestions on how you can further develop your skills and achieve your goals:

Learn SQL and Kaggle: Your brother's recommendation to learn SQL and Kaggle is a good one. SQL is a popular language used for managing and manipulating data, which is essential for data analysis and machine learning. Kaggle is a platform that hosts data science competitions and provides datasets for data analysis and machine learning projects. Learning these skills will give you a solid foundation for building machine learning models and analyzing data.

Explore machine learning: Since you're interested in building a program to trade stocks using machine learning, you should focus on learning more about machine learning algorithms and techniques. Start with the basics of supervised and unsupervised learning and work your way up to more advanced techniques like deep learning. TensorFlow and PyTorch are excellent libraries for machine learning.

Learn about data visualization: To log live data into charts, you'll need to be proficient in data visualization. Matplotlib and Seaborn are popular libraries for creating visualizations in Python. Once you have the data, you can use these libraries to create charts and graphs to help you analyze and interpret the data.

3

u/[deleted] Apr 25 '23

Thank you for your help! You’re the first to reply about the stocks program and that seriously helps! I’m definitely going to look into all of this more and start it.

5

u/ninvti Apr 25 '23

I’d expect that rocket programming would be pretty academically selective. A good compsci, physics, maths, or related science degree, with good grades, from a prestigious university will really help open doors for this.

Side projects and studying courses on the side will help as well.

There are probably cheaper and less depressing projects to learn programming than creating a trading bot - trading is a zero sum game, and you’ll be up against the smartest minds in the world (and institutions that have the system on their side)

4

u/[deleted] Apr 25 '23

I plan on basically making pocket change with the trading bot, I’m not looking to make 6 figures a year from it. Also I’m just looking to make projects that get me paid for now so I can focus on school and studying more. I plan on learning html5 to build websites just for some easy money, basically stepping up the pay ladder until I can focus on and make progress in everything I want without 8 hours of my day being wasted at a 9-5.

Any criticism or advice on that though process/train of thought would be much appreciated

3

u/yycTechGuy Apr 25 '23

My end goal is to build rockets and help program a lot of the robots/ai that will be used on it.

Learn C/C++. Start now.

4

u/[deleted] Apr 25 '23

Second comment saying this. Thank you, I’m on it🙏

3

u/DreadPirateRobarts Apr 25 '23

What is rocket programming?

3

u/[deleted] Apr 25 '23

Coding programs that allow rockets to properly, and safely function.

3

u/Gnaxe Apr 26 '23

SQL is actually one of the languages that comes with Python. See the sqlite3 module in the standard library. It's super widespread because it's the way the industry interacts with the most common types of databases. It would be useful to learn for a lot of software jobs.

3

u/[deleted] Apr 26 '23

That clarifies a bit about sql I’ll definitely be looking into it more tonight

2

u/DrMrBomb01 Apr 26 '23

So you want to be a rocket scientist? and a machine learning dev?

3

u/[deleted] Apr 26 '23

Basically, yes.

1

u/[deleted] Apr 27 '23

hopefully you are 10 years old and can apply yourself rigorously for the next few decades because thats what it's gonna take

2

u/[deleted] Apr 27 '23

I’m 24. The next few decades would put me at 54, significantly younger than many physicists

1

u/[deleted] Apr 27 '23

That's fine but you are a human being so unless you are incredibly obsessed (you're probably overestimating this) ...

..then you're not still going to be interesting in the same thing in even 10 years.

Good luck but the first step is to learn how to code basics. and go to university for all that rocket shit too

2

u/[deleted] Apr 26 '23

Trading bot? That's easy, there's a ton of tutorials out there. Trading bot that earns net gain? That's the hard part. I have friends who have completed degrees in economics & finance, and even they admit it’s a bit of work to work out the theory. You'd need a bit of background in finance to make it earn, considering that the bot is only an automation of your strategy.

As for the rocket science part, that sounds like you'd need a degree in some form of mechanical or aerospace engineering, as that field is very selective and probably will not hire a self-taught developer for that kind of work. Also to be clear, the "building rockets" part is an entirely different field of work from the "coding the software for it"; again ambition is good but it’s good to have some realism/pragmatism in your overall assessment of goals.

At 6 months in, your main goal should be understanding the theory of what you’re doing. Given your goals, it’s important to understand what goes on underneath the hood, you can’t rely on the abstraction of Python. Learn the theory of DSA, computer architecture, etc. For ML, you need to learn basic to intermediate statistics and data science before even worrying about which framework to code in.

This plan of yours may take 5-10 years to even come halfway to fruition, so buckle up and be prepared to commit to the effort.

2

u/[deleted] Apr 26 '23

The length of time it takes doesn’t really matter to me as long as it comes to life. I’m not familiar with finance and I understand it will likely be a program I won’t see much profit from, but as I have to build programs for practice anyways, I might as well get it done.

Also I’m going to school to fix on planes and jets, people get directly recruited by spaceX from the school I’m going to. I’ll be building rockets hands on regardless of wether I do software engineering/development or not, it’s already set in motion.

Edit: I will take the advice to heart though, I really want to get this done. I appreciate you taking the time to stop and comment

1

u/[deleted] Apr 27 '23

Your short term goal is going to take you a few years. I hope youre not trolling.

1

u/[deleted] Apr 27 '23

Not trolling

1

u/iamevpo Apr 26 '23

Try work on some small part of automation, the simplest end-to-end pypeline possible, then simplify it enen further and implement. You will have a sceketon the you can add more things later, but will learn in meantime.

Transfer money to brokerage Trade small sum on naive algorithm within limits Report results

You do not need PyTorch for this really. You can explore writing your own code or use some frameworks for algotrading.

Another pipeline is backtesting some trading strategies on historic data, it is a separate task.