Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 07 14:36
    indialindsay opened #305
  • Sep 25 19:33
    Venoli edited #304
  • Sep 25 19:28
    Venoli edited #304
  • Sep 25 19:28
    Venoli edited #304
  • Sep 25 19:28
    Venoli edited #304
  • Sep 25 19:12
    Venoli edited #304
  • Sep 25 19:12
    Venoli edited #304
  • Sep 25 19:12
    Venoli edited #304
  • Sep 25 19:12
    Venoli edited #304
  • Sep 25 19:12
    Venoli edited #304
  • Sep 25 19:12
    Venoli opened #304
  • Sep 05 14:04
    CHIMAWAN001 commented #303
  • Sep 05 14:04
    CHIMAWAN001 closed #303
  • Aug 31 03:36
    CHIMAWAN001 commented #303
  • Aug 31 03:14
    CHIMAWAN001 edited #303
  • Aug 31 03:14
    CHIMAWAN001 edited #303
  • Aug 31 03:13
    CHIMAWAN001 opened #303
  • Aug 26 07:27
    rabitwhte opened #302
  • Jun 09 00:12
    yuritpinheiro closed #301
  • Jun 09 00:12
    yuritpinheiro commented #301
Saulo Martiello Mastelini
@smastelini
Welcome to river! If you have any questions, you can use Github's discussions to make questions and get feedbacks
Saulo Martiello Mastelini
@smastelini
We understand that some ongoing projects rely on skmultiflow for their functioning. For that reason, we will keep skmultiflow in its current state (stable release) and might apply eventual bug fixes
Nasrin Eshraghi Ivari
@nasrineshraghi
Hi All, Can anyone help me please? I have implemented data stream clustering. to simulate the stream, I used scikitmultiflow. But I want a sliding time window model to capture my last data. I do not know how can I implement or use sliding ?Does scikitmultiflow support windowing? I could not find anything related!
Michael Forde
@fordetek
Hey Everyone, I have been wanting to do some multivariate forecasting using the HoeffdingTreeRegressor for streamed data, Scikitmultiflow seems to suit what I want to do very well, but I noticed there isn't built-in forecasting support, I'm curious if there is any workaround I could try to do to achieve multiple step forecasting with this library?
Wannabe Maker
@AndrejLegat_twitter
Hi all, Is there any way to install scikit multiflow on new M1 Macs ? I Use Pycharm as IDE and when i tried to install scikit multiflow everytime i got a Error because it try to install multiflow for X64 architecture. Is here someone with similar problem?
Marilia-Nayara
@Marilia-Nayara
Hi @jacobmontiel , how to use concept drift detectors in regression problems (example: ADWIN, DDM,KSWIN)? obs: I don't want to use the error
samie-hash
@samie-hash
from skmultiflow.data import AnomalySineGenerator
from skmultiflow.anomaly_detection import HalfSpaceTrees
import numpy as np
import pandas as pd

stream = AnomalySineGenerator(random_state=42, n_samples=10000, n_anomalies=250)
hs_tree = HalfSpaceTrees(n_estimators=10, depth=8)
true_positive = 0
anomalies = 0
predictions = []
y_test = []
max_samples = 10000
n_samples = 0

stream.restart()
while n_samples < max_samples and stream.has_more_samples():
    X, y = stream.next_sample()
    y_pred = hs_tree.predict(X)
    if y[0] == 1.0:
        true_positive += 1
        if y_pred[0] == 1.0:
            anomalies += 1

    predictions.append(y_pred[0])
    y_test.append(y[0])  
    hs_tree.partial_fit(X, y)
    n_samples += 1

