Skip to content

Commit 9a35e22

Browse files
bug fixes
1 parent 93f6119 commit 9a35e22

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ Each functionality in learningOrchestra is contained in its own class. Check the
2525

2626
* [Here](examples/titanic.py) has an example using the [Titanic Dataset](https://www.kaggle.com/c/titanic/overview):
2727
* [Here](examples/sentiment_analysis.py) has an example using the [Sentiment Analysis On IMDb reviews](https://www.kaggle.com/avnika22/imdb-perform-sentiment-analysis-with-scikit-learn):
28-
* [Here](examples/mnist.py) has an example using the [MNIST Dataset](http://yann.lecun.com/exdb/mnist/):
28+
* [Here](examples/mnist_async.py) has an example using the [MNIST Dataset](http://yann.lecun.com/exdb/mnist/):
2929

3030

examples/mnist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ def treat_dataset(dataset: dict) -> tuple:
247247

248248

249249
show_mnist_evaluate = '''
250-
print(mnist_evaluated)
251-
response = None
250+
print(mnist_evaluated)
251+
response = None
252252
'''
253253
function_python.run_function_async(
254254
name="mnist_model_evaluated_print",

examples/sentiment_analysis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from learning_orchestra_client.train.scikitlearn import TrainScikitLearn
55
from learning_orchestra_client.predict.scikitlearn import PredictScikitLearn
66

7-
CLUSTER_IP = "http://34.68.100.96"
7+
CLUSTER_IP = "http://34.123.167.241"
88

99
dataset_csv = DatasetCsv(CLUSTER_IP)
1010

@@ -107,12 +107,12 @@ def tokenizer_porter(text):
107107
module_path="sklearn.linear_model",
108108
class_name="LogisticRegressionCV",
109109
class_parameters={
110-
"cv": 6,
110+
"cv": 5,
111111
"scoring": "accuracy",
112112
"random_state": 0,
113113
"n_jobs": -1,
114114
"verbose": 3,
115-
"max_iter": 500
115+
"max_iter": 100
116116
}
117117

118118
)

0 commit comments

Comments
 (0)