4 ms·
I guess it's joke, but I had to try. GPT-4's interpretation of the prompt is "on point": class ScientistSkillClassifier: def __init__(self):
by jxy 4y ago
I guess it's joke, but I had to try. GPT-4's interpretation of the prompt is "on point":
class ScientistSkillClassifier:
def __init__(self):
self.skill_domains = {
"biology": ["genetics", "ecology", "microbiology", "evolution"],
"chemistry": ["analytical", "organic", "inorganic", "physical"],
"physics": ["quantum", "relativity", "thermodynamics", "mechanics"],
"computer_science": ["algorithms", "machine_learning", "artificial_intelligence", "programming"],
"earth_science": ["geology", "meteorology", "oceanography", "climatology"],
"mathematics": ["calculus", "statistics", "geometry", "algebra"]
}
def classify(self, skill):
for domain, skills in self.skill_domains.items():
if skill.lower() in skills:
return domain
return "unknown"