print('The data has {} anomalies'.format(true_positive))
print('Half Space Trees predicted {} anomalies'.format(anomalies))
This code on running it produces some interesting output. It predicts 0's for some time and predicts 1's later on.
Below is the classification report output which is quite poor.
from sklearn.metrics import classification_report
print(classification_report(y_test, predictions))
Hassan Mehmood
@hassanmehmud
@Marilia-Nayara please open up your problem little bit.
Venoli
@Venoli
Hi,
@jacobmontiel @all Anyone, please tell me how to use EvaluatePrequentialDelayed with extremely fast decision tree. I want to use the incremental learn part from extremely fast decision tree, while doing delayed evaluation. Please help me!!!!!
Saulo Martiello Mastelini
@smastelini
Hi everyone, just as a reminder, there is not active development in skmultiflow anymore. Skmultiflow and Creme have merged to become River. Now, users can also install River via pip
We encourage the skmultiflow users to make the leap to River. Feel free to open a discussion with your question, or asking for any assistance
Jacob Montiel and I are both maintainers of River too
Saulo Martiello Mastelini
@smastelini
I'll talk with Jacob about the possibility of creating a quick guide, maybe something like: "from skmultiflow to river"
cathrienli
@cathrienli
How do I save the results after the test as a file. Instead of saving the assessment as a file
@smastelini @jacobmontiel@all
cathrienli
@cathrienli
I am a multi-label classification. I have a total of 14 labels. Where do I set it?
medha-chippa
@medha-chippa
Hello @jacobmontiel @smastelini , i'm new to scikitmultiflow. I would like to train my classification model on one data stream (train data), and make predictions on another datastream(test stream). Could you please help me with a short piece of code that demonstrates this. Thank you.
qustea
@qustea
why my line graph doesnt show any value for the evaluation
image.png
leireib
@leireibargutxi:matrix.org
[m]
Hi, is there any way of getting a concept drift's detectors accuracy, or you have to use it with a clasification method? Thankyu
neha634
@neha634

Hi! We have a requirement to train the model using historical data as well as real time data. I am trying to use AdaptiveRandomForestRegressor model but getting error. Firstly, I am training model using data from csv and then will be training model based on real data. I am using the code below where
X and y are my features and labels
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=0)

sc = StandardScaler()
X_train = sc.fit_transform(X_train)
X_test = sc.transform(X_test)

regressor = AdaptiveRandomForestRegressor()
regressor.fit(X_train, y_train)

I am getting below error. Can someone please help. Traceback (most recent call last):
File "C:/Users/Neha.Goyal/PycharmProjects/pythonProject/PredictionDataML_Scikit_AdaptiveRandomForest.py", line 43, in <module>
regressor.partial_fit(X_train, y_train)
File "C:\Users\Neha.Goyal\PycharmProjects\pythonProject\venv\lib\site-packages\skmultiflow\meta\adaptive_random_forest_regressor.py", line 296, in partial_fit
X[i].reshape(1, -1), [y[i]], sample_weight=[k],
File "C:\Users\Neha.Goyal\PycharmProjects\pythonProject\venv\lib\site-packages\pandas\core\series.py", line 824, in getitem
return self._get_value(key)
File "C:\Users\Neha.Goyal\PycharmProjects\pythonProject\venv\lib\site-packages\pandas\core\series.py", line 932, in _get_value
loc = self.index.get_loc(label)
File "C:\Users\Neha.Goyal\PycharmProjects\pythonProject\venv\lib\site-packages\pandas\core\indexes\base.py", line 3082, in get_loc
raise KeyError(key) from err
KeyError: 0

görkem
@gorkeem
Hello everyone. I am trying to create a dataset using SEAGenerator with 100 features but as default, it creates with 3 features. How can I create with 100 features??. What I am trying to get is like 0.6987, 0.2568, 0.570, 0.949, 0.1970, … , 0.3285, 0.4474, 0.3355, 0.585, 0.5411, 0 where the last number is the class and others are features.
maxcshui
@maxcshui
Hi all, I want to develop an online LSTM anomaly detector. Is there any way to do it on scikit-multiflow? Thanks for any help
jonvanbamm
@jonvanbamm
Hi, happy to be here.
I need some guidance. I am writing a project on data drift. I have trained an instance segmentation model on the Cityscapes Dataset, to detect pedestrians. The model I trained was on daylight images, and I have exported the same. But now I want to build the drift monitoring solution to pick up data drift when I test the model on nighttime images of pedestrians. I have tried using alibi-detect, but struggled to understand. Is there any way I can use scikit multiflow for my use-case.
I will be extremely grateful for any help. Thank you.
Mariam Benllarch
@benllarch
Hi everyone, is there any solution for treating non-numerical data?
HayderFatlawi
@HayderFatlawi
Dear Mr. @jacobmontiel, I tried to get the structure of the tree from HoeffdingTreeRegressor using get_rules_description(). The result was something like this:
Att (17) <= 24.000 and Att (80) <= 4.000 and Att (34) <= 0.000 | class: 2
The problem is that (class: 2) refers to the class index and not to the class value that will be given to the new instance.
How can I get the tree structure including the class value for each rule in that tree?
Best regards
DEV-3D
@DEV-3D
Hello, Can anyone tell me how I can save the dynamic plot as animated gif or mp4 to share with a friend?