• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:53
CET 14:53
KST 22:53
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Winners10Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
StarCraft, SC2, HotS, WC3, Returning to Blizzcon!33$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win10
StarCraft 2
General
Mech is the composition that needs teleportation t TL.net Map Contest #21: Winners Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win RotterdaM "Serral is the GOAT, and it's not close" 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
[ASL20] Ask the mapmakers — Drop your questions BW General Discussion [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile Should offensive tower rushing be viable in RTS games? Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1398 users

The Big Programming Thread - Page 288

Forum Index > General Forum
Post a Reply
Prev 1 286 287 288 289 290 1032 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
mcc
Profile Joined October 2010
Czech Republic4646 Posts
April 22 2013 17:07 GMT
#5741
On April 23 2013 01:40 icystorage wrote:
@mcc

im actually working on the perceptron-like multi-layer network with backpropagation and im kinda relieved it matched your suggestion (means im on the right track)

what im trying to do is use NN to predict stock prices (yes it is impossible but i want to test the NN with these data)
stock has 4 prices, open, low, high and close. i want it to predict the closing price. now, is the training (weight adjustment) separate from the predicting or should i input all the necessary data (technicalities aside, just the procedure) then expect the predicted value?

I am not sure how much experience you have with NNs so I will start with saying that if you are fairly new to them, start with something simpler and when you are well acquainted with the processes move to stock predictions I would actually start with something completely simple like function approximation or some simple classification tasks.

I am not entirely sure what you are asking, but hopefully I guessed correctly.

As for training. You should definitely split your data into at least two sets. One group for training, another one for testing. There is whole science around correct setup of training data, but general answer is, do not mix them. Ideally you would want even more sets for different iterations and their evaluation, but you can ignore that at the start, or read up on it properly

You also need to think quite a lot about input of your network. How much data per prediction do you want it to be based on. Basically how far into the past should the NN look for predicting today's prices. And how detailed it should be. For example you can go 2 last days with all four points and before that use only closing price.

The general training process is :
1) setup weights randomly (or another starting setup)
2) while you are not satisfied
-input one vector of data and run the network
-calculate error based on actual and expected output
-use backpropagation to change weights
3) now test it on testing data and calculate error
4) if satisfied you are done if not
5) either redesign training data or redesign your NN topology/other attributes
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
Last Edited: 2013-04-22 17:23:20
April 22 2013 17:21 GMT
#5742
On April 23 2013 00:18 mcc wrote:
Show nested quote +
On April 22 2013 23:39 icystorage wrote:
Um okay

1) you can use neural networks to predict an output right?
2) how do you make it predict? do you have to train it?
3) by training it, it adjusts its weight right?
4) if i give NN a pattern of 1,1,1,1,1 will it predict the next number will be 1?
5) heres my general understanding in predicting neural networks
- train the network by feeding it data (it adjusts its weight and compares its output to your EXPECTED, not predicted, output)
- with the current configuration of the weights you now use it to get the predicted output

sorry if its confusing but im also very confused atm

1) yes
2) You can either train it or set the weights "correctly" at the start by using some other process (but you can also call it training)
3) yes
4) Not necessarily. It depends on what patterns you trained it to recognize and also how well you trained it


Note that there is plenty of NN types and they have sometimes quite different ways of setting up weights. So you need to specify which type you are talking about, most likely some perceptron-like multi-layer network with backpropagation ?

Can you elaborate on how this is possible?

Sorry. I'm not challenging you. I barely know enough about NN's so I am curious myself.

A neural network for stock prices sounds logical but as you're aware stocks change very dramatically to inputs you may not have guessed and people have already done this and are paid to do this work. Still, I'm sure your results will be interesting.


6) Here's one more question from me: Do neural networks only work for linear correlations?

And to icystorage:
How many days ahead are you trying to predict? Using how much training data?
If you are only going to look at the past 2 days of data as input it may be easier to use a moving average.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
April 22 2013 17:30 GMT
#5743
On April 23 2013 02:21 obesechicken13 wrote:
Show nested quote +
On April 23 2013 00:18 mcc wrote:
On April 22 2013 23:39 icystorage wrote:
Um okay

