Dataset Viewer
Auto-converted to Parquet Duplicate
input
stringlengths
221
5.57k
output
stringlengths
1.2k
5.57k
instruction
stringclasses
2 values
Write python functions to make a machine learning Logistic classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Ea...
import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variabl...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning KNeighbors classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', '...
import pandas as pd from sklearn.neighbors import KNeighborsClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning DecisionTree classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense',...
import pandas as pd from sklearn.tree import DecisionTreeClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = ...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning SVM classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.svm import SVC from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'Revenue Growth' de...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning RandomForest classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense',...
import pandas as pd from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variabl...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning MLP classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.neural_network import MLPClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable =...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning SGD classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.linear_model import SGDClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = '...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning GPC classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.gaussian_process import GaussianProcessClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') tar...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning GNB classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.naive_bayes import GaussianNB from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'Reve...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning MNB classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.naive_bayes import MultinomialNB from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'R...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning CNB classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.naive_bayes import ComplementNB from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'Re...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning BNB classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.naive_bayes import BernoulliNB from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'Rev...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning AdaBoost classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Ea...
import pandas as pd from sklearn.ensemble import AdaBoostClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = ...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning GradientBoosting classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expen...
import pandas as pd from sklearn.ensemble import GradientBoostingClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_var...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning Logistic classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Ea...
import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variabl...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning KNeighbors classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', '...
import pandas as pd from sklearn.neighbors import KNeighborsClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning DecisionTree classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense',...
import pandas as pd from sklearn.tree import DecisionTreeClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = ...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning SVM classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.svm import SVC from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'Gross Profit Growth...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning RandomForest classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense',...
import pandas as pd from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variabl...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning MLP classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.neural_network import MLPClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable =...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning SGD classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.linear_model import SGDClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = '...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning GPC classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.gaussian_process import GaussianProcessClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') tar...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning GNB classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.naive_bayes import GaussianNB from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'Gros...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning MNB classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.naive_bayes import MultinomialNB from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'G...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning CNB classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.naive_bayes import ComplementNB from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'Gr...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning BNB classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Earning...
import pandas as pd from sklearn.naive_bayes import BernoulliNB from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = 'Gro...
Write functional matchine learning classifcation code using the following instuctions and information
Write python functions to make a machine learning AdaBoost classification model based on a dataset named 2014_Financial_Data.csv having columns ['Unnamed: 0', 'Revenue', 'Revenue Growth', 'Cost of Revenue', 'Gross Profit', 'R&D Expenses', 'SG&A Expense', 'Operating Expenses', 'Operating Income', 'Interest Expense', 'Ea...
import pandas as pd from sklearn.ensemble import AdaBoostClassifier from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score df = pd.read_csv('./classification/classification_data/2014_Financial_Data.csv') target_variable = ...
Write functional matchine learning classifcation code using the following instuctions and information
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
3