attribute error? [on hold]
$begingroup$
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-30-82569312233d> in <module>
1 model = LogisticRegression(),
----> 2 model.fit(x_train, y_train),
3 predictions = model.predict(x_test),
4 print(accuracy_score(y_test, predictions))
5
AttributeError: 'tuple' object has no attribute 'fit'
error-handling
New contributor
$endgroup$
put on hold as unclear what you're asking by Siong Thye Goh, Kiritee Gak, Ethan, Toros91, Dawny33♦ 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
$begingroup$
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-30-82569312233d> in <module>
1 model = LogisticRegression(),
----> 2 model.fit(x_train, y_train),
3 predictions = model.predict(x_test),
4 print(accuracy_score(y_test, predictions))
5
AttributeError: 'tuple' object has no attribute 'fit'
error-handling
New contributor
$endgroup$
put on hold as unclear what you're asking by Siong Thye Goh, Kiritee Gak, Ethan, Toros91, Dawny33♦ 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
$begingroup$
Can you share more information about your code and/or your data?
$endgroup$
– TQA
2 days ago
1
$begingroup$
Please consider editing your question. In its current form it is at risk of being closed.
$endgroup$
– Ethan
2 days ago
add a comment |
$begingroup$
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-30-82569312233d> in <module>
1 model = LogisticRegression(),
----> 2 model.fit(x_train, y_train),
3 predictions = model.predict(x_test),
4 print(accuracy_score(y_test, predictions))
5
AttributeError: 'tuple' object has no attribute 'fit'
error-handling
New contributor
$endgroup$
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-30-82569312233d> in <module>
1 model = LogisticRegression(),
----> 2 model.fit(x_train, y_train),
3 predictions = model.predict(x_test),
4 print(accuracy_score(y_test, predictions))
5
AttributeError: 'tuple' object has no attribute 'fit'
error-handling
error-handling
New contributor
New contributor
edited 2 days ago
TQA
1549
1549
New contributor
asked 2 days ago
Mani DhatrikaMani Dhatrika
1
1
New contributor
New contributor
put on hold as unclear what you're asking by Siong Thye Goh, Kiritee Gak, Ethan, Toros91, Dawny33♦ 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by Siong Thye Goh, Kiritee Gak, Ethan, Toros91, Dawny33♦ 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
$begingroup$
Can you share more information about your code and/or your data?
$endgroup$
– TQA
2 days ago
1
$begingroup$
Please consider editing your question. In its current form it is at risk of being closed.
$endgroup$
– Ethan
2 days ago
add a comment |
$begingroup$
Can you share more information about your code and/or your data?
$endgroup$
– TQA
2 days ago
1
$begingroup$
Please consider editing your question. In its current form it is at risk of being closed.
$endgroup$
– Ethan
2 days ago
$begingroup$
Can you share more information about your code and/or your data?
$endgroup$
– TQA
2 days ago
$begingroup$
Can you share more information about your code and/or your data?
$endgroup$
– TQA
2 days ago
1
1
$begingroup$
Please consider editing your question. In its current form it is at risk of being closed.
$endgroup$
– Ethan
2 days ago
$begingroup$
Please consider editing your question. In its current form it is at risk of being closed.
$endgroup$
– Ethan
2 days ago
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Can you share more information about your code and/or your data?
$endgroup$
– TQA
2 days ago
1
$begingroup$
Please consider editing your question. In its current form it is at risk of being closed.
$endgroup$
– Ethan
2 days ago