1) you can use neural networks to predict an output right?
2) how do you make it predict? do you have to train it?
3) by training it, it adjusts its weight right?
4) if i give NN a pattern of 1,1,1,1,1 will it predict the next number will be 1?
5) heres my general understanding in predicting neural networks
- train the network by feeding it data (it adjusts its weight and compares its output to your EXPECTED, not predicted, output)
- with the current configuration of the weights you now use it to get the predicted output

sorry if its confusing but im also very confused atm

1) yes
2) You can either train it or set the weights "correctly" at the start by using some other process (but you can also call it training)
3) yes
4) Not necessarily. It depends on what patterns you trained it to recognize and also how well you trained it


Note that there is plenty of NN types and they have sometimes quite different ways of setting up weights. So you need to specify which type you are talking about, most likely some perceptron-like multi-layer network with backpropagation ?

Can you elaborate on how this is possible?

Sorry. I'm not challenging you. I barely know enough about NN's so I am curious myself.

A neural network for stock prices sounds logical but as you're aware stocks change very dramatically to inputs you may not have guessed and people have already done this and are paid to do this work. Still, I'm sure your results will be interesting.


6) Here's one more question from me: Do neural networks only work for linear correlations?

And to icystorage:
How many days ahead are you trying to predict? Using how much training data?
If you are only going to look at the past 2 days of data as input it may be easier to use a moving average.


Neural networks are specifically good at non-linear problems. It's basically consecutive matrix multiplication in order to reveal non-linear relationships between inputs and outputs.

Any sufficiently advanced technology is indistinguishable from magic
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
April 22 2013 20:12 GMT
#5744
On April 23 2013 02:30 RoyGBiv_13 wrote:
Show nested quote +
On April 23 2013 02:21 obesechicken13 wrote:
On April 23 2013 00:18 mcc wrote:
On April 22 2013 23:39 icystorage wrote:
Um okay

1) you can use neural networks to predict an output right?
2) how do you make it predict? do you have to train it?
3) by training it, it adjusts its weight right?
4) if i give NN a pattern of 1,1,1,1,1 will it predict the next number will be 1?
5) heres my general understanding in predicting neural networks
- train the network by feeding it data (it adjusts its weight and compares its output to your EXPECTED, not predicted, output)
- with the current configuration of the weights you now use it to get the predicted output

sorry if its confusing but im also very confused atm

1) yes
2) You can either train it or set the weights "correctly" at the start by using some other process (but you can also call it training)
3) yes
4) Not necessarily. It depends on what patterns you trained it to recognize and also how well you trained it


Note that there is plenty of NN types and they have sometimes quite different ways of setting up weights. So you need to specify which type you are talking about, most likely some perceptron-like multi-layer network with backpropagation ?

Can you elaborate on how this is possible?

Sorry. I'm not challenging you. I barely know enough about NN's so I am curious myself.

A neural network for stock prices sounds logical but as you're aware stocks change very dramatically to inputs you may not have guessed and people have already done this and are paid to do this work. Still, I'm sure your results will be interesting.


6) Here's one more question from me: Do neural networks only work for linear correlations?

And to icystorage:
How many days ahead are you trying to predict? Using how much training data?
If you are only going to look at the past 2 days of data as input it may be easier to use a moving average.


Neural networks are specifically good at non-linear problems. It's basically consecutive matrix multiplication in order to reveal non-linear relationships between inputs and outputs.


I may have used the wrong words.

What if you wanted to predict something that you knew had a roughly exponential growth?
Like say you were given a set of data that matched closed to the input of x^2 + 2y^2 + 5 = z
but you were not given the equation and you wanted to use Neural networks to find it. Could you?
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
ekra
Profile Joined December 2010
Spain52 Posts
April 22 2013 21:41 GMT
#5745
hi, this is my first post on this thread
I'd like to know what do I need to learn to make an app for android (I'd like to do something similar to a social network)

I'm a mathematics student and there I have done two subjects on programming (the first one was introductory, the second one was on algorithmics: algorithmic efficiency, sorting...), on both of them we programmed using C++. I also know a bit of java, I watched the videos of this course: http://www.academicearth.org/courses/programming-methodology .

What should I try to learn next?

