Register ICMag Forum Menu Features
You are viewing our:
in:
Forums > Marijuana Growing > Marijuana Strains and Breeding > Breeder's Laboratory > Machine learning applied to cannabis breeding

Thread Title Search
Click to buy Cannabis Seeds at Fast Buds
Post Reply
Machine learning applied to cannabis breeding Thread Tools Search this Thread
Old 11-08-2017, 04:42 PM #1
oldbootz
Senior Member

oldbootz's Avatar

Join Date: Aug 2009
Location: Africa!
Posts: 1,598
oldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to all
Machine learning applied to cannabis breeding

Hi folks

I have a background in programming and networking and I have been studying some of the latest advances in machine learning.

The idea is that if enough data is gathered, preferably in an automated fashion, and we can train up a convolutional neural network with it, we should be able to do some prediction about what to expect from the progeny of an inbreed cross. I think it would work maybe ok with inbreeding because all the genes are contained within the P1s and once you can input the F1s data it should be able to predict the F2.

The data inputs can be diverse and one would not have to program very much about how the neural network reasons about the data. We could input terpine analysis profiles, cannabiniod profiles, genetic analysis, plant dimensions, growth durations, all kinds of data.

As an output we would want a prediction of some of the same inputs that we put in. What kind of cannabinoids, terpines, morphological proportions etc.

So there are a few free machine learning networks released to be used by the public. For example we have google vision API https://cloud.google.com/vision/ and we have IBMs watson and there are quite a few run at home type binaries like Tensor Flow https://www.tensorflow.org/.

I don't think we are quite there yet in making this happen. First of all it would take a LOT of data to train any kind of accurate network, and it would take a lot of machine power which is less of a barrier if one leverages the power of a network already set up by a large company like google. But we are already seeing some amazing things coming from these networks and i think it wont be too long before we can compose various trained networks together to create a super network that would be able to do this.

With 50 qubit quantum computing on the horizon I see a bright future for data driven business.

I did hear recently that some people came up with a way to genetically analyse a seed and generate a terpine profile that the plant would have had if grown. This is really cool!

Thought I would share with you all my stoned thoughts because it excites me!
__________________
Grow journal
https://www.icmag.com/ic/showthread.php?t=261432
oldbootz is offline Quote


2 members found this post helpful.
Old 11-08-2017, 10:15 PM #2
weedtoker
Member

weedtoker's Avatar

Join Date: Dec 2013
Location: 38N
Posts: 183
weedtoker is a jewel in the roughweedtoker is a jewel in the roughweedtoker is a jewel in the roughweedtoker is a jewel in the roughweedtoker is a jewel in the roughweedtoker is a jewel in the roughweedtoker is a jewel in the roughweedtoker is a jewel in the rough
Several papers, and ag with other crops kinda made a glimpse of present/future breeding strategies, I as a layman, do believe in them saying both traditional breeding methods, and tech will be utilized in conjunction, as for me nothing substitutes nose/smoke test/organoleptics human analysis of the finished product, at least in certain breeding programs cannabis has shown that, "guesswork" or not (maybe self-delusional, future will tell)... Once UN treaty goes out of the window, or US changes schedule the fun games that you talk, and more will really begin to ramp up, specially in hemp as food/fiber source? Drug cannabis is a small piece of a pie that's just entering the oven now maaannn...or at least it seems in this stoned mind
__________________
Free your mind and your STASH will follow...
weedtoker is offline Quote


2 members found this post helpful.
Old 11-13-2017, 06:46 PM #3
log roller
Banned

Join Date: Nov 2017
Posts: 89
log roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nice
Convolutional neural networks are interesting, and not to shit on your idea, but I don't really think this will be helpful. There seems to be a certain contingent of folks out there (not saying you) who talk a big game about involving all this fancy technology in the breeding process, yet seem to have fuck-all to actually show for it. (Ask Weird his opinion on the subject.) Meanwhile others like me are doing things the old fashioned way and steadily progressing with better and better actual results each generation. Breeding isn't rocket science and a lot of things that theoretically sound like they might be helpful, aren't actually helpful in real world practice. It sort of reminds me how certain folks think they need all this fancy gear like soil Ph meters, brix meters, etc etc to give them an edge, whereas others just look at the plant and study it carefully to get the same results. I do look forward to more knowledge being gained about the genetics of cannabis and which specific sequences control which traits, but it's going to be a long time until such knowledge becomes of any real world practical use in cannabis breeding. My $.02
log roller is offline Quote


1 members found this post helpful.
Old 11-13-2017, 08:21 PM #4
oldbootz
Senior Member

