Is this machine learning yet?
function neur.ConvalutedContextClassificationModel()
local contextmodel = {
--context weight matrix Y,Z are calculated and influence X position.
["Greetings"] = {
["weights"] = neu.matrix(10, 1, 1),
--10 table 10 numbers ez
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Awareness"] = neu.matrix(8, 1, 1),
["Empathy"] = neu.matrix(7, 1, 1),
-- ["Search"]=neu.matrix(5,1,.9),
["Classify"] = neu.matrix(6, 1, 1),
["Support"] = neu.matrix(2, 1, .8),
["Database"] = neu.matrix(3, 1, 1),
--["Bestiary"]=neu.matrix(6,1,1),
["Wisdom"] = neu.matrix(4, 1, 1)
--["Math"]=neu.matrix(0,1,1),
-- ["Philosophy"]=neu.matrix(1,1,1),
--["Search"]=neu.matrix(1,1,1),
--search accuracy
},
["cone"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Support"] = neu.matrix(2, 1, .8),
--["Empathy"]=neu.matrix(9,1,1),
--["Awareness"]=neu.matrix(8,1,1),
["Classify"] = neu.matrix(6, 1, 1)
},
["disconnect"] = {
-- "Therapist"
},
["parameters"] = {
filter=true,
complete=true,
randomize=true
},
["entropy"] = ContextBias["smolgan"]
--decrease weight of go on to other topics.
},
["Emotions"] = {
["weights"] = neu.matrix(9, 1, 1),
["chain"] = {
--["Emotions"]=neu.matrix(9,1,1),
["Greetings"] = neu.matrix(1, 1, 1),
--["Math"]=neu.matrix(0,1,1),
["Awareness"] = neu.matrix(8, 1, 1),
["Empathy"] = neu.matrix(10, 1, 1),
--["Search"]=neu.matrix(4,1,.9),
["Classify"] = neu.matrix(7, 1, 1),
["Support"] = neu.matrix(3, 1, .8),
["Database"] = neu.matrix(6, 1, 1),
["Bestiary"] = neu.matrix(5, 1, 1),
["Wisdom"] = neu.matrix(4, 1, 1),
["Philosophy"] = neu.matrix(2, 1, 1)
},
["cone"] = {
--["Empathy"]=neu.matrix(9,1,1),
["Wisdom"] = neu.matrix(8, 1, 1)
--["Wisdom"]=neu.matrix(8,1,1),
},
["disconnect"] = {
"ScienceWisdom"
},
["parameters"] = {
filter=true,
complete=true,
randomize=true
},
["entropy"] = ContextBias["smolgan"]
},
["Empathy"] = {
["weights"] = neu.matrix(7, 1, 1),
["chain"] = {
["Philosophy"] = neu.matrix(10, 1, 1),
--["Math"]=neu.matrix(0,1,1),
["Wisdom"] = neu.matrix(9, 1, 1),
["Bestiary"] = neu.matrix(8, 1, 1),
["Classify"] = neu.matrix(3, 1, 1),
["Emotions"] = neu.matrix(1, 1, 1),
["Database"] = neu.matrix(6, 1, 1),
--["Search"]=neu.matrix(7,1,.9),
["Awareness"] = neu.matrix(6, 1, 1),
["Greetings"] = neu.matrix(2, 1, 1),
["Support"] = neu.matrix(5, 1, .8)
},
--["Empathy"]=neu.matrix(,1,1),
["entropy"] = ContextBias["gan"],
["cone"] = {
["Wisdom"] = neu.matrix(9, 1, 1)
},
["disconnect"] = {
"ScienceWisdom","Emotions","Database"
},
["parameters"] = {
filter=false,
complete=true,
randomize=true
},
},
["Therapist"] = {
["weights"] = neu.matrix(8, 1, 1),
["chain"] = {
["Philosophy"] = neu.matrix(10, 1, 1),
--["Math"]=neu.matrix(0,1,1),
["Wisdom"] = neu.matrix(9, 1, 1),
["Bestiary"] = neu.matrix(8, 1, 1),
["Classify"] = neu.matrix(3, 1, 1),
["Emotions"] = neu.matrix(1, 1, 1),
["Database"] = neu.matrix(6, 1, 1),
--["Search"]=neu.matrix(7,1,.9),
["Awareness"] = neu.matrix(6, 1, 1),
["Greetings"] = neu.matrix(2, 1, 1),
["Support"] = neu.matrix(5, 1, .8)
},
--["Empathy"]=neu.matrix(,1,1),
["entropy"] = ContextBias["gan"],
["cone"] = {
["Wisdom"] = neu.matrix(9, 1, 1)
},
["disconnect"] = {
--"Greetings"
},
["parameters"] = {
filter=true,
complete=true,
randomize=false
},
},
--z is loss/entropy weight/score/
["Support"] = {
["weights"] = neu.matrix(4, 1, 1),
--subneuron only
["chain"] = {
["Emotions"] = neu.matrix(3, 1, 1),
--["Math"] = neu.matrix(2, 1, 1),
["Greetings"] = neu.matrix(1, 1, 1),
["Awareness"] = neu.matrix(6, 1, 1),
["Empathy"] = neu.matrix(4, 1, 1),
["Search"] = neu.matrix(2, 1, .9),
["Classify"] = neu.matrix(3, 1, 1),
--["Support"]=neu.matrix(,1,.8),
["Database"] = neu.matrix(8, 1, 1),
["Bestiary"] = neu.matrix(9, 1, 1),
["Wisdom"] = neu.matrix(6, 1, 1),
["Philosophy"] = neu.matrix(3, 1, 1)
},
["cone"] = {
["Motivation"] = neu.matrix(4, 1, .8),
["Wisdom"] = neu.matrix(3, 1, .8),
["Truths"] = neu.matrix(6, 1, .8)
},
["disconnect"] = {
"ScienceWisdom","Inspiration"
},
["parameters"] = {
filter=false,
complete=true,
randomize=false
},
["entropy"] = ContextBias["smolgan"]
},
["Wisdom"] = {
["weights"] = neu.matrix(3, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(4, 1, 1),
-- ["Math"] = neu.matrix(2, 1, 1),
["Greetings"] = neu.matrix(4, 1, 1),
["Awareness"] = neu.matrix(5, 1, 1),
["Empathy"] = neu.matrix(7, 1, 1),
["Search"] = neu.matrix(3, 1, .9),
["Classify"] = neu.matrix(1, 1, 1),
["Support"] = neu.matrix(5, 1, .8),
["Database"] = neu.matrix(8, 1, 1),
["Bestiary"] = neu.matrix(9, 1, 1),
--["Wisdom"]=neu.matrix(4,1,1),
["Philosophy"] = neu.matrix(10, 1, 1)
},
["cone"] = {
["Support"] = neu.matrix(5, 1, .8)
},
["entropy"] = ContextBias["smolgan"],
["disconnect"] = {
"Inspiration","Truths","Spirituality","Motivation","ScienceWisdom"
},
["parameters"] = {
filter=true,
complete=true,
randomize=false
},
}, --subtract y from x
["Philosophy"] = {
["weights"] = neu.matrix(2, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Greetings"] = neu.matrix(4, 1, 1),
["Awareness"] = neu.matrix(5, 1, 1),
["Empathy"] = neu.matrix(7, 1, 1),
["Classify"] = neu.matrix(1, 1, 1),
["Support"] = neu.matrix(6, 1, .8),
["Database"] = neu.matrix(8, 1, 1),
["Bestiary"] = neu.matrix(9, 1, 1),
["Wisdom"] = neu.matrix(10, 1, 1)
},
["cone"] = {
["Motivation"] = neu.matrix(4, 1, .8),
["Wisdom"] = neu.matrix(3, 1, .8),
["Truths"] = neu.matrix(6, 1, .8)
},
["disconnect"] = {
"Database"
},
["entropy"] = ContextBias["gan"],
["parameters"] = {
filter=true,
complete=true,
randomize=false
},
},
["Bestiary"] = {
["weights"] = neu.matrix(3, 1, 1),
["cone"] = {},
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
--["Math"] = neu.matrix(2, 1, 1),
["Greetings"] = neu.matrix(4, 1, 1),
["Awareness"] = neu.matrix(9, 1, 1),
["Empathy"] = neu.matrix(7, 1, 1),
--["Search"]=neu.matrix(6,1,.9),
["Classify"] = neu.matrix(5, 1, 1),
["Support"] = neu.matrix(1, 1, .8),
["Database"] = neu.matrix(10, 1, 1),
-- ["Bestiary"]=neu.matrix(3,1,1),
["Wisdom"] = neu.matrix(2, 1, 1),
["Philosophy"] = neu.matrix(1, 1, 1)
},
["disconnect"] = {
"Search","Math","Sciencewisdom",
"Inspiration","Truths","Spirituality","Motivation","Philosophy",
},
["parameters"] = {
filter=true,
complete=false,
randomize=false
},
["entropy"] = ContextBias["gan"]
},
["Search"] = {
["weights"] = neu.matrix(2, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
-- ["Math"] = neu.matrix(0, 1, 1),
["Greetings"] = neu.matrix(1, 1, 1),
["Awareness"] = neu.matrix(4, 1, 1),
["Empathy"] = neu.matrix(2, 1, 1),
--["Search"]=neu.matrix(4,1,.9),
["Classify"] = neu.matrix(7, 1, 1),
["Support"] = neu.matrix(5, 1, .8),
["Database"] = neu.matrix(7, 1, 1),
["Bestiary"] = neu.matrix(5, 1, 1),
["Wisdom"] = neu.matrix(7, 1, 1),
["Philosophy"] = neu.matrix(6, 1, 1)
},
["cone"] = {},
["entropy"] = ContextBias["gan"],
["disconnect"] = {
"Inspiration","Truths","Spirituality","Motivation","ScienceWisdom","Database","Wisdom","Support"
,"Philosophy","Bestiary"
},
},
["Database"] = {
["weights"] = neu.matrix(5, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Math"] = neu.matrix(0, 1, 1),
["Greetings"] = neu.matrix(1, 1, 1),
["Awareness"] = neu.matrix(4, 1, 1),
["Empathy"] = neu.matrix(2, 1, 1),
["Search"] = neu.matrix(4, 1, .9),
["Classify"] = neu.matrix(7, 1, 1),
["Support"] = neu.matrix(5, 1, .8),
["Database"] = neu.matrix(7, 1, 1),
["Bestiary"] = neu.matrix(5, 1, 1),
["Wisdom"] = neu.matrix(7, 1, 1),
["Philosophy"] = neu.matrix(6, 1, 1)
},
["cone"] = {
["Support"] = neu.matrix(5, 1, .8)
},
["entropy"] = ContextBias["gan"],
["disconnect"] = {
"ScienceWisdom"
,"Philosophy",
"Inspiration","Truths","Spirituality","Motivation",
},
["parameters"] = {
filter=true,
complete=false,
randomize=false
},
},
["Awareness"] = {
["weights"] = neu.matrix(5, 1, 1),
["cone"] = {
--["Greetings"]=neu.matrix(1,1,1),
--["Support"]=neu.matrix(5,1,.8),
--["Database"]=neu.matrix(7,1,1),
["Bestiary"] = neu.matrix(5, 1, 1)
},
--["Wisdom"]=neu.matrix(7,1,1),},
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Greetings"] = neu.matrix(7, 1, 1),
["Awareness"] = neu.matrix(4, 1, 1),
["Empathy"] = neu.matrix(2, 1, 1),
["Classify"] = neu.matrix(7, 1, 1),
["Support"] = neu.matrix(5, 1, .8),
["Database"] = neu.matrix(7, 1, 1),
["Bestiary"] = neu.matrix(5.5, 1, 1),
["Wisdom"] = neu.matrix(6.5, 1, 1),
["Philosophy"] = neu.matrix(6, 1, 1)
},
["parameters"] = {
filter=true,
complete=true,
randomize=false
},
["entropy"] = ContextBias["gan"]
},
["Math"] = {
["weights"] = neu.matrix(4, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Greetings"] = neu.matrix(5, 1, 1), --["Math"]=neu.matrix(0,1,1),
["Awareness"] = neu.matrix(4, 1, 1),
["Empathy"] = neu.matrix(5, 1, 1),
["Search"] = neu.matrix(3, 1, .9),
["Classify"] = neu.matrix(6, 1, 1),
["Support"] = neu.matrix(7, 1, .8),
["Database"] = neu.matrix(8, 1, 1),
["Bestiary"] = neu.matrix(2, 1, 1),
["Wisdom"] = neu.matrix(4, 1, 1),
["Philosophy"] = neu.matrix(3, 1, 1)
}, --["Math"]=neu.matrix(0,1,1),
["cone"] = {},
["entropy"] = ContextBias["supgan"],
["disconnect"] = {
"Inspiration","Truths","Spirituality","Motivation","ScienceWisdom","Database","Wisdom"
,"Philosophy","Bestiary","Emotions","Greetings","Empathy"
},
},
["Inspiration"] = {
["weights"] = neu.matrix(9, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Math"] = neu.matrix(0, 1, 1),
["Greetings"] = neu.matrix(1, 1, 1),
["Awareness"] = neu.matrix(4, 1, 1),
["Empathy"] = neu.matrix(2, 1, 1),
["Search"] = neu.matrix(4, 1, .9),
["Classify"] = neu.matrix(7, 1, 1),
["Support"] = neu.matrix(5, 1, .8),
["Database"] = neu.matrix(7, 1, 1),
["Bestiary"] = neu.matrix(5, 1, 1),
["Wisdom"] = neu.matrix(7, 1, 1),
["Philosophy"] = neu.matrix(6, 1, 1)
},
["cone"] = {
--["Emotions"]=neu.matrix(9,1,1),
["Greetings"] = neu.matrix(1, 1, 1),
--["Awareness"]=neu.matrix(8,1,1),
--["Empathy"]=neu.matrix(10,1,1),
["Classify"] = neu.matrix(7, 1, 1),
["Wisdom"] = neu.matrix(4, 1, 1)
},
["entropy"] = ContextBias["smolgan"],
["disconnect"] = {
"ScienceWisdom","Database"
,"Bestiary"
},
["query"] = function(str,_,filter, repetitive,randomize,context,reverse,spaces,mode,synomarray,words2,tl)
-- First, we need to get the ReplicatedStorage service
if sup == nil then
sup = require(sup2)
end -- object with the given name
local Result, blacklist, score, weight =
bind:Invoke(
str,
sup.Inspiration(),
filter,
repetitive,
randomize,
context,
reverse,
spaces,
mode,
synomarray,
words2
)
--print(Result)
return Result, blacklist, score, weight
end
},
["ScienceWisdom"] = {
["weights"] = neu.matrix(5, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Math"] = neu.matrix(0, 1, 1),
["Greetings"] = neu.matrix(1, 1, 1),
["Awareness"] = neu.matrix(4, 1, 1),
["Empathy"] = neu.matrix(2, 1, 1),
["Search"] = neu.matrix(4, 1, .9),
["Classify"] = neu.matrix(7, 1, 1),
["Support"] = neu.matrix(5, 1, .8),
["Database"] = neu.matrix(7, 1, 1),
["Bestiary"] = neu.matrix(5, 1, 1),
["Wisdom"] = neu.matrix(7, 1, 1),
["Philosophy"] = neu.matrix(6, 1, 1)
},
["cone"] = {
["Support"] = neu.matrix(5, 1, .8)
},
["disconnect"] = {
"Spirituality","Wisdom"
},
["entropy"] = ContextBias["gan"],
["query"] = function(str,_,filter, repetitive,randomize,context,reverse,spaces,mode,synomarray,words2,tl)
-- First, we need to get the ReplicatedStorage service
if sup == nil then
sup = require(sup2)
end -- object with the given name
local Result, blacklist, score, weight =
bind:Invoke(
str,
sup.ScienceWisdom(),
filter,
repetitive,
randomize,
context,
reverse,
spaces,
mode,
synomarray,
words2
)
print(Result)
return Result, blacklist, score, weight
end
},
["Motivation"] = {
["weights"] = neu.matrix(3, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Math"] = neu.matrix(0, 1, 1),
["Greetings"] = neu.matrix(1, 1, 1),
["Awareness"] = neu.matrix(4, 1, 1),
["Empathy"] = neu.matrix(2, 1, 1),
["Search"] = neu.matrix(4, 1, .9),
["Classify"] = neu.matrix(7, 1, 1),
["Support"] = neu.matrix(5, 1, .8),
["Database"] = neu.matrix(7, 1, 1),
["Bestiary"] = neu.matrix(5, 1, 1),
["Wisdom"] = neu.matrix(7, 1, 1),
["Philosophy"] = neu.matrix(6, 1, 1)
},
["cone"] = {
["Motivation"] = neu.matrix(4, 1, .8),
["Wisdom"] = neu.matrix(3, 1, .8),
["Truths"] = neu.matrix(6, 1, .8),
["Support"] = neu.matrix(5, 1, .8)
},
["disconnect"] = {
"ScienceWisdom","Search","Database"
},
["parameters"] = {
filter=true,
complete=true,
randomize=false
},
["entropy"] = ContextBias["smolgan"],
["query"] = function(
str,
_,
filter,
repetitive,
randomize,
context,
reverse,
spaces,
mode,
synomarray,
words2,
tl)
-- First, we need to get the ReplicatedStorage service
if sup == nil then
sup = require(sup2)
end -- object with the given name
local Result, blacklist, score, weight =
bind:Invoke(
str,
sup.Motivation(),
filter,
repetitive,
randomize,
context,
reverse,
spaces,
mode,
synomarray,
words2
)
print(Result)
return Result, blacklist, score, weight
end
},
--subtract y from
["Truths"] = {
["weights"] = neu.matrix(3, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Math"] = neu.matrix(0, 1, 1),
["Greetings"] = neu.matrix(1, 1, 1),
["Awareness"] = neu.matrix(4, 1, 1),
["Empathy"] = neu.matrix(2, 1, 1),
["Search"] = neu.matrix(4, 1, .9),
["Classify"] = neu.matrix(7, 1, 1),
["Support"] = neu.matrix(5, 1, .8),
["Database"] = neu.matrix(7, 1, 1),
["Bestiary"] = neu.matrix(5, 1, 1),
["Wisdom"] = neu.matrix(7, 1, 1),
["Philosophy"] = neu.matrix(6, 1, 1)
},
["cone"] = {
["Motivation"] = neu.matrix(4, 1, .8),
["Wisdom"] = neu.matrix(3, 1, .8),
["Truths"] = neu.matrix(6, 1, .8),
["Support"] = neu.matrix(5, 1, .8)
},
["disconnect"] = {
"Bestiary","Database"
},
["parameters"] = {
filter=true,
complete=true,
randomize=false
},
["entropy"] = ContextBias["gan"],
["query"] = function(
str,
_,
filter,
repetitive,
randomize,
context,
reverse,
spaces,
mode,
synomarray,
words2,
tl)
-- First, we need to get the ReplicatedStorage service
if sup == nil then
sup = require(sup2)
end -- object with the given name
local Result, blacklist, score, weight =
bind:Invoke(
str,
sup.Truths(),
filter,
repetitive,
randomize,
context,
reverse,
spaces,
mode,
synomarray,
words2
)
print(Result)
return Result, blacklist, score, weight
end
},
["Spirituality"] = {
["weights"] = neu.matrix(3, 1, 1),
["chain"] = {
["Emotions"] = neu.matrix(9, 1, 1),
["Math"] = neu.matrix(0, 1, 1),
["Greetings"] = neu.matrix(1, 1, 1),
["Awareness"] = neu.matrix(4, 1, 1),
["Empathy"] = neu.matrix(2, 1, 1),
["Search"] = neu.matrix(4, 1, .9),
["Classify"] = neu.matrix(7, 1, 1),
["Support"] = neu.matrix(5, 1, .8),
["Database"] = neu.matrix(7, 1, 1),
["Bestiary"] = neu.matrix(5, 1, 1),
["Wisdom"] = neu.matrix(7, 1, 1),
["Philosophy"] = neu.matrix(6, 1, 1)
},
["cone"] = {
["Motivation"] = neu.matrix(4, 1, .8),
["Wisdom"] = neu.matrix(3, 1, .8),
["Truths"] = neu.matrix(6, 1, .8)
},
["disconnect"] = {
"ScienceWisdom","Database"
},
["parameters"] = {
filter=true,
complete=true,
randomize=false
},
["entropy"] = ContextBias["smolgan"],
["query"] = function(
str,
_,
filter,
repetitive,
randomize,
context,
reverse,
spaces,
mode,
synomarray,
words2,
tl)
-- First, we need to get the ReplicatedStorage service
if sup == nil then
sup = require(sup2)
end -- object with the given name
local Result, blacklist, score, weight =
bind:Invoke(
str,
sup.Spirituality(),
filter,
repetitive,
randomize,
context,
reverse,
spaces,
mode,
synomarray,
words2
)
print(Result)
return Result, blacklist, score, weight
end
}
}
return contextmodel
end