thanks in advance ^^
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
Last Edited: 2013-04-22 21:43:09
April 22 2013 21:42 GMT
#5746
On April 23 2013 06:41 ekra wrote:
hi, this is my first post on this thread
I'd like to know what do I need to learn to make an app for android (I'd like to do something similar to a social network)

I'm a mathematics student and there I have done two subjects on programming (the first one was introductory, the second one was on algorithmics: algorithmic efficiency, sorting...), on both of them we programmed using C++. I also know a bit of java, I watched the videos of this course: http://www.academicearth.org/courses/programming-methodology .

What should I try to learn next?

thanks in advance ^^

You should learn making an app for android. If nothing else their tutorials will give you more prereqs to do.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
April 22 2013 21:43 GMT
#5747
On April 23 2013 06:41 ekra wrote:
hi, this is my first post on this thread
I'd like to know what do I need to learn to make an app for android (I'd like to do something similar to a social network)

I'm a mathematics student and there I have done two subjects on programming (the first one was introductory, the second one was on algorithmics: algorithmic efficiency, sorting...), on both of them we programmed using C++. I also know a bit of java, I watched the videos of this course: http://www.academicearth.org/courses/programming-methodology .

What should I try to learn next?

thanks in advance ^^


http://developer.android.com/training/basics/firstapp/index.html

Very very easy, and complete documentation.
"When the geyser died, a probe came out" - SirJolt
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
Last Edited: 2013-04-22 23:23:03
April 22 2013 23:22 GMT
#5748
@mcc

yes i am really new and just trying to learn about NNs through reading. thank you for that elaborate answer, you have really cleared the air inside the confusion in my brain. +1

@obesechicken

we were planning to use 15 years worth of daily data. is that too much for training? overtraining? and a month worth of data for testing.
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
WolfintheSheep
Profile Joined June 2011
Canada14127 Posts
Last Edited: 2013-04-23 00:06:11
April 23 2013 00:03 GMT
#5749
On April 23 2013 05:12 obesechicken13 wrote:
Show nested quote +
On April 23 2013 02:30 RoyGBiv_13 wrote:
On April 23 2013 02:21 obesechicken13 wrote:
On April 23 2013 00:18 mcc wrote:
On April 22 2013 23:39 icystorage wrote:
Um okay

1) you can use neural networks to predict an output right?
2) how do you make it predict? do you have to train it?
3) by training it, it adjusts its weight right?
4) if i give NN a pattern of 1,1,1,1,1 will it predict the next number will be 1?
5) heres my general understanding in predicting neural networks
- train the network by feeding it data (it adjusts its weight and compares its output to your EXPECTED, not predicted, output)
- with the current configuration of the weights you now use it to get the predicted output

sorry if its confusing but im also very confused atm

1) yes
2) You can either train it or set the weights "correctly" at the start by using some other process (but you can also call it training)
3) yes
4) Not necessarily. It depends on what patterns you trained it to recognize and also how well you trained it


Note that there is plenty of NN types and they have sometimes quite different ways of setting up weights. So you need to specify which type you are talking about, most likely some perceptron-like multi-layer network with backpropagation ?

Can you elaborate on how this is possible?

Sorry. I'm not challenging you. I barely know enough about NN's so I am curious myself.

A neural network for stock prices sounds logical but as you're aware stocks change very dramatically to inputs you may not have guessed and people have already done this and are paid to do this work. Still, I'm sure your results will be interesting.


6) Here's one more question from me: Do neural networks only work for linear correlations?

And to icystorage:
How many days ahead are you trying to predict? Using how much training data?
If you are only going to look at the past 2 days of data as input it may be easier to use a moving average.


Neural networks are specifically good at non-linear problems. It's basically consecutive matrix multiplication in order to reveal non-linear relationships between inputs and outputs.


I may have used the wrong words.

What if you wanted to predict something that you knew had a roughly exponential growth?
Like say you were given a set of data that matched closed to the input of x^2 + 2y^2 + 5 = z
but you were not given the equation and you wanted to use Neural networks to find it. Could you?

Okay, the question to ask is...what is your actual end goal? Is using a Neural Network a requirement in your mind? Or are you primarily trying to determine a formula to match given data points, and then extrapolate the data further?