oldbootz's Avatar

Join Date: Aug 2009
Location: Africa!
Posts: 1,598
oldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to all
Hi log roller

Yea traditional breeding is obviously great as I smoke good weed bred every day like this! I am not trash talking traditional breeding at all, I have huge respect for people doing this properly.

But that's not to say that machine learning will not have its place in the future (not now its too soon) especially in situations with very high plant numbers. Humans can only hold so much in their minds at a time. Could you remember each phenotype in a 10 000 plant selection trial? Humans are quite error prone. Computers are less error prone but require a human to identify the errors.

Todays tech:
1. Computer vision can more accurately tell you what is in a picture than the average human being.
2. Computers can beat human beings at complex games, chess, go, DOTA2
https://www.youtube.com/watch?v=92tn67YDXg0
3. Computers can process large amounts of information quicker than a human.
4. Computers can reach expert level at certain tasks in a matter of days to months that an average human would take 10 000+ hours to reach.

Tomorrows tech is all about telling a computer to learn something and utilizing its superior processing power and accuracy to do a job better than a human (for its specific task). If you trained enough complimentary networks like this you could compose them to create a super network that would be able to solve very diverse types of problems.

I would link some vids but they all 1+ hours and will bore you to death if you not a coder. Check out the Dota 2 world champion playing a machine learning AI.
__________________
Grow journal
https://www.icmag.com/ic/showthread.php?t=261432
oldbootz is offline Quote


1 members found this post helpful.
Old 11-14-2017, 02:36 AM #5
OG bub
~Cannabis-Resinous~

OG bub's Avatar

Join Date: Jun 2005
Location: in the woods by the sun
Posts: 1,949
OG bub is a glorious beacon of lightOG bub is a glorious beacon of lightOG bub is a glorious beacon of lightOG bub is a glorious beacon of lightOG bub is a glorious beacon of lightOG bub is a glorious beacon of lightOG bub is a glorious beacon of lightOG bub is a glorious beacon of lightOG bub is a glorious beacon of lightOG bub is a glorious beacon of lightOG bub is a glorious beacon of light
I wouldnt be interested.
Breeding and observation to obtain quality results is a skill, learned over time. its earned if done correctly.
it never ceases to amaze me how folks are always looking for a shortcut.

I understand your suggestion, and human error.. but quite honestly, if anyone needs to have a 10,000 plant count to select from for a breeding project, let alone 10k phenos lol, my friend, that person might need to ask him/herself if they even have a clue as to what they are looking for!

just my opinion!
Bub.
__________________
Resin Enhancer
Founder: HillTempleCollective

HTC will focus on Medical Cannabis seed production first, recreational Cannabis seed production afterwards. If the two happen to swim in the same pool, then, beautiful.

in theory, there is no difference between practice and theory...
In practice, there is..

Tao Te Ching
OG bub is offline Quote


1 members found this post helpful.
Old 11-14-2017, 03:53 AM #6
iTarzan
Senior Member

Join Date: Jul 2014
Posts: 1,404
iTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to behold
Cool thread subject oldboots.

Machine learning worries me because of the Terminator theory. I don't totally like the Voyager project either. It doesn't seem like a good idea to advertise our planet. It could be great but it could be a disaster.

Genetically analyzing a seed has merit imho. Predicting the F2s would not tell you what seed is what so you would still need to grow them all out. It would tell you if they would be worth growing though.

OGBub people want to be self reliant while having pro quality results. Hobbyists and enthusiasts want top of the line results. It has been that way for decades in many different areas.

Especially now. It is the age of apps.
iTarzan is offline Quote


Old 11-16-2017, 01:24 AM #7
log roller
Banned

Join Date: Nov 2017
Posts: 89
log roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nicelog roller is just really nice
Quote:
But that's not to say that machine learning will not have its place in the future (not now its too soon) especially in situations with very high plant numbers.
I think it will be 15-20 years probably before we get to the point where our human knowledge is good enough for machine learning to be of any use in this particular field of endeavour.

Quote:
Humans can only hold so much in their minds at a time. Could you remember each phenotype in a 10 000 plant selection trial?
Sure, easily. I just take notes as I smoke each pheno, giving it a A/B/C rating. And then I select the best for next generation. Better selection criteria isn't needed.

To enter your data into a computer you need to sequence DNA of each plant. How much work and effort does that take, vs. what sort of real world gain?

Quote:
Computers are less error prone
On the contrary. As a computer programmer I can tell you they are definitely more error prone. Not only are they subject to human error but to unpredictable and unforeseeable machine error as well. Your computer is full of bugs, back doors, security flaws, coding errors.

