Skip to content

Instantly share code, notes, and snippets.

View omchaithanyav's full-sized avatar
💪
hustling

Om Chaithanya V omchaithanyav

💪
hustling
View GitHub Profile
from flashML import autoML
aml = autoML()
aml.fit(X_train, X_test, y_train, y_test, "classification", "f1_score")
from flaml import AutoML
automl = AutoML()
automl_settings = {
"time_budget": 10,
"metric": 'accuracy',
"task": 'classification',
}
from flaml import AutoML
# Initialize
automl = AutoML()
# Specify the constraints
automl_settings = {
"time_budget": 10, # in seconds
"metric": 'accuracy',
"task": 'classification',
Sentiment_Analysis = hub.Module(name = "senta_bilstm")
test_text = ["Believing in yourself means having faith in your own capabilities"]
print(Sentiment_Analysis.sentiment_classify(texts = test_text))
Lexical_Analysis = hub.Module(name = "lac")
test_text = ["I am an immortal"]
print(Lexical_Analysis.lexical_analysis(texts = test_text))