Yes, you could, technically, use a Neural Network to do such a thing. However, it would be extremely inefficient to do so, given that your time would be much better spent looking into Discrete Mathematics, where there are already established theorems and equations for such tasks. I think the study is called Recurrence relations...it's been awhile though, so I could be wrong.


EDIT: Sorry, I appear to have randomly jumped into the conversation at an odd point. My point really only applies to deriving a formula from data, not to any sort of predictive software.
Average means I'm better than half of you.
Ame
Profile Joined October 2009
United States246 Posts
April 23 2013 01:26 GMT
#5750
On April 22 2013 10:20 obesechicken13 wrote:
I'm starting to dislike coursera again. I hate formal courses. I was able to do a project today: a rock paper scissors lizard spock game, but I didn't like having to watch video lectures.


Haha, ended up signing up for coursera's intro interaactive python after reading a few comments in this thread.

I haven't actually gone through any of the material/lectures yet, but it looks like they have the concepts in written form if you go to Class > Video Lectures > Week# > Week# Concepts (button that looks like 'i').
Nazza
Profile Blog Joined August 2010
Australia1654 Posts
April 23 2013 07:41 GMT
#5751
On April 23 2013 06:43 fabiano wrote:
Show nested quote +
On April 23 2013 06:41 ekra wrote:
hi, this is my first post on this thread
I'd like to know what do I need to learn to make an app for android (I'd like to do something similar to a social network)

I'm a mathematics student and there I have done two subjects on programming (the first one was introductory, the second one was on algorithmics: algorithmic efficiency, sorting...), on both of them we programmed using C++. I also know a bit of java, I watched the videos of this course: http://www.academicearth.org/courses/programming-methodology .

What should I try to learn next?

thanks in advance ^^


http://developer.android.com/training/basics/firstapp/index.html

Very very easy, and complete documentation.


I think here too:

https://developers.google.com/university/courses/
No one ever remembers second place, eh? eh? GIVE ME COMMAND
billy5000
Profile Blog Joined December 2010
United States865 Posts
April 23 2013 08:11 GMT
#5752
On April 23 2013 10:26 Ame wrote:
Show nested quote +
On April 22 2013 10:20 obesechicken13 wrote:
I'm starting to dislike coursera again. I hate formal courses. I was able to do a project today: a rock paper scissors lizard spock game, but I didn't like having to watch video lectures.


Haha, ended up signing up for coursera's intro interaactive python after reading a few comments in this thread.

I haven't actually gone through any of the material/lectures yet, but it looks like they have the concepts in written form if you go to Class > Video Lectures > Week# > Week# Concepts (button that looks like 'i').


Well for me, I really don't mind the lectures. I realize that most of these professors are well more educated and actually has the ability to teach other than doing research (unlike most of my professors at a state university).

I'm currently taking the scala course, and there's never a time when I'm bored by the lectures. But at the same time, it could be due to the way I take the online course: I spend 20-30min worth of lectures a day, so I don't burn myself out since I have other classwork to do. And plus, it's just easier to retain what I learn in chunks. It sounds corny but I also take notes and pause the video at almost every slide until I can understand the damn thing in my own words lol.

Considering the class you're taking is fairly introductory, I can see why you get bored of the lectures. But maybe try taking it by a little each day--you have the whole week to finish it. I can't guarantee anything, but it's worth a shot.
Tiger got to hunt, bird got to fly; Man got to sit and wonder, 'Why, why, why?' Tiger got to sleep, bird got to land; Man got to tell himself he understand. Vonnegut
Ame
Profile Joined October 2009
United States246 Posts
April 23 2013 10:03 GMT
#5753
On April 23 2013 17:11 billy5000 wrote:
Well for me, I really don't mind the lectures. I realize that most of these professors are well more educated and actually has the ability to teach other than doing research (unlike most of my professors at a state university).

I'm currently taking the scala course, and there's never a time when I'm bored by the lectures. But at the same time, it could be due to the way I take the online course: I spend 20-30min worth of lectures a day, so I don't burn myself out since I have other classwork to do. And plus, it's just easier to retain what I learn in chunks. It sounds corny but I also take notes and pause the video at almost every slide until I can understand the damn thing in my own words lol.

Considering the class you're taking is fairly introductory, I can see why you get bored of the lectures. But maybe try taking it by a little each day--you have the whole week to finish it. I can't guarantee anything, but it's worth a shot.