Quote:
1. Computer vision can more accurately tell you what is in a picture than the average human being.
* with extensive training, and still subject to unpredictable and unforeseeable error. Witness the joke that is Tesla motors and their "autopilot" tech which has lead to some hilarious fails (and Darwin Award wins), such as running head on at 70+ mph into obstacles etc.

Quote:
2. Computers can beat human beings at complex games, chess, go, DOTA2
* if specifically programmed to do so, and with extensive training using huge datasets, not because of 'intelligence'. Without human intelligence writing the program and extensively training it, a computer is nothing more than a brick.

Quote:
3. Computers can process large amounts of information quicker than a human.
* Yes, it can deliver error and mistakes with unimaginable speed. Garbage in = garbage out.

Quote:
4. Computers can reach expert level at certain tasks in a matter of days to months that an average human would take 10 000+ hours to reach.
Can a computer learn to be a plant breeder on its own, without any input from an expert plant breeder programmer? Nope.

Quote:
Tomorrows tech is all about telling a computer to learn something and utilizing its superior processing power and accuracy to do a job better than a human (for its specific task). If you trained enough complimentary networks like this you could compose them to create a super network that would be able to solve very diverse types of problems.
Your ideas seem to be based mainly on naive beliefs, due to your young age and lack of real world experience. I have been programming computers since 1991 so I do know a thing or two about the field.

Once again, not to shit on your idea, but I don't see this thread as leading anywhere productive. If you think the idea has merit then try it. Nobody here can tell you anything more about the subject than I can. Try it and you'll quickly find out just how not easy it really is.
log roller is offline Quote


Old 11-16-2017, 04:38 AM #8
iTarzan
Senior Member

Join Date: Jul 2014
Posts: 1,404
iTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to beholdiTarzan is a splendid one to behold
Quote:
Originally Posted by log roller View Post


Sure, easily. I just take notes as I smoke each pheno, giving it a A/B/C rating. And then I select the best for next generation. Better selection criteria isn't needed.
To use your own words. Your ideas seem to be based mainly on naive beliefs, due to your young age and lack of real world experience.

If you smoked one pheno a day it would take you 30 years to smoke them all and test them properly. ONE A DAY or your findings would be compromised. Then you would hard be pressed to go back through them all and really understand the slight differences in them as you described them without the actual memory of them.
















Quote:
Originally Posted by log roller View Post

Your ideas seem to be based mainly on naive beliefs, due to your young age and lack of real world experience. I have been programming computers since 1991 so I do know a thing or two about the field.
There is always someone better. Never lose your humility.
iTarzan is offline Quote


Old 11-16-2017, 06:37 AM #9
oldbootz
Senior Member

oldbootz's Avatar

Join Date: Aug 2009
Location: Africa!
Posts: 1,598
oldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to alloldbootz is a name known to all
Quote:
I think it will be 15-20 years probably before we get to the point where our human knowledge is good enough for machine learning to be of any use in this particular field of endeavour.
Cool so we both agree then that it's coming!
__________________
Grow journal
https://www.icmag.com/ic/showthread.php?t=261432
oldbootz is offline Quote


Old 11-16-2017, 07:01 AM #10
IntelliGeneS
Member

Join Date: Jun 2014
Posts: 90
IntelliGeneS will become famous soon enoughIntelliGeneS will become famous soon enough
There is a huge benefit to computational approaches to data collection activities which is being applied in the seed industry at large as of now even. Primarily this manifests as utilizing image analysis to generate data which is more accurate and rapid than a human collector can generate, including derivative measures which are simply not feasable without algorithmic processing, and large dataset modeling particularly of molecular-phenotype associated data.

I know from experience, however, that applying breeding decision strategy and technique to computational systems is far from satisfactorily implementable at a general level at this time. That is not to say that machine learning approaches could be (and are) used successfully in fine tuning of breeding programs, just that the current applications are single-trait and very limited in scope. There is a huge amount of uncertainty involved in breeding programs, especially complex ones comprised of layers on layers of breeding projects and market segment classifications, and we are nowhere near the ability to translate that into formats understandable to machine thought yet, we have enough trouble getting humans to have a good grasp on it with all the risk modeling, ideation of potential, and probability interaction overlays involved.
IntelliGeneS is offline Quote


2 members found this post helpful.

Post Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +2. The time now is 02:43 PM.


Click to visit Twilight Labs


This site is for educational and entertainment purposes only.
You must be of legal age to view ICmag and participate here.
All postings are the responsibility of their authors.
Powered by: vBulletin Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.