For me, given my current lifestyle, going through the lectures is probably one of the more productive things I can do anyways (repetition aiding learning etc etc). So yep, I might as well watch them.

Scala course eh. Might add/take that one too. :<
mcc
Profile Joined October 2010
Czech Republic4646 Posts
April 23 2013 13:14 GMT
#5754
On April 23 2013 02:21 obesechicken13 wrote:
Show nested quote +
On April 23 2013 00:18 mcc wrote:
On April 22 2013 23:39 icystorage wrote:
Um okay

1) you can use neural networks to predict an output right?
2) how do you make it predict? do you have to train it?
3) by training it, it adjusts its weight right?
4) if i give NN a pattern of 1,1,1,1,1 will it predict the next number will be 1?
5) heres my general understanding in predicting neural networks
- train the network by feeding it data (it adjusts its weight and compares its output to your EXPECTED, not predicted, output)
- with the current configuration of the weights you now use it to get the predicted output

sorry if its confusing but im also very confused atm

1) yes
2) You can either train it or set the weights "correctly" at the start by using some other process (but you can also call it training)
3) yes
4) Not necessarily. It depends on what patterns you trained it to recognize and also how well you trained it


Note that there is plenty of NN types and they have sometimes quite different ways of setting up weights. So you need to specify which type you are talking about, most likely some perceptron-like multi-layer network with backpropagation ?

Can you elaborate on how this is possible?

Sorry. I'm not challenging you. I barely know enough about NN's so I am curious myself.

A neural network for stock prices sounds logical but as you're aware stocks change very dramatically to inputs you may not have guessed and people have already done this and are paid to do this work. Still, I'm sure your results will be interesting.


6) Here's one more question from me: Do neural networks only work for linear correlations?

And to icystorage:
How many days ahead are you trying to predict? Using how much training data?
If you are only going to look at the past 2 days of data as input it may be easier to use a moving average.

Well if you have training data like this [1,1,1,1,1 -> 0] then properly trained network will answer 0 to input [1,1,1,1,1] My point was more that you can train the network to answer whatever you want, so asking if neural network will answer 1 to [1,1,1,1,1] is dependent on what you trained it to do.

Of course some NNs use some self-organization mechanisms instead of typical training to set their weights and they work somewhat differently.

On April 23 2013 05:12 obesechicken13 wrote:
Show nested quote +
On April 23 2013 02:30 RoyGBiv_13 wrote:
On April 23 2013 02:21 obesechicken13 wrote:
On April 23 2013 00:18 mcc wrote:
On April 22 2013 23:39 icystorage wrote:
Um okay

1) you can use neural networks to predict an output right?
2) how do you make it predict? do you have to train it?
3) by training it, it adjusts its weight right?
4) if i give NN a pattern of 1,1,1,1,1 will it predict the next number will be 1?
5) heres my general understanding in predicting neural networks
- train the network by feeding it data (it adjusts its weight and compares its output to your EXPECTED, not predicted, output)
- with the current configuration of the weights you now use it to get the predicted output

sorry if its confusing but im also very confused atm

1) yes
2) You can either train it or set the weights "correctly" at the start by using some other process (but you can also call it training)
3) yes
4) Not necessarily. It depends on what patterns you trained it to recognize and also how well you trained it


Note that there is plenty of NN types and they have sometimes quite different ways of setting up weights. So you need to specify which type you are talking about, most likely some perceptron-like multi-layer network with backpropagation ?

Can you elaborate on how this is possible?

Sorry. I'm not challenging you. I barely know enough about NN's so I am curious myself.

A neural network for stock prices sounds logical but as you're aware stocks change very dramatically to inputs you may not have guessed and people have already done this and are paid to do this work. Still, I'm sure your results will be interesting.


6) Here's one more question from me: Do neural networks only work for linear correlations?

And to icystorage:
How many days ahead are you trying to predict? Using how much training data?
If you are only going to look at the past 2 days of data as input it may be easier to use a moving average.


Neural networks are specifically good at non-linear problems. It's basically consecutive matrix multiplication in order to reveal non-linear relationships between inputs and outputs.


I may have used the wrong words.

What if you wanted to predict something that you knew had a roughly exponential growth?
Like say you were given a set of data that matched closed to the input of x^2 + 2y^2 + 5 = z
but you were not given the equation and you wanted to use Neural networks to find it. Could you?

Are you asking about neural network approximating the function or are you asking about neural network recognizing the function ?

As for approximation there is actually reasonable number of theoretical results. Basically you can say that perceptron-like networks with at least one hidden layer are "universal approximators" as long as activation function is "nice". If I recall correctly that basically means anything but polynomial activation function. As for classes of functions that can be "approximated" - continuous functions can and even functions that are not continuous in some points if they satisfy some criteria.

As for "recognizing the function" as in providing you with symbolic representation, that depends what exactly you want. You can train it to recognize general type of function, or you can train it to provide you with parameters of the specific class of functions, but then it only works if on the input there will be instances of that class of functions. But as someone pointed out below there are most likely better tools for doing that.

obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
April 23 2013 13:50 GMT
#5755
On April 23 2013 22:14 mcc wrote:
Show nested quote +
On April 23 2013 05:12 obesechicken13 wrote:
On April 23 2013 02:30 RoyGBiv_13 wrote:
On April 23 2013 02:21 obesechicken13 wrote:
On April 23 2013 00:18 mcc wrote:
On April 22 2013 23:39 icystorage wrote:
Um okay

1) you can use neural networks to predict an output right?
2) how do you make it predict? do you have to train it?
3) by training it, it adjusts its weight right?
4) if i give NN a pattern of 1,1,1,1,1 will it predict the next number will be 1?
5) heres my general understanding in predicting neural networks
- train the network by feeding it data (it adjusts its weight and compares its output to your EXPECTED, not predicted, output)
- with the current configuration of the weights you now use it to get the predicted output

sorry if its confusing but im also very confused atm

1) yes
2) You can either train it or set the weights "correctly" at the start by using some other process (but you can also call it training)
3) yes
4) Not necessarily. It depends on what patterns you trained it to recognize and also how well you trained it


Note that there is plenty of NN types and they have sometimes quite different ways of setting up weights. So you need to specify which type you are talking about, most likely some perceptron-like multi-layer network with backpropagation ?

Can you elaborate on how this is possible?

Sorry. I'm not challenging you. I barely know enough about NN's so I am curious myself.

A neural network for stock prices sounds logical but as you're aware stocks change very dramatically to inputs you may not have guessed and people have already done this and are paid to do this work. Still, I'm sure your results will be interesting.


6) Here's one more question from me: Do neural networks only work for linear correlations?

And to icystorage:
How many days ahead are you trying to predict? Using how much training data?
If you are only going to look at the past 2 days of data as input it may be easier to use a moving average.


Neural networks are specifically good at non-linear problems. It's basically consecutive matrix multiplication in order to reveal non-linear relationships between inputs and outputs.


I may have used the wrong words.

What if you wanted to predict something that you knew had a roughly exponential growth?
Like say you were given a set of data that matched closed to the input of x^2 + 2y^2 + 5 = z
but you were not given the equation and you wanted to use Neural networks to find it. Could you?

Are you asking about neural network approximating the function or are you asking about neural network recognizing the function ?

As for approximation there is actually reasonable number of theoretical results. Basically you can say that perceptron-like networks with at least one hidden layer are "universal approximators" as long as activation function is "nice". If I recall correctly that basically means anything but polynomial activation function. As for classes of functions that can be "approximated" - continuous functions can and even functions that are not continuous in some points if they satisfy some criteria.

As for "recognizing the function" as in providing you with symbolic representation, that depends what exactly you want. You can train it to recognize general type of function, or you can train it to provide you with parameters of the specific class of functions, but then it only works if on the input there will be instances of that class of functions. But as someone pointed out below there are most likely better tools for doing that.


I meant for approximating.
If I recall correctly that basically means anything but polynomial activation function.
. I see... I see. Now explain it to me like I am 5?
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
mcc
Profile Joined October 2010
Czech Republic4646 Posts
Last Edited: 2013-04-23 16:36:06
April 23 2013 16:32 GMT
#5756
On April 23 2013 22:50 obesechicken13 wrote:
Show nested quote +
On April 23 2013 22:14 mcc wrote:
On April 23 2013 05:12 obesechicken13 wrote:
On April 23 2013 02:30 RoyGBiv_13 wrote:
On April 23 2013 02:21 obesechicken13 wrote:
On April 23 2013 00:18 mcc wrote:
On April 22 2013 23:39 icystorage wrote:
Um okay

1) you can use neural networks to predict an output right?
2) how do you make it predict? do you have to train it?
3) by training it, it adjusts its weight right?
4) if i give NN a pattern of 1,1,1,1,1 will it predict the next number will be 1?
5) heres my general understanding in predicting neural networks
- train the network by feeding it data (it adjusts its weight and compares its output to your EXPECTED, not predicted, output)
- with the current configuration of the weights you now use it to get the predicted output

sorry if its confusing but im also very confused atm

1) yes
2) You can either train it or set the weights "correctly" at the start by using some other process (but you can also call it training)
3) yes
4) Not necessarily. It depends on what patterns you trained it to recognize and also how well you trained it


Note that there is plenty of NN types and they have sometimes quite different ways of setting up weights. So you need to specify which type you are talking about, most likely some perceptron-like multi-layer network with backpropagation ?

Can you elaborate on how this is possible?

Sorry. I'm not challenging you. I barely know enough about NN's so I am curious myself.

A neural network for stock prices sounds logical but as you're aware stocks change very dramatically to inputs you may not have guessed and people have already done this and are paid to do this work. Still, I'm sure your results will be interesting.


6) Here's one more question from me: Do neural networks only work for linear correlations?

And to icystorage:
How many days ahead are you trying to predict? Using how much training data?
If you are only going to look at the past 2 days of data as input it may be easier to use a moving average.


Neural networks are specifically good at non-linear problems. It's basically consecutive matrix multiplication in order to reveal non-linear relationships between inputs and outputs.


I may have used the wrong words.

What if you wanted to predict something that you knew had a roughly exponential growth?
Like say you were given a set of data that matched closed to the input of x^2 + 2y^2 + 5 = z
but you were not given the equation and you wanted to use Neural networks to find it. Could you?

Are you asking about neural network approximating the function or are you asking about neural network recognizing the function ?

As for approximation there is actually reasonable number of theoretical results. Basically you can say that perceptron-like networks with at least one hidden layer are "universal approximators" as long as activation function is "nice". If I recall correctly that basically means anything but polynomial activation function. As for classes of functions that can be "approximated" - continuous functions can and even functions that are not continuous in some points if they satisfy some criteria.

As for "recognizing the function" as in providing you with symbolic representation, that depends what exactly you want. You can train it to recognize general type of function, or you can train it to provide you with parameters of the specific class of functions, but then it only works if on the input there will be instances of that class of functions. But as someone pointed out below there are most likely better tools for doing that.


I meant for approximating.
Show nested quote +
If I recall correctly that basically means anything but polynomial activation function.
. I see... I see. Now explain it to me like I am 5?

I do not think that is possible, unless you are very gifted 5-year old

I will try. Neurons in the neural network have weighted input, output of the neuron is f(x) where x is that input and f is activation function. Most commonly it is sigmoid function, but that is not necessary. The result says that any activation function is good enough for the network to be universal approximator as long as f is non-polynomial.

In general it is described here : Universal approximation theorem.

The specific result I talked about is in link .

Hopefully the link works.

EDIT: for completeness, being non-polynomial is not the only requirement, it needs to be "nice" in other ways, but those are fairly common requirements, unlike being non-polynomial. The other requirements are "locally bounded piecewise continuous".
lannisport
Profile Joined February 2012
878 Posts
Last Edited: 2013-04-23 23:17:37
April 23 2013 18:58 GMT
#5757
I'm pretty new to responsive design so I was wondering if someone could recommend me a lightweight CSS framework that is i.e.a 960 grid system, 7+ compatible, cross browser compatible, has all the major media queries covered, that maybe comes with a very barebones JS function that covers all the crappy old browsers. I'm designing a very basic responsive site because a lot of the users are iphone people so I just need to hide certain page elements at certain widths etc. I've triedaphy messing with bootstrap but it's a little bloated for my use (I'm also using Genesis for wordpress so I'm making a child theme). Best one I like so far is Gumby. Anyone else have any other suggestions?

As a bonus, are there any preset typography/styles out there that look nice and is web friendly?

Eta: I think I found exactly what I was looking for in skeleton.

http://www.getskeleton.com/#
HadeCiao
Profile Joined January 2012
Guatemala81 Posts
Last Edited: 2013-05-23 02:23:38
April 24 2013 00:12 GMT
#5758
As for approximation there is actually reasonable number of theoretical results. Basically you can say that perceptron-like networks with at least one hidden layer are "universal approximators" as long as activation function is "nice". If I recall correctly that basically means anything but polynomial activation function. As for classes of functions that can be "approximated" - continuous functions can and even functions that are not continuous in some points if they satisfy some criteria.
3 pool
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
April 24 2013 02:39 GMT
#5759
On April 24 2013 03:58 lannisport wrote:
I'm pretty new to responsive design so I was wondering if someone could recommend me a lightweight CSS framework that is i.e.a 960 grid system, 7+ compatible, cross browser compatible, has all the major media queries covered, that maybe comes with a very barebones JS function that covers all the crappy old browsers. I'm designing a very basic responsive site because a lot of the users are iphone people so I just need to hide certain page elements at certain widths etc. I've triedaphy messing with bootstrap but it's a little bloated for my use (I'm also using Genesis for wordpress so I'm making a child theme). Best one I like so far is Gumby. Anyone else have any other suggestions?

As a bonus, are there any preset typography/styles out there that look nice and is web friendly?

Eta: I think I found exactly what I was looking for in skeleton.

http://www.getskeleton.com/#

http://960.gs/ is popular as well.
There is no one like you in the universe.
white_horse
Profile Joined July 2010
1019 Posts
April 24 2013 02:51 GMT
#5760
Is it possible to teach yourself HTML and be pretty good at it? I'm planning on studying intensively on my own this summer.

Also, should I learn HTML first or PHP, or should I study both at the same time?
Translator
Prev 1 286 287 288 289 290 1032 Next
Please log in or register to reply.
Live Events Refresh
CranKy Ducklings
10:00
Sea Duckling Open #140
CranKy Ducklings84
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 198
Railgan 42
Creator 14
StarCraft: Brood War
Sea 6694
Horang2 4040
GuemChi 1668
Jaedong 862
actioN 292
Mini 259
BeSt 247
Killer 230
Soma 220
EffOrt 210
[ Show more ]
Rush 169
Mind 92
Hyun 87
Bonyth 72
ToSsGirL 69
Backho 61
sas.Sziky 33
JYJ28
PianO 27
zelot 24
Aegong 14
soO 12
Terrorterran 10
Sacsri 9
sorry 9
HiyA 8
Dota 2
Gorgc6041
singsing2210
qojqva1772
Dendi596
XcaliburYe214
BananaSlamJamma90
Heroes of the Storm
Khaldor209
Other Games
B2W.Neo1194
Lowko261
Sick244
Fuzer 193
Hui .112
XaKoH 95
nookyyy 54
MindelVK19
Organizations
StarCraft 2
WardiTV622
Counter-Strike
PGL242
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 67
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2050
League of Legends
• Stunt703
• HappyZerGling113
Upcoming Events
IPSL
4h 7m
dxtr13 vs OldBoy
Napoleon vs Doodle
LAN Event
4h 7m
Lambo vs Clem
Scarlett vs TriGGeR
ByuN vs TBD
Zoun vs TBD
BSL 21
6h 7m
Gosudark vs Kyrie
Gypsy vs OyAji
UltrA vs Radley
Dandy vs Ptak
Replay Cast
9h 7m
Sparkling Tuna Cup
20h 7m
WardiTV Korean Royale
22h 7m
LAN Event
1d 1h
IPSL
1d 4h
JDConan vs WIZARD
WolFix vs Cross
BSL 21
1d 6h
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
1d 19h
[ Show More ]
Wardi Open
1d 22h
WardiTV Korean Royale
2 days
Replay Cast
3 days
Kung Fu Cup
3 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
4 days
The PondCast
4 days
RSL Revival
4 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
4 days
WardiTV Korean Royale
4 days
RSL Revival
5 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
5 days
CranKy Ducklings
6 days
RSL Revival
6